Hacker Newsnew | past | comments | ask | show | jobs | submit | osd5's commentslogin

Just use master branch.


master is so last month. they call it main now on GitHub =)


I consider "mainline" more clear, using it in a currently unreleased project.


Installed ubuntu 18.04, purged snapd. It was back after `do-release-upgrade` to 20.04


I 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.


I 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.


sudo 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-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-...


You need to write a bit of config to prevent it from being installed. See the apt_preferences manpage.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: