TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ubuntu Snap auto updates broke my development setup, can't turn them off

57 pointsby hernantzalmost 5 years ago

11 comments

julianlamalmost 5 years ago
The more I read about Snap, the more its user-hostile behaviour bothers me.<p>I&#x27;ve read again and again (on here, of all places) that snap packages are _great_ for server administration, but I feel like production machines are a place where you wouldn&#x27;t want a random assortment of packages updating. I can hear the sysadmins scream already, from here.<p>With the fact that Snap (and Flatpak) package releases are often delayed due to whatever vetting needs to take place (plus packaging or rollout delays?), combined with the fact that it can and will auto-update without your approval, <i>even if you&#x27;ve told it otherwise</i>, it sounds like the worst of both worlds.<p>For what its worth, Pop!_OS also doesn&#x27;t use snap... and of all things, the reason why I switched from Ubuntu 20.04 to Pop!_OS was because the calculator took five seconds to load (of course, being a snap package) on Ubuntu, and milliseconds, on Pop, as it should.
评论 #24019211 未加载
评论 #24017527 未加载
评论 #24020784 未加载
csdreamer7almost 5 years ago
I believe the author is (partially) wrong. You can use &#x27;snap revert&#x27; to revert to the working version of CLion. For example for the hugo snap.<p>sudo snap revert hugo<p>will revert the hugo snap to the last version.<p>He is right that you have (almost) no control over snap updates. The snap will be refreshed if a new version after the latest is published according to the docs.<p><a href="https:&#x2F;&#x2F;snapcraft.io&#x2F;docs&#x2F;getting-started#heading--revert" rel="nofollow">https:&#x2F;&#x2F;snapcraft.io&#x2F;docs&#x2F;getting-started#heading--revert</a><p>I am a little disappointed in this. I expected to be able to pin a software version or at least be able to access a lot more than the very last version of a snap. A lot of software publishers (both proprietary and open source) like to break compatibility with plugins that would break your workflow. You may be waiting a while for your plugins to update (or you give up on your plugins once other plugins show up or the new version has matured enough for you to move over).<p>A quick search of Flatpak shows that you can revert an older version and have more options to choose from.<p><a href="https:&#x2F;&#x2F;unix.stackexchange.com&#x2F;questions&#x2F;552688&#x2F;is-it-possible-to-roll-back-a-flatpak-update" rel="nofollow">https:&#x2F;&#x2F;unix.stackexchange.com&#x2F;questions&#x2F;552688&#x2F;is-it-possib...</a><p>Also, Flatpak&#x27;s &#x27;mask&#x27; command may allow you to pin a version?<p><a href="https:&#x2F;&#x2F;github.com&#x2F;flatpak&#x2F;flatpak&#x2F;issues&#x2F;3078" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;flatpak&#x2F;flatpak&#x2F;issues&#x2F;3078</a><p>Perhaps someone familiar with Flatpak can chime on it. Last I used it Atom was still popular.
solraphalmost 5 years ago
This mirrors my experience. I&#x27;ve been a mostly happy Ubuntu user since 5.04&#x2F;Hoary, baring a few bumps like Unity and pulse audio becoming defaults before they were polished enough for general release.<p>But after upgrading to 20.04, and fighting with Snap slowdowns, and yet another change in desktop direction, the weird data sharing of searches with Amazon, and weird power management problems on hardware that had previously &quot;Just Worked&quot;, I just had had enough. I switched to Mint a month ago, and haven&#x27;t look back.<p>I love how Ubuntu has brought Linux into the (somewhat) mainstream, but I&#x27;m just over how much it keeps changing direction, and releasing things before they&#x27;re ready.
评论 #24017978 未加载
tssvaalmost 5 years ago
Snap auto updates brought down a 4 node Raspberry Pi 4 lxd cluster I was running in my home lab. One of the nodes went down and before there was a chance to address it snap decided to auto update lxd on the remaining nodes. Since the down node wasn&#x27;t updated this caused the entire cluster to fail because not all the cluster members were on the same lxd version. I was able to force remove the down node from the cluster to bring things back up.<p>As soon as possible I moved away from lxd which is a shame. It met my needs better and was easier to manage than k3s which replaced it. Unfortunately as long as it is only available as a snap it is a non-starter for my lab. I don&#x27;t see how it could possibly be considered for a real deployment.
评论 #24019563 未加载
评论 #24019471 未加载
marvionalmost 5 years ago
Yes, it&#x27;s weird that it can&#x27;t be turned off, but the snap documentation is very clear about the auto update.<p>Snap versions also can be reverted.... it is annoying, but the article is a bit overdramatic, since it&#x27;s not a secret..<p>RocketChat has this issue to. They work around that by delaying the snap release for weeks. And they also provide different update channels.
评论 #24019487 未加载
numberwhunalmost 5 years ago
I, for one, refuse to use snap. While I do admit It makes some things stupid easy to install, there are trade offs. First. The fact that it’s breaking things is bad. Second, for every snap install there is a ‘&#x2F;loop&#x2F;blah” entry in your did output. This is severely annoying and not needed IMHO. While breaking things is far worse, little annoyances have an effect. I will personally avoid snap and stick to installing things the way I always have.
wayneftwalmost 5 years ago
Every single time that I’ve tried Ubuntu it’s been killed by an update.<p>Manjaro is the only distro that was stable enough to keep running without fail. Been running it for 2 years now. One of the best things it has over Ubuntu is the ease of installing software. No more hunting down keys or PPAs.
Erlangenalmost 5 years ago
I guess Ubuntu will provide a enterprise edition of Snap in future. It will allow users to suspend updates.
numToStralmost 5 years ago
Don&#x27;t use snap.
reportgunneralmost 5 years ago
There will never be any such thing as a free lunch.
ncmncmalmost 5 years ago
I have never understood why so many people think installing Ubuntu is a good idea. It&#x27;s not like there is any shortage of absolutely outstanding distributions. Debian, Arch, Nix, Suse, Fedora, Gentoo -- something for everyone, none habitually weird.
评论 #24018761 未加载
评论 #24019452 未加载
评论 #24018674 未加载