Install snapd on Ubunut 18.04 with error


#1

I trying to use snap on Ubuntu 18.04

get this error:
snap install hello-world
error: system does not fully support snapd: cannot mount squashfs image using “squashfs”: mount:
/tmp/sanity-mountpoint-979810778: mount failed: Operation not permitted.

This are my kernel.

/ snap version

snap 2.39.2+18.04
snapd 2.39.2+18.04
series 16
ubuntu 18.04
kernel 4.15.0

 / uname -r

4.15.0

/ cat /etc/lsb-release

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION=“Ubuntu 18.04.2 LTS”

if I look here, I have the correct kernel.
https://wiki.ubuntu.com/BionicBeaver/ReleaseNotes#Linux_kernel_4.15


#2

that doesn’t look like an Ubuntu kernel, where did you get it?


#3

from here:

https://ubuntu.com/download/server


#4

Where did you get the kernel from?


#5

I dont know.
I only install Ubuntu and after Plesk 17.8.11


#6

Just for the record, can you check if there are any entries with DENIED in the output of dmesg? If so please post them here.


#7

In /boot/ you probably have something like vmlinuz-4.15.0. Could you do dpkg -S of that file, and then apt policy of the package it mentions?


#8

dmesg has no DENIEDs
~ dmesg
[24333472.479438] device veth9428a6f left promiscuous mode
[24333532.231454] device veth6fad564 entered promiscuous mode
[24333538.133175] device veth6fad564 left promiscuous mode
[24333597.878925] device vethc5591bc entered promiscuous mode
[24333604.107355] device vethc5591bc left promiscuous mode
[24333663.802078] device veth49c725d entered promiscuous mode
[24333669.675963] device veth49c725d left promiscuous mode
[24333729.605831] device veth4b1d616 entered promiscuous mode
[24333735.914039] device veth4b1d616 left promiscuous mode
[24333795.625475] device veth6d9707d entered promiscuous mode
[24333802.244762] device veth6d9707d left promiscuous mode
[24333862.000783] device veth4a25667 entered promiscuous mode
[24333868.196868] device veth4a25667 left promiscuous mode
[24333927.776532] device veth484e1ae entered promiscuous mode
[24333934.231803] device veth484e1ae left promiscuous mode
[24333993.979525] device veth04a26c4 entered promiscuous mode
[24334000.350406] device veth04a26c4 left promiscuous mode
[24334060.148690] device vethd0f8076 entered promiscuous mode
[24334066.858716] device vethd0f8076 left promiscuous mode
[24334126.644178] device vethe87b165 entered promiscuous mode
[24334133.178478] device vethe87b165 left promiscuous mode
[24334192.879467] device vethdb9198b entered promiscuous mode
[24334199.021841] device vethdb9198b left promiscuous mode
[24334258.774738] device veth7c02d68 entered promiscuous mode
[24334264.964268] device veth7c02d68 left promiscuous mode
[24334324.615500] device veth1849b6c entered promiscuous mode
[24334330.627717] device veth1849b6c left promiscuous mode
[24334390.501377] device veth16fc651 entered promiscuous mode
[24334396.343144] device veth16fc651 left promiscuous mode
[24334456.093157] device veth54aff3d entered promiscuous mode
[24334462.064840] device veth54aff3d left promiscuous mode
[24334521.810723] device vethfb01ef5 entered promiscuous mode
[24334528.338028] device vethfb01ef5 left promiscuous mode
[24334588.062223] device veth6351dbc entered promiscuous mode
[24334595.057189] device veth6351dbc left promiscuous mode
[24334654.675003] device veth81ada4b entered promiscuous mode
[24334661.083713] device veth81ada4b left promiscuous mode
[24334720.767454] device veth8b05b6a entered promiscuous mode
[24334726.870456] device veth8b05b6a left promiscuous mode
[24334786.546220] device vetha33e138 entered promiscuous mode
[24334792.706184] device vetha33e138 left promiscuous mode
[24334852.393325] device veth35451e0 entered promiscuous mode
[24334858.154518] device veth35451e0 left promiscuous mode
[24334917.894443] device veth4e2791d entered promiscuous mode
[24334924.041264] device veth4e2791d left promiscuous mode
[24334983.751083] device veth9a39240 entered promiscuous mode
[24334989.906236] device veth9a39240 left promiscuous mode
[24335049.633325] device veth33ddd26 entered promiscuous mode
[24335055.429910] device veth33ddd26 left promiscuous mode
[24335115.169258] device veth40f2fbf entered promiscuous mode
[24335121.067226] device veth40f2fbf left promiscuous mode
[24335180.946212] device vethd83cecb entered promiscuous mode
[24335186.971243] device vethd83cecb left promiscuous mode
[24335246.648076] device vethf78ec14 entered promiscuous mode
[24335253.492461] device vethf78ec14 left promiscuous mode
[24335313.220915] device veth378a25f entered promiscuous mode
[24335319.794088] device veth378a25f left promiscuous mode
[24335379.537369] device veth56d03fb entered promiscuous mode
[24335385.436800] device veth56d03fb left promiscuous mode
[24335445.173641] device veth93f554f entered promiscuous mode
[24335450.890390] device veth93f554f left promiscuous mode
[24335510.829271] device veth8a18efa entered promiscuous mode
[24335517.285359] device veth8a18efa left promiscuous mode
[24335576.994515] device vethf3199f7 entered promiscuous mode
[24335583.899087] device vethf3199f7 left promiscuous mode
[24335643.631634] device veth6072df6 entered promiscuous mode
[24335649.679665] device veth6072df6 left promiscuous mode
[24335709.425704] device veth2fd193f entered promiscuous mode
[24335715.378575] device veth2fd193f left promiscuous mode

Maybe this is my Problem.
I missed any files in /boot/

~ cd /boot
/boot ll
total 0

#9

And in / ?


#10

file is missing …

/ ll

total 100K
drwxr-xr-x    2 root root 4.0K Jul  4 10:07 bin
drwxr-xr-x    2 root root 4.0K Aug 20  2018 boot
drwxr-xr-x    9 root root 1.3K Jul  4 10:43 dev
drwxr-xr-x  113 root root  12K Jul  4 11:00 etc
drwxr-xr-x    3 root root 4.0K Jul  3 14:42 home
drwxr-xr-x   15 root root 4.0K Jul  4 10:27 lib
drwxr-xr-x    2 root root 4.0K Aug 27  2018 lib64
drwx------    2 root root  16K Aug 27  2018 lost+found
drwxr-xr-x    2 root root 4.0K Aug 27  2018 media
drwxr-xr-x    2 root root 4.0K Aug 27  2018 mnt
drwxr-xr-x    7 root root 4.0K Jul  4 10:24 opt
dr-xr-xr-x 5008 root root    0 Jul  4 10:43 proc
drwx------    7 root root 4.0K Jul  4 13:57 root
drwxr-xr-x   28 root root 1000 Jul  4 13:52 run
drwxr-xr-x    2 root root 4.0K Jul  4 10:07 sbin
drwxr-xr-x    2 root root 4.0K Jul  4 10:08 snap
drwxr-xr-x    2 root root 4.0K Aug 27  2018 srv
dr-xr-xr-x   13 root root    0 Apr 11  2018 sys
drwxrwxrwt   10 root root  16K Jul  4 13:57 tmp
drwxr-xr-x   10 root root 4.0K Aug 27  2018 usr
drwxr-xr-x   17 root root 4.0K Jul  4 10:27 var```

#11

Ok, just to confirm: you’re not running an Ubuntu system, even though it says it is one. The kernel is not an Ubuntu kernel. I don’t know how you got there. HTH.


#12

Ok thx
then I looking from where I get the right kernel.


#13

if you say you installed plesk, does that mean you are using some virtual server or cloud instance at some hosting service ? that most likely does use some home-brewed kernel of the hosting provider (with quiestionable security if this is true) and will not be easily replaceable …

if this is the case, you should contact your hosting provider


#14

@ogra

I take a mistake.
In my hosting service I can upload my own iso and install it.
I think I did something wrong and they didn’t install the iso which I uploaded.

after I read the answer from chipaca I contact the support of my provider :slight_smile:
know waiting…

big thanks :sunny: