Remove /snap directory

Jeffrey Walton noloader at gmail.com
Tue Dec 13 15:46:42 UTC 2022


On Tue, Dec 13, 2022 at 10:25 AM Colin Law <clanlaw at gmail.com> wrote:
>
> On Tue, 13 Dec 2022 at 13:42, Jeffrey Walton <noloader at gmail.com> wrote:
> >
> > Snap is like a cancer. A lot of it persists after an `apt remove
> > --purge snapd`. One needs to manually remove all of its tentacles
> > after a removal, like systemd units and files on the filesystem.
>
> If you think that then I possibly you are using the wrong OS for you.

I think the distro is doing pretty good. Removing Snap and its
software fixed two nagging problems I had with Firefox and Draw.io. I
switched to ppa and deb packages, and things have been fine. And I'm
not paying the performance penalty at boot or runtime.

I'd call it a win.

There's one minor annoyance. With the Mozilla ppa enabled, an 'apt
install' still tried to install Snapd and Firefox instead of using the
ppa. That was handled with:

    $ cat /etc/apt/preferences.d/no-snap
    Package: snapd
    Pin: release *
    Pin-Priority: -1

It seems like (to me) the Mozilla ppa packages should have preference
over Ubuntu packages. It seems like the use case someone wired up is,
"the user wants a ppa and the software from it, but we are going to
provide Ubuntu software anyways." If I wanted the original Ubuntu
software, then I would not have enabled the ppa in the first place!

Jeff



More information about the ubuntu-users mailing list