Skip to content

Snap is broken on install aarch: arm64 vmdk #8

@trewchainz

Description

@trewchainz

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 and snapd
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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions