3 ms·
My ubuntu setup script includes: # Goddammit ubuntu sudo apt-get purge snapd -y; sudo apt-get autoremove -y; echo "Package: snapd" | sudo tee
by fake-name 4y ago
My ubuntu setup script includes:
# Goddammit ubuntu
sudo apt-get purge snapd -y;
sudo apt-get autoremove -y;
echo "Package: snapd" | sudo tee /etc/apt/preferences.d/block-snap
echo "Pin: release *" | sudo tee -a /etc/apt/preferences.d/block-snap
echo "Pin-Priority: -1" | sudo tee -a /etc/apt/preferences.d/block-snap
Uninstalls and permanently blocks the underlying `snapd` package so it will not be reinistalled. It might "break" some packages that depend on snapd, but as far as I'm concerned they're already broken by virtue of being snap packages.
Realistically, with ubuntu dropping the old (text-mode) installer for ubuntu server, I'll probably basically stop using it altogether after 20.04. I've tried the Ubiquity (gui) installer several times across several virtualization hosts (Xen, KVM), and somehow I've never had it /actually work/. It always managed to crash or loop at some point.