6

I installed Firefox as a snap and it set my partition's mount point to , /var/snap/firefox/common/host-hunspell. Now, I'm trying to remove the snap installation of Firefox, and it will not completely allow me, failing at this step:

Remove data for snap "firefox" (2211) (unlinkat /var/snap/firefox/common/host-hunspell/nl_BE.dic: read-only file system)

How can I fully remove Firefox and safely clear this mount point without damaging anything?

3 Answers3

5

The only thing that worked for me was to use umount:

umount /var/snap/firefox/common/host-hunspell

Then I was able to remove firefox and snapd

Got it from here

lepe
  • 1,506
1

from:

lsblk: root partition mounted on / and /var/snap/firefox/common/host-hunspell?

try:

snap disconnect firefox:host-hunspell

0

I found that, even after unmounting:

umount /var/snap/firefox/common/host-hunspell

And removing snap and the snap version of firefox:

sudo apt remove --purge snapd firefox

Upon reboot, /var/snap/firefox/common/host-hunspell was back.

Following this guide helped me resolve the snap mount tomfoolery: Uninstalling Snap and Resolving Persistent Mount Points on Ubuntu 22.04

After you umount, you need to also remove:

rm /etc/systemd/system/var-snap-firefox-common-host\\x2dhunspell.mount

No more snap mount on reboot

Alnitak
  • 331