News for hackers. Stuff that matters.
Re:Disabling Snaps in Ubuntu 20.04 by emersion on Friday April 24, 2020 @05:01PM (#22972859)
It seems like on recent Ubuntu installations some packages are provided by snaps (ie. "apt install XXX" will install a snap). I'd be interested in disabling this behaviour, if anyone knows.
Re:Disabling Snaps in Ubuntu 20.04 by slipheen on Friday April 24, 2020 @06:41PM (#22973684)
Cies posted a link to https://github.com/cies/kubuntu-setup#remove-snap

They give the suggestion to remove via

   sudo rm -rf /var/cache/snapd/ && sudo apt autoremove --purge snapd && rm -fr ~/snap
And make sure it never installs again:

   sudo bash -c "cat > /etc/apt/preferences.d/no-snapd.pref" << EOL
   Package: snapd
   Pin: origin ""
   Pin-Priority: -1
   EOL
Re:Disabling Snaps in Ubuntu 20.04 by emersion on Sunday April 26, 2020 @03:22AM (#22985269)
Hmm, but then "apt install" would just fail because of an unresolved dependency right?
Re:Disabling Snaps in Ubuntu 20.04 by 101404 on Friday April 24, 2020 @05:06PM (#22972904)
That would be really bad. I used Ubuntu for the past 15 years or so, but that would make me switch to a different distro.

So shortly after the Mir fiasco, why does Canonical feel it necessary to come up with the next dumb idea?

Re:Disabling Snaps in Ubuntu 20.04 by emersion on Friday April 24, 2020 @05:41PM (#22973218)
Unfortunately, it seems like I remembered correctly, at least for Chromium: https://news.ycombinator.com/item?id=22972856
Re:Disabling Snaps in Ubuntu 20.04 by shock on Friday April 24, 2020 @05:58PM (#22973351)
What is or was the Mir fiasco?
Re:Disabling Snaps in Ubuntu 20.04 by miker64 on Friday April 24, 2020 @06:10PM (#22973442)
Re:Disabling Snaps in Ubuntu 20.04 by simosx on Friday April 24, 2020 @09:39PM (#22974831)
I think that this is just the case with LXD. LXD used to be distributed as a DEB package in Ubuntu 18.04. Therefore, to make it to upgrade from DEB to snap in newer versions of Ubuntu, there is this dummy 'lxd' DEB package in the repositories that in fact installs the snap package of LXD.

Other than that, I do not think other packages are affected.