Disabling Snaps in Ubuntu 20.04
kevin-custer.com
Disabling Snaps in Ubuntu 20.04
1–10 of 436 posts
Re: Disabling Snaps in Ubuntu 20.04
#2Re: Disabling Snaps in Ubuntu 20.04
#3/var/snap is a subvolume. Purging snapd wants to remove the /var/snap directory, but it being mounted subvolume, it will fail. Purging snapd will therefore also fail.
Destroy (-r) the /var/snap subvolume before apt purge snapd.
Similarly, if using flatpak, create a new subvolume for /var/lib/flatpak before installing the first one. You don't need to snapshot your flatpaks together with the /.
Re: Disabling Snaps in Ubuntu 20.04
#4Does Canonical have any 'push' motive for reducing dependence on apt? Or do they really just like snaps?
Re: Disabling Snaps in Ubuntu 20.04
#5Re: Disabling Snaps in Ubuntu 20.04
#6Since 16.04, Snaps have been a huge pain for me with running LXC in production environments.
By default, Snap applies updates and restarts Systemd services anytime it likes, and there's no way to turn this behavior off! The only way to get around it is to download the Snap package binary and install that directly. Then Snap won't "know" where to get updates.
(Caveat emptor: "Workarounds" like this can easily lead to a bad security scenario, since any critical security patches won't be installed by any standard system update process)
Did I mention that a fair percentage of the time the Snap updates would leave LXC in a completely broken state? In production (and development, too)!
The final nail in the coffin in this scenario comes in the form of Snap being the official recommended way to install LXC. I don't know if Stéphane and friends even publish Debian packages anymore.
I get the idea behind snap and appreciate it, but the lack of configurability and no clear definition of what stable really even means . . .
Re: Disabling Snaps in Ubuntu 20.04
#7Does Canonical have any 'push' motive for reducing dependence on apt? Or do they really just like snaps?
Re: Disabling Snaps in Ubuntu 20.04
#8Does Canonical have any 'push' motive for reducing dependence on apt? Or do they really just like snaps?
I think they just realized it gives them a way to package proprietary apps like Skype, Spotify, and Slack a bit more simply than would be required to apt-ify/dpkg-ify them. I really think that's the primary motivation.
Re: Disabling Snaps in Ubuntu 20.04
#9Does Canonical have any 'push' motive for reducing dependence on apt? Or do they really just like snaps?
I think they just realized it gives them a way to package proprietary apps like Skype, Spotify, and Slack a bit more simply than would be required to apt-ify/dpkg-ify them. I really think that's the primary motivation.
Re: Disabling Snaps in Ubuntu 20.04
#10Does Canonical have any 'push' motive for reducing dependence on apt? Or do they really just like snaps?
Snaps have benefits. Canonical sells 5 year service subscriptions in addition to the 5 years they already offer for free on LTS. Snaps enable a way to get the latest VSCode and other apps on very old versions of Ubuntu. Snaps allowed me to try out Debian and Fedora with minimal issues and easily integrate them into my dotfile manager with Ansible.