3 ms·
Installed ubuntu 18.04, purged snapd. It was back after `do-release-upgrade` to 20.04
by osd5 6y ago
Installed ubuntu 18.04, purged snapd. It was back after `do-release-upgrade` to 20.04
- the_af 6y agoI installed 18.04 a couple of weeks ago, after software I needed didn't work for 16.04. I don't need snaps and want to continue using .debs (which so far I'm doing, but some snap apps come preinstaled). What is the cleanest way of ditch the snap system and its preinstalled apps? I'm assuming this won't break anything important. PS: I'm not planning on installing 20.04 any time soon. At least not until the dust really settles. I don't see the point of running the absolutely latest version until there is a strong, evidence-backed consensus on its strong and weak points.
- lioeters 6y agosudo rm -rf /var/cache/snapd/ sudo apt autoremove --purge snapd gnome-software-plugin-snap rm -fr ~/snap From: https://askubuntu.com/questions/1035915/how-to-remove-snap-store-from-ubuntu https://askubuntu.com/questions/1035915/how-to-remove-snap-s... --- ..Or.. sudo apt purge snapd rm -vrf ~/snap # following may not be required as apt purge already removes them sudo rm -vrf /snap /var/snap /var/lib/snapd /var/cache/snapd /usr/lib/snapd # trying to install some package like chromium-browser will bring back snapd # make sure snapd is not installed as a dependency anymore # downside is that some package installation might fail because of dependecy on snapd sudo apt-mark hold snapd From: https://www.kevin-custer.com/blog/disabling-snaps-in-ubuntu-20-04/ https://www.kevin-custer.com/blog/disabling-snaps-in-ubuntu-...
- DoofusOfDeath 6y agoI think it's reasonable that the installer for a new LTS release would go with the default package-management scheme. Especially if the people authoring the do-release-upgrade scripts weren't aware of this being a hot-button issue.
- andrewshadura 6y agoYou need to write a bit of config to prevent it from being installed. See the apt_preferences manpage.