Live data from Hacker News

Disabling Snaps in Ubuntu 20.04

kevin-custer.com

31–40 of 436 posts

Re: Disabling Snaps in Ubuntu 20.04

#31
So I've used ubuntu (Xubuntu, xfce) for quite a while and would rather not deal with this, are there any distros that aim to be ubuntu but without snap?

Because hearing things like `sudo apt install chromium` actually aliases to using snap is disconcerting to say the least if true.

Re: Disabling Snaps in Ubuntu 20.04

#32

So I've used ubuntu (Xubuntu, xfce) for quite a while and would rather not deal with this, are there any distros that aim to be ubuntu but without snap? Because hearing things like `sudo apt install chromium` actually aliases to using snap is disconcerting to say the least if true.

Debian, ubuntu's upstream.

Re: Disabling Snaps in Ubuntu 20.04

#33

Earlier quoted context omitted.

Ugh, is it still impossible to disable Snap autoupdates? Even if people should be updating regularly, forcing them feels completely antithetical to the Linux ethos of users having control over their devices.

Props to Microsoft, for getting their approach to Windows updates adopted as an industry standard! /s

[deleted]

Re: Disabling Snaps in Ubuntu 20.04

#34

I really like the idea of snaps. I really don't like a lot of the execution decisions around them. Snaps break debain's stable release model. They allow upstream to ship updates outside of the normal 6 month ubuntu releases. There are times when you might want this, but it should be opt in not mandatory. I thinking specifically of lxd which is only shipped via snaps. The snap store's trust model is confusing. Its har…

I've always liked OS X's concept of the Library folder, particularly back in Snow Leopard when it wasn't hidden by default. Applications need a place to save state, and you don't really want it to be hidden, because sometimes I as a user do need to change it manually for any number of obscure reasons. So you make a subfolder that's designated for apps to write to. There's no good way to put this into the existing Lin…

You as a user can still access hidden directories. Most new applications are nice enough to respect the XDG specification.

Re: Disabling Snaps in Ubuntu 20.04

#36

I really like the idea of snaps. I really don't like a lot of the execution decisions around them. Snaps break debain's stable release model. They allow upstream to ship updates outside of the normal 6 month ubuntu releases. There are times when you might want this, but it should be opt in not mandatory. I thinking specifically of lxd which is only shipped via snaps. The snap store's trust model is confusing. Its har…

I've always liked OS X's concept of the Library folder, particularly back in Snow Leopard when it wasn't hidden by default. Applications need a place to save state, and you don't really want it to be hidden, because sometimes I as a user do need to change it manually for any number of obscure reasons. So you make a subfolder that's designated for apps to write to. There's no good way to put this into the existing Lin…

Not exactly the same, but the closest Linux equivalent that's semi-widely used would probably by ~/.local

Re: Disabling Snaps in Ubuntu 20.04

#37

So I've used ubuntu (Xubuntu, xfce) for quite a while and would rather not deal with this, are there any distros that aim to be ubuntu but without snap? Because hearing things like `sudo apt install chromium` actually aliases to using snap is disconcerting to say the least if true.

True, since 19.10: https://packages.ubuntu.com/eoan/chromium-browser

Re: Disabling Snaps in Ubuntu 20.04

#38

Earlier quoted context omitted.

I've always liked OS X's concept of the Library folder, particularly back in Snow Leopard when it wasn't hidden by default. Applications need a place to save state, and you don't really want it to be hidden, because sometimes I as a user do need to change it manually for any number of obscure reasons. So you make a subfolder that's designated for apps to write to. There's no good way to put this into the existing Lin…

You as a user can still access hidden directories. Most new applications are nice enough to respect the XDG specification.

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.

Re: Disabling Snaps in Ubuntu 20.04

#39
post #2

Does Canonical have any 'push' motive for reducing dependence on apt? Or do they really just like snaps?

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.

The VSCode part is real. I had to install it on Ubuntu 17.04 a couple of weeks ago and it took me hours.

Re: Disabling Snaps in Ubuntu 20.04

#40
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 contact the snap author to submit patches or ask for an upstream link. eg https://snapcraft.io/nomad

Post reply on HN