Comment 2 for bug 1998710

Revision history for this message
Mario (mario-gleirscher) wrote :

A few weeks ago, I removed the firefox snap and replaced it with firefox deb. The snap removal with
sudo snap remove firefox
caused an error message mentioning a mount to the hunspell directory. I ignored that for the time being.

Because snap is continuously reminding me of updates, I also wanted to remove snap entirely with
sudo apt purge snapd
as nicely discussed at
https://askubuntu.com/questions/1280707/how-to-uninstall-snap

But then I got the above error message. What can I do instead of waiting for a bugfix, given that is a bug in the first place?

The discussion at
https://forum.snapcraft.io/t/sdb5-mounted-on-firefox/31897
was somewhat helpful to understand the complexity of that problem but didn't help me much in figuring out what to do.

So, how can I remove the block device manually, especially when it's mounted at the same point as
my root?

nvme0n1 259:0 0 476,9G 0 disk
├─nvme0n1p1 259:1 0 953M 0 part /boot/efi
├─nvme0n1p2 259:2 0 16M 0 part
├─nvme0n1p3 259:3 0 39,1G 0 part /var/snap/firefox/common/host-hunspell
│ /
├─nvme0n1p4 259:4 0 342,2G 0 part /home
├─nvme0n1p5 259:5 0 67,9G 0 part
├─nvme0n1p6 259:6 0 613M 0 part
└─nvme0n1p7 259:7 0 15,6G 0 part [SWAP]