Live data from Hacker News

Disabling Snaps in Ubuntu 20.04

kevin-custer.com

171–180 of 436 posts

Re: Disabling Snaps in Ubuntu 20.04

#171

Performance aside I was very disturbed to learn snap packages have no namespacing and no useful mandatory authorship metadata: https://forum.snapcraft.io/t/lack-of-package-provenance-is-a... tl;dr -> HashiCorp's various tools exist as snaps but none are published by HashiCorp. All are out of date. Some have incorrect metadata. Few provide any clue as to who or where the upstream is. There's usually not even a way to…

Yep, it's a massive smell. When I looked at installing a snap I wanted to audit the build script but I couldn't find that anywhere. That's a big NO from me.

Re: Disabling Snaps in Ubuntu 20.04

#172
post #103

Earlier quoted context omitted.

Unity was very good in a lot of respects. Both its UI elements and its performance. Unfortunately, Unity 7 depended on Compiz somewhat heavily, and when it came to writing a replacement of the full stack, Canonical didn't manage to execute. But have you been following last year's improvements to GNOME's performance and responsiveness? A lot of it is Canonical's devs bringing their experience from Unity.

Gnome 3 runs like an absolute dog on my Skylake notebook using Ubuntu 19.10. I don't know what metrics you have been looking at, but as a regular user I "feel" that the UI is constantly lagging during regular use. I didn't think it was this bad when I was using Fedora in the past, but that was a wayland based installation.

Weird. I'm on a ThinkPad x230 Ivy Bridge and Gnome (3.36) is butter smooth for me (Ubuntu 20.04, fresh install). I did the minimal installation though.

Re: Disabling Snaps in Ubuntu 20.04

#173

Earlier quoted context omitted.

Snaps have benefits. Canonical sells 5 year service subscriptions in addition to the 5 years they already offer for free on LTS. Snaps enable a way to get the latest VSCode and other apps on very old versions of Ubuntu. Snaps allowed me to try out Debian and Fedora with minimal issues and easily integrate them into my dotfile manager with Ansible.

That works with Flatpak/AppImage too though, right? For me Snap has always had that Canonical smell of not-invented-here, just like Mir, Unity and Upstart. All of those were eventually replaced with what a majority of similar linux distros settled on. I'm not saying it was wasted development or that nothing was learned but ultimately they joined the rest of the ecosystem instead of the ecosystem joining them. It seem…

Just like with Upstart (which existed well before systemd did), Snap existed before Flatpak, and in fact existed in another form (Click) for two years before that.

So it's wrong to say Canonical is guilty of NIH-syndrome with these two items, when their versions were out first.

Whether the tech is any good is another matter.

Re: Disabling Snaps in Ubuntu 20.04

#174
post #154

Earlier quoted context omitted.

Create the file ~/.hidden and with the line "snap". It will then be hidden from your file manager.

If it's still visible in ls, it's not a fix.

Make an alias that adds ls --hide the same way you do for ls --color.

Re: Disabling Snaps in Ubuntu 20.04

#175
post #120

I've been using Ubuntu 20.04 for several weeks, almost since beta came out. The snap thing is a pain in the ass. I understand the need for something like snap or flatpak. I had software too new or too old that wouldn't work because some dependencies were not updated or were too new. Snaps can solve that by allowing the developers to provide everything you need (or everything you need that is not on your system). But…

multiple monitor support in Linux is high on my list of reasons I keep switching back to my Windows partition.

It worked very, very well on Unity. It also works with other DE like Plasma but I personally find it horrendous on other aspects.

I'll probably give Budgie a go.

Re: Disabling Snaps in Ubuntu 20.04

#176
post #162

Earlier quoted context omitted.

Then why doesn't everyone use Debian?

Maybe when they tought that none-free drivers opt-in was a good idea, also old kernel / packages. LTS on Ubuntu was always better than Debian, I mean saying that Ubuntu is just a repackage of Debian is very short sighted, especially on the security side, Canonical security team is top notch.

> Canonical security team is top notch.

They need to, for a long time, Ubuntu has been shipped with EOL Kernel versions https://ubuntu.com/kernel/lifecycle

Re: Disabling Snaps in Ubuntu 20.04

#177

Canonical always has tried to differentiate themselves, and they just can't execute. Remember Unity, Mir, Juju, upstart and all the other failed shit they've come out with? Snap is just more of the same. I don't want to run that garbage on my desktop. I don't need more daemons and forced auto-updates and all the baggage. I strongly recommend anyone similarly frustrated to check out debian, which is a fantastic distro…

It's not that bad. Linux threads attract the biggest drama queens in the galaxy.

Re: Disabling Snaps in Ubuntu 20.04

#178

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 basic cases, or in the sense of, "Sure it's cross distro if someone other than us is willing to put in the work for their distro!"

Re: Disabling Snaps in Ubuntu 20.04

#179
post #117

Earlier quoted context omitted.

Oh, for sure, but it's mildly annoying. Especially when a . is used to make the directory hidden, because I can't unhide that specific directory without changing the name apps expect.

What? Of course you can! $ ln -s .hidden not_hidden It's that easy. Really.

Well, that's a symlink. It's a good idea, and something I should remember if I ever do start using Linux again—but the downside is that if I do need to temporarily enable hidden files, I'll see the same directory twice.

I'm being picky, I know! But I still think the Library approach is cleaner. (Again, back when it wasn't hidden by default!)

Re: Disabling Snaps in Ubuntu 20.04

#180

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…

Does anyone know if they fixed the bug where snaps don't work if your home directory isn't /home/ , or is on NFS?

of course not, the only progress so far has been people coming up with horrifying workarounds: https://bugs.launchpad.net/snappy/+bug/1620771
Post reply on HN