How to remove all the firefox (and other) cruft in /snap etc.?

Oliver Grawert ogra at ubuntu.com
Fri Dec 22 17:11:03 UTC 2023


Hi,
Am Donnerstag, dem 21.12.2023 um 20:11 +0000 schrieb Chris Green:
> Having removed snapd from my [x]ubuntu system I had hoped it would be
> really gone, but apparently not, there's loads of stuff in /snap and
> in the udev rules (/etc/udev.d/snap.firefox.rules) that haven't gone.
> 
> Surely if I purge firefox it should take all this junk with it.
> 
> How can I safely clear it out?
> 

The easiest would be to re-install the snapd deb (not the snapd snap
indeed) and this time use the --purge option with apt ... the snapd deb
has actually everything needed to cleanly remove all traces of snap
packages but you *need* to use "apt remove --purge ..." or "apt purge
..." to trigger this behavior, else the deb install will do what is a
hard reqwuirement by the debian policy for debs and leave all data dirs
behind ...

ciao
	oli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20231222/10558f09/attachment.sig>


More information about the ubuntu-users mailing list