# Using snaps on SUSE

**URL:** <https://forums.suse.com/t/using-snaps-on-suse/32540>\
**Category:** SLED Applications\
**Created:** [June 10, 2018, 12:15am UTC](https://forums.suse.com/t/using-snaps-on-suse/32540 "2018-06-10T00:15:19Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![BMX](https://avatars.discourse-cdn.com/v4/letter/b/7cd45c/32.png) [@BMX](https://forums.suse.com/u/BMX)\
**Post date:** [June 10, 2018, 12:15am UTC](https://forums.suse.com/t/using-snaps-on-suse/32540/1 "2018-06-10T00:15:19Z")

</div>

I’m trying to install snaps via snapd end get such error message

[CODE]griwa@linux-xmmp:~\> sudo snap install vuze-vs  
error: cannot perform the following tasks:

- Setup snap “core” (4650) security profiles (cannot setup apparmor for snap “core”: cannot load apparmor profile “snap-update-ns.core”: cannot load apparmor profile: exit status 1  
apparmor\_parser output:  
mkstemp: No such file or directory  
)
- Setup snap “core” (4650) security profiles (cannot load apparmor profile “snap-update-ns.core”: cannot load apparmor profile: exit status 1  
apparmor\_parser output:  
mkstemp: No such file or directory  
)  
[/CODE]

zypper wp mkstemp says that nothing provides ‘mkstemp’

How can I fix that?

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [June 11, 2018, 4:11am UTC](https://forums.suse.com/t/using-snaps-on-suse/32540/2 "2018-06-11T04:11:14Z")

</div>

[QUOTE=BMX;52985]I’m trying to install snaps via snapd end get such error message

[CODE]griwa@linux-xmmp:~\> sudo snap install vuze-vs  
error: cannot perform the following tasks:

- Setup snap “core” (4650) security profiles (cannot setup apparmor for snap “core”: cannot load apparmor profile “snap-update-ns.core”: cannot load apparmor profile: exit status 1  
apparmor\_parser output:  
mkstemp: No such file or directory  
)
- Setup snap “core” (4650) security profiles (cannot load apparmor profile “snap-update-ns.core”: cannot load apparmor profile: exit status 1  
apparmor\_parser output:  
mkstemp: No such file or directory  
)  
[/CODE]

zypper wp mkstemp says that nothing provides ‘mkstemp’

How can I fix that?[/QUOTE]  
Hi and welcome to the Forum 🙂  
How did you install the non-standard (for SLED 12 SP3) application snapd?

---

<div class="post-metadata">

**Author:** ![smflood](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/smflood/32/10576_2.png) [@smflood](https://forums.suse.com/u/smflood)\
**Post date:** [June 12, 2018, 6:45pm UTC](https://forums.suse.com/t/using-snaps-on-suse/32540/3 "2018-06-12T18:45:42Z")

</div>

On 09/06/18 22:24, BMX wrote:  
[color=blue]

> I’m trying to install snaps via snapd end get such error message
> 
> ## Code:
> 
> ```
> griwa@linux-xmmp:~> sudo snap install vuze-vs
> 
> ```
> 
> error: cannot perform the following tasks:
> 
> - Setup snap “core” (4650) security profiles (cannot setup apparmor for snap “core”: cannot load apparmor profile “snap-update-ns.core”: cannot load apparmor profile: exit status 1  
> apparmor\_parser output:  
> mkstemp: No such file or directory  
> )
> - Setup snap “core” (4650) security profiles (cannot load apparmor profile “snap-update-ns.core”: cannot load apparmor profile: exit status 1  
> apparmor\_parser output:  
> mkstemp: No such file or directory  
> )
> 
> * * *
> 
> zypper wp mkstemp says that nothing provides ‘mkstemp’
> 
> How can I fix that?[/color]

The forum prefix indicates that you are using SLED12 SP3. Is this  
correct? Please can you post the output from “cat /etc/\*release”.

## HTH.

Simon  
SUSE Knowledge Partner

* * *

## If you find this post helpful and are logged into the web interface, please show your appreciation and click on the star below. Thanks.

---

<div class="post-metadata">

**Author:** ![BMX](https://avatars.discourse-cdn.com/v4/letter/b/7cd45c/32.png) [@BMX](https://forums.suse.com/u/BMX)\
**Post date:** [June 14, 2018, 6:38pm UTC](https://forums.suse.com/t/using-snaps-on-suse/32540/4 "2018-06-14T18:38:50Z")

</div>

[QUOTE=malcolmlewis;52991]Hi and welcome to the Forum 🙂  
How did you install the non-standard (for SLED 12 SP3) application snapd?[/QUOTE]

I use repository for openSUSE Leap 42.1

Maybe the problem with Apparmor profiles?

`griwa@linux-xmmp:~> sudo apparmor_status
apparmor module is loaded.
39 profiles are loaded.
39 profiles are in enforce mode.
   /sbin/klogd
   /sbin/syslog-ng
   /sbin/syslogd
   /usr/lib/apache2/mpm-prefork/apache2
   /usr/lib/apache2/mpm-prefork/apache2//DEFAULT_URI
   /usr/lib/apache2/mpm-prefork/apache2//HANDLING_UNTRUSTED_INPUT
   /usr/lib/apache2/mpm-prefork/apache2//phpsysinfo
   /usr/lib/colord
   /usr/lib/dovecot/anvil
   /usr/lib/dovecot/auth
   /usr/lib/dovecot/config
   /usr/lib/dovecot/deliver
   /usr/lib/dovecot/dict
   /usr/lib/dovecot/dovecot-auth
   /usr/lib/dovecot/dovecot-lda
   /usr/lib/dovecot/imap
   /usr/lib/dovecot/imap-login
   /usr/lib/dovecot/lmtp
   /usr/lib/dovecot/log
   /usr/lib/dovecot/managesieve
   /usr/lib/dovecot/managesieve-login
   /usr/lib/dovecot/pop3
   /usr/lib/dovecot/pop3-login
   /usr/lib/dovecot/ssl-params
   /usr/sbin/avahi-daemon
   /usr/sbin/dnsmasq
   /usr/sbin/dovecot
   /usr/sbin/identd
   /usr/sbin/mdnsd
   /usr/sbin/nmbd
   /usr/sbin/nscd
   /usr/sbin/ntpd
   /usr/sbin/smbd
   /usr/sbin/smbldap-useradd
   /usr/sbin/smbldap-useradd///etc/init.d/nscd
   /usr/sbin/winbindd
   /usr/{sbin/traceroute,bin/traceroute.db}
   /var/lib/snapd/apparmor/profiles/snap-update-ns.core
   /{usr/,}bin/ping
0 profiles are in complain mode.
3 processes have profiles defined.
3 processes are in enforce mode.
   /usr/lib/colord (1891) 
   /usr/sbin/avahi-daemon (1053) 
   /usr/sbin/nscd (1027) 
0 processes are in complain mode.
0 processes are unconfined but have a profile defined.
`

---

<div class="post-metadata">

**Author:** ![BMX](https://avatars.discourse-cdn.com/v4/letter/b/7cd45c/32.png) [@BMX](https://forums.suse.com/u/BMX)\
**Post date:** [June 14, 2018, 6:41pm UTC](https://forums.suse.com/t/using-snaps-on-suse/32540/5 "2018-06-14T18:41:03Z")

</div>

[QUOTE=smflood;53010]On 09/06/18 22:24, BMX wrote:  
[color=blue]

> I’m trying to install snaps via snapd end get such error message
> 
> ## Code:
> 
> ```
> griwa@linux-xmmp:~> sudo snap install vuze-vs
> 
> ```
> 
> error: cannot perform the following tasks:
> 
> - Setup snap “core” (4650) security profiles (cannot setup apparmor for snap “core”: cannot load apparmor profile “snap-update-ns.core”: cannot load apparmor profile: exit status 1  
> apparmor\_parser output:  
> mkstemp: No such file or directory  
> )
> - Setup snap “core” (4650) security profiles (cannot load apparmor profile “snap-update-ns.core”: cannot load apparmor profile: exit status 1  
> apparmor\_parser output:  
> mkstemp: No such file or directory  
> )
> 
> * * *
> 
> zypper wp mkstemp says that nothing provides ‘mkstemp’
> 
> How can I fix that?[/color]

The forum prefix indicates that you are using SLED12 SP3. Is this  
correct? Please can you post the output from “cat /etc/\*release”.

## HTH.

Simon  
SUSE Knowledge Partner

* * *

If you find this post helpful and are logged into the web interface,  
please show your appreciation and click on the star below. Thanks.  
------------------------------------------------------------------------[/QUOTE]

Yes, you’re right.

[CODE]griwa@linux-xmmp:~\> cat /etc/\*release  
NAME=“SLED”  
VERSION=“12-SP3”  
VERSION\_ID=“12.3”  
PRETTY\_NAME=“SUSE Linux Enterprise Desktop 12 SP3”  
ID=“sled”  
ANSI\_COLOR=“0;32”  
CPE\_NAME=“cpe:/o:suse:sled:12:sp3”  
SUSE Linux Enterprise Desktop 12 (x86\_64)  
VERSION = 12  
PATCHLEVEL = 3

# This file is deprecated and will be removed in a future service pack or release.

# Please check /etc/os-release for details about this release.[/CODE]

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [June 14, 2018, 7:13pm UTC](https://forums.suse.com/t/using-snaps-on-suse/32540/6 "2018-06-14T19:13:29Z")

</div>

> [@](#):
>
> On Thu 14 Jun 2018 03:44:02 PM CDT, BMX wrote:
> 
> malcolmlewis;52991 Wrote:[color=blue]
> 
> > Hi and welcome to the Forum 🙂  
> > How did you install the non-standard (for SLED 12 SP3) application  
> > snapd?[/color]
> 
> I use repository for openSUSE Leap 42.1
> 
> Maybe the problem with Apparmor profiles?
> 
> ## Code:
> 
> griwa@linux-xmmp:~\> sudo apparmor\_status  
> apparmor module is loaded.  
> 39 profiles are loaded.  
> 39 profiles are in enforce mode.  
> /sbin/klogd  
> /sbin/syslog-ng  
> /sbin/syslogd  
> /usr/lib/apache2/mpm-prefork/apache2  
> /usr/lib/apache2/mpm-prefork/apache2//DEFAULT\_URI  
> /usr/lib/apache2/mpm-prefork/apache2//HANDLING\_UNTRUSTED\_INPUT  
> /usr/lib/apache2/mpm-prefork/apache2//phpsysinfo  
> /usr/lib/colord  
> /usr/lib/dovecot/anvil  
> /usr/lib/dovecot/auth  
> /usr/lib/dovecot/config  
> /usr/lib/dovecot/deliver  
> /usr/lib/dovecot/dict  
> /usr/lib/dovecot/dovecot-auth  
> /usr/lib/dovecot/dovecot-lda  
> /usr/lib/dovecot/imap  
> /usr/lib/dovecot/imap-login  
> /usr/lib/dovecot/lmtp  
> /usr/lib/dovecot/log  
> /usr/lib/dovecot/managesieve  
> /usr/lib/dovecot/managesieve-login  
> /usr/lib/dovecot/pop3  
> /usr/lib/dovecot/pop3-login  
> /usr/lib/dovecot/ssl-params  
> /usr/sbin/avahi-daemon  
> /usr/sbin/dnsmasq  
> /usr/sbin/dovecot  
> /usr/sbin/identd  
> /usr/sbin/mdnsd  
> /usr/sbin/nmbd  
> /usr/sbin/nscd  
> /usr/sbin/ntpd  
> /usr/sbin/smbd  
> /usr/sbin/smbldap-useradd  
> /usr/sbin/smbldap-useradd///etc/init.d/nscd  
> /usr/sbin/winbindd  
> /usr/{sbin/traceroute,bin/traceroute.db}  
> /var/lib/snapd/apparmor/profiles/snap-update-ns.core  
> /{usr/,}bin/ping  
> 0 profiles are in complain mode.  
> 3 processes have profiles defined.  
> 3 processes are in enforce mode.  
> /usr/lib/colord (1891)  
> /usr/sbin/avahi-daemon (1053)  
> /usr/sbin/nscd (1027)  
> 0 processes are in complain mode.  
> 0 processes are unconfined but have a profile defined.
> 
> * * *

Hi  
Well aside from openSUSE Leap 42.1 is at End of Life (no longer  
supported) for sometime and are not compatible with SLE, especially 12  
SP3.

If your really wanting to use it, then I would suggest you ask the  
maintainers to add SLE 12 backports and build against that;  
[https://build.opensuse.org/project/show/system:snappy](https://build.opensuse.org/project/show/system:snappy)

If built against backports then you could ask them to push into  
Tubleweed, then it could end up in SUSE Package Hub.

–  
Cheers Malcolm Â°Â¿Â° SUSE Knowledge Partner (Linux Counter #276890)  
SLES 15 | GNOME Shell 3.26.2 | 4.12.14-23-default  
If you find this post helpful and are logged into the web interface,  
please show your appreciation and click on the star below… Thanks!

---

<div class="post-metadata">

**Author:** ![smflood](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/smflood/32/10576_2.png) [@smflood](https://forums.suse.com/u/smflood)\
**Post date:** [June 15, 2018, 12:44am UTC](https://forums.suse.com/t/using-snaps-on-suse/32540/7 "2018-06-15T00:44:16Z")

</div>

BMX Wrote in message:  
[color=blue]

> I use repository for openSUSE Leap 42.1
> 
> Maybe the problem with Apparmor profiles?[/color]

No the problem is with you enabling openSUSE repos on a SLED  
machine - openSUSE and SUSE Linux Enterprise are not compatible  
with each other, at least not until SLE12 SP3.

## HTH.

Simon Flood  
SUSE Knowledge Partner

----Android NewsGroup Reader----  
[http://usenet.sinaapp.com/](http://usenet.sinaapp.com/)
