-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
Hope this is the right place. snap
gives pkg mgr access to pentesting/other tools not available in apt
or apt-get
(i.e. john-the-ripper).
When snapd
is installed with apt install snapd
, the service fails to start. The root of the cause is in its dependency with apparmor
. apparmor
is missing crucial files in /etc/apparmor.d/tunables/. apt install --reinstall apparmor
will not fix this.
Additionally, there's another conflict that prevents snapd.service
from running which is the /etc/fstab
file. There are incomplete/old version duplicate entries which confuse snapd.service
when reading /etc/fstab
.
Workaround
- Purge, remove residual files, install
apparmor
andsnapd
sudo apt purge apparmor snapd
sudo rm -rf /etc/apparmor.d /var/lib/snapd /snap
sudo apt install apparmor snapd
- Edit
/etc/fstab
and comment out the incomplete/old duplicate entries
$cat /etc/fstab
#UUID="1199-13AB"
UUID="1199-13AB" /boot/efi vfat defaults 0 2
#UUID="26156326-02d9-4bf7-9e79-09c349625560"
UUID="26156326-02d9-4bf7-9e79-09c349625560" / btrfs subvol=@,autodefrag,compress=zstd:10 0 1
#UUID="26156326-02d9-4bf7-9e79-09c349625560"
UUID="26156326-02d9-4bf7-9e79-09c349625560" /home btrfs subvol=@home,autodefrag 0 2
Metadata
Metadata
Assignees
Labels
No labels