Kudos to the OP, I'm glad this got posted on hacker news because Snap is so ridiculously broken. Since 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 Sn…
Same! Unfortunately we have a system is more or less tethered to use of LXD. While other workloads have moved to CentOS or Red Hat systems, LXD is supremely broken on those systems (or any distro that uses SELinux). It's extremely frustrating to be tied to Ubuntu for this one reason. It's even more frustrating when one of the key selling points from Canonical is "cross distribution!" Which appears to only be true for…
Disabling Snaps in Ubuntu 20.04
361–370 of 436 posts
Re: Disabling Snaps in Ubuntu 20.04
#362Earlier quoted context omitted.
Does anyone know if they fixed the bug where snaps don't work if your home directory isn't /home/ , or is on NFS?
What the actual fudge? So my Asad AD trust users, whose home directories are /home/example.com/sam-account-name, are going to run into trouble when they upgrade to 20.04? I think I am going to have to start figuring out a plan to migrate them all over to RHEL...
Re: Disabling Snaps in Ubuntu 20.04
#363Earlier quoted context omitted.
of course not, the only progress so far has been people coming up with horrifying workarounds: https://bugs.launchpad.net/snappy/+bug/1620771
My god! Being unable to use snaps when you have “non-standard” home directory is ridiculous. What’s even more ridiculous is a response from snap developers - they marked this issue as “Won’t Fix”. Dear snap developers, don’t make false assumptions that every user in Linux has to have home directory as /home/username just because standard Ubuntu installer does this. Only thing that you should care about here is $HOME
I uninstalled it on all my Ubuntu systems and put it on hold. No new Ubuntu installs, switched to Debian.
Re: Disabling Snaps in Ubuntu 20.04
#364Earlier quoted context omitted.
> I strongly recommend anyone similarly frustrated to check out debian, which is a fantastic distro. It is true that the Debian people are doing a great job. > [...] if you're using Ubuntu and disabling snap, you're fighting against the current and I have to imagine it's going to be increasingly difficult with subsequent releases. Actually, snap was harder to remove in the previous release: you had to rebuild certain…
Now, this is embarassing, here the list of reverse dependencies on snapd: python3-ubuntu-image xubuntu-desktop xubuntu-core vanilla-gnome-desktop ubuntustudio-desktop-core ubuntustudio-desktop ubuntukylin-desktop ubuntu-unity-desktop ubuntu-snappy-cli ubuntu-snappy ubuntu-mate-desktop ubuntu-mate-core ubuntu-core-launcher ubuntu-budgie-desktop snapd-xdg-open snapcraft snap-confine qml-module-snapd plasma-discover-bac…
Not at my computer now, but that cannot be correct. Could recommended packages be included in that list?
I did apt-purge snapd on my xubuntu 20.04 and it did not pull out anything unrelated.
When you install something later an it tries to pull in something later you can always try --no-install-recommends.
In the worst case there is eqivs https://wiki.debian.org/Packaging/HackingDependencies but it has been 3+ years that I needed to use that the last time.
Re: Disabling Snaps in Ubuntu 20.04
#365Earlier quoted context omitted.
> You could equally say that all the hard work to make a viable OS is done by Linux, so screw Debian? No, you couldn't say that. Without toolchains, userlands, and packaging, a kernel is pretty worthless. The barest bones you can go is still gcc, linux, uclibc, and busybox. There is more code that goes into a computer running linux, then there is in the linux kernel. By a wide margin.
If it had to be done, GNU programs could all be replaced. Port BSD tools or improve busybox tools, use KDE instead of Gnome, and there is a variety of great packaging solutions that aren’t .deb. AFAIK GCC is already being replaced by clang due to the GCC codebase, amongst other reasons. Distros mostly use GNU programs for historical convenience. Given incentive, GNU could be dropped by Ubuntu for the desktop. The mos…
Re: Disabling Snaps in Ubuntu 20.04
#366Earlier quoted context omitted.
This is also how iOS has worked since forever. I think it's helpful, but not that helpful. In practice, apps that want access to my contacts usually keep asking for access every time I try to do anything, until I eventually either relent to make the prompts go away or click allow by accident. And that's me as a computer-enthusiast. I would bet money most normal people just hit allow always. Because it's easier.
The missing piece is "refusing" permission should instead give dummy data: an empty address book, a random location, etc. Better would be profiles: Full, Basic, Public, Anonymous, etc
Re: Disabling Snaps in Ubuntu 20.04
#367What problem were snaps trying to solve?
Re: Disabling Snaps in Ubuntu 20.04
#368Earlier quoted context omitted.
Did a large numbers of people use those? Legitimate question—it always struck me as a cool initiative for a very small number of people, but only that. I'd expect most people tech-savvy enough to install Ubuntu would also have a decent enough internet to download a ~700mb file.
> I'd expect most people tech-savvy enough to install Ubuntu we installed ubuntu with friends in freakin junior high school. it's not like it's rocket science... OTOH the village where I grew up as a child only got DSL > 512k around 2008 iirc.
So yeah, lot of people got those.
Re: Disabling Snaps in Ubuntu 20.04
#369Earlier quoted context omitted.
I've got an ansible playbook that modifies my ~/.config/lxc/config.yml for certain deployment scenarios. Due to LXC now being a snap, the file is simply not there. I guess it's 5 layers deep in namespaces, overlayfs and other stuff. I was so fed up with this that I removed Ubuntu (and replaced it with Gentoo).
I came to the realization that my home server doesn't need Ubuntu, it needs Debian.
Re: Disabling Snaps in Ubuntu 20.04
#370Earlier quoted context omitted.
Is multi monitor support in Linux broken? I've been going strong for ages with proprietary nvidia drivers and i3/dwm.
I wouldn't say it's broken. But Gnome Shell is made for a single monitor so working with more than one makes it a pain in the ass.