[snap] Unlinkat /var/snap/firefox/common/host-hunspell/en_US.aff: read-only file system

Jeffrey Walton noloader at gmail.com
Fri Feb 24 11:19:55 UTC 2023


On Fri, Feb 24, 2023 at 6:09 AM Mario Marietto <marietto2008 at gmail.com> wrote:
>
> root at marietto-BHYVE:/home/marietto# ls /snap/snapd
> 18357  current
>
> root at marietto-BHYVE:/home/marietto# sudo umount /snap/snapd/18357
> umount: /snap/snapd/18357: target is busy.

I also had to boot into a rescue disk to completely remove Snap from my system.

I also found traces of Snap in /etc after removal. Apt and the
uninstaller leaves a bunch of systemd units lying around. I used
`find` to locate them and delete them. Something like:

    find /etc -name '*snap*' -exec rm -f {} \;

Once you remove the systemd units, you won't get those mounts and you
should be able to delete Snap files and directories without error.

Jeff



More information about the ubuntu-users mailing list