https://gitlab.com/scripts94/kubuntu-get-rid-of-snap
Up until now I didn't care how my software was installed, but snaps REALLY don't play nice, so it's time to retire them. Canonical has lost this battle, and the sooner they accept it and move on, the sooner they can recover their reputation and put this madness behind them.
..edit.. I installed a dummy package that displaces the nagware about the pro version too so I never get those messages during apt update any more.
Taking a quick definitely incomplete look I see at least:
/etc/apt/preferences.d/mozilla.pref
Package: firefox*
Pin: release o=LP-PPA-mozillateam
Pin-Priority: 501
Package: thunderbird*
Pin: release o=LP-PPA-mozillateam
Pin-Priority: 501
/etc/apt/preferences.d/nosnap.pref Package: snapd
Pin: release a=*
Pin-Priority: -10
and removed ubuntu-pro-esm-apps and ubuntu-pro-esm-infra from that same dirbut also there is a mozillateam ppa in sources.list.d, and I don't see any installed package name that looks like it might be that dummy ubuntu-pro-esm thing, so maybe it got removed during a version upgrade and I never noticed because ubuntu stopped that nonsense and it isn't needed any more? Or there is some other config somewhere I'm forgetting that is keeping that hole plugged.
Anyway, it WAS a little bit of fiddling around one day, but at least it was only a one and done thing so far.
I kind of expected to be off of ubuntu by now because once someone starts doing anything like that, it doesn't matter if you can work around it, the real problem is that they want to do things like that at all in the first place. Well they still want what they want and that problem is never going away. They will just keep trying some other thing and then some other thing. So rather that fight them forever, it's better to find someone else who you don't want to fight. I mean that's why we're on Linux at all in the first place right? But so far it's been a few version bumps since then and still more or less fine.
I'd had effectively zero issues avoid snaps.
If you don’t want what makes Ubuntu Ubuntu, why not just run vanilla Debian instead?