206 points · by tomjuggler · 3y ago · 217 comments
The number of times I've been hacked and suffered a data loss is astronomically small compared to the number of times I've had something update and suffered a data loss, or more importantly the number of times I've had something update and cause a regression or break something. Then I have to spend my precious time bringing something that was PREVIOUSLY IN A WORKING STATE back to a working state, which is one of the most infuriating feelings.
Most other software should only update when specifically instructed to.
That's not a sane decision. Sane would be to update on closing.
Same way Windows offers to "Update and Shutdown" (you don't need the PC anymore why don't I under after you walk away) and not "Update on next Start up" (I'll wait until you need me to get in your way).
This presumes that shutting down is never a time-sensitive action. If I had a nickel for every time Windows decided it wants to spend a half hour installing updates when I'm trying to shut down a laptop so that I can put it in my bag and go somewhere with it, I'd be able to actually buy a Windows license instead of resorting to vlmcsd.
Though I never seen it on Fedora or Windows, might be some quirks related to Ubuntu packaging.
On Windows, where no standard update mechanism exists, Firefox updates itself, so it does it only when it knows it's fully shut down (before it opens or after you close all windows).
Are you sure that originates in the update check? The update itself is downloaded asynchronously while the browser runs. The browser itself checks if an pending update has been downloaded when it is launched.
I don't think this is a fair decision. Virtually nothing requires such a forced update. And the browser should be sandboxed by the OS anyway.
That's not been my experience. I don't know what system you're using, but with Firefox on Ubuntu, I discover that Mozilla has put out another (goddamn) update (again, already, goddamnit!) when all my tabs suddenly crash, forcing me to restart the browser.
Ubuntu doesn't seem to realize (or simply doesn't care that) enterprise servers and user desktops are entirely different beasts.
Eek hard disagree.
Most things I want to auto-update. Preferably at 4am. Somethings I want to disable auto-update.
What I never want is things to update when I’m in the middle of something.
Yes. For user orientated interactive systems it is mad.
But it has its uses, IMO, for IoT devices.
It was the reason I do not use Ubuntu on my personal computer. If I were in the business of building connected devices I would be interested.
When Ubuntu prompts me to restart the system after an update I can dismiss the dialog even for weeks, but at a certain point the cumulative updates start making the system behave erratically and I have to restart. Probably kernel, drivers, libc, other vital stuff get too much disaligned.
Is it very not true? Apt restarts processes and services all the time during upgrades.
I don't think it's true, I had the disable unintended upgrade on Ubuntu because it runs cpu at 100% and make very big noise at night.
If updates were not automatic a large number of people would not upgrade and would not receive important security updates along with various fixes and new features. If a user keeps running into a bug that has already been patched in a newer version that user will just think your software is bad and they will not realize that this poor experience they are having is because they are on an old version.
>The number of times I've been hacked and suffered a data loss is astronomically small
Being hacked even once is a bad thing. It is something that the industry tries to minimize as much as possible.
>the number of times I've had something update and suffered a data loss
Personally I have not experienced this, but it sounds like this would still happen when you update later. This is why doing gradual updates of rollouts and collecting telemetry is important. It is very useful in being able to detect a bad update and stop it from going out. Unfortunately, the Linux ecosystem is still behind the rest of the industry which leads to people having a poor user experience.
The "generic" response is beacuse the complaint is simiarly generic.
Before we get the point where we are discussing aspects like under what conditions should updates be applied or the priority of which updates should be installed first, desktop Linux needs to show that it can handle the basics.
From my experience the only real work load with Arch was the set up. Once I installed it and configured everything to my liking there has been nearly 0 work with maintaining the system. I've been running my installation of Arch since 2016 and the system didn't break even once.
I'm not philosophically against Snap as an idea. But what I am against is all the absolutely terrible UX decisions and bugs which Canonical evidently considers "acceptable". It makes the whole Linux desktop look like a joke.
Maybe it's time to realise it is a joke. That Linux will remain a programmer OS and an OS for locked-down consumer devices, but not a general consumer desktop-style OS. And maybe we should recognise that in such a world, there is no space for Ubuntu Desktop.
The stability is nice while it lasts, but I've had way too many major things break when upgrading to a new release. The most extreme case was the time Ubuntu 19.10 broke GDM, so anyone with an nvidia card and auto-login enabled had their system bricked. This is even though I reported the issue a long time before the release, and there were very reasonable workarounds proposed in the issue discussion in good time to fix the issues before release. Ubuntu 21.04 released with a nextcloud-desktop application which segfaulted on launch. I also reported this a long time before release, and it was ignored because they had already frozen the packages they import from Debian, so I had to deal with a desktop which couldn't sync my files.
I haven't experienced similar huge issues in Arch, but more importantly, when an issue does occur, I can expect a fix to be out in days, not weeks or months.
Arch has been nearly maintenance free, and it's been the one distribution where when I did break something, I was able to fix it 100% without nuking and starting over.
I still can't bring myself to run it on servers for some reason, and I go back to Debian stable for those, but honestly, I'm not sure why. I'm starting to feel that a rolling release would make for a lower maintenance server because it's always a PITA when the inevitable end-of-life comes into play and the upgrade inevitably fails and I have to reconfigure everything anyways.
Ubuntu in contrast would ALWAYS find new and bizarre ways to break. ESPECIALLY when snap came into play.
The only reason I reinstall is when I upgrade my box every 2 or 3 years. Years ago Arch was a bit more finicky, but today it's been perfectly stable for me, doing updates every Friday.
This also lets you download and install DEBs manually from projects that support Debian or Ubuntu DEBs but aren't in the official repos yet.
I'm using bspwm no DE, but I'm considering trying Arch+GNOME now that I've been forced to move to Ubuntu for work with my new job.
(Was already leaning towards moving, because a rough monitoring of security updates over several months showed Debian was strangely more trustworthy. Snap making things even worse for some of our systems made the decision easier.)
I fought with a guy in 2015 that believed snap was the future, and this cost me almost my job back then.
Well, Canonical has your back on that with apt installing snap packages.
Upstart worked well for its purpose. It gave me zero problems and a faster boot until systemd came along. It was a good stop gap solution and was adopted by other distros including ChromeOS.
People like to criticize the "different on the block" and although I think most of these complaints are for good reasons, so much is learned from these mistakes that we should not be so avert to them.
I don't think snaps are better than flatpaks, but I'm glad there is an alternative to it under a different management and having a good influence over it (IIUC, "portals" were born in snaps, not in flatpaks).
The 2 key issues with Wayland, the fact that it's a protocol, meaning a lot of stuff needs to be handled by the window manager that was handled by the platform before, and its opinionated design, that made it very hard to port software that wasn't designed exactly how it wanted to be, meant adoption was (and is) very slow, and still kind of ongoing.
Mir didn't have these issues.
Debian is looking attractive.
Abandoning snap is not enough, it's more about respecting users ... but they are obviously under no obligations to me, I'm not paying.
Not because it necessarily made anything harder, but because it was an arrogant change for no goddamned reason.
UX should start with humility -- if you change things that lots of people are used to then you'd better have some damn good reasons.
RIP Unity
(Firefox updates at random time, then kindly asks to reboot by replacing each webpage by a grey one with a restart button, and it doesn't restart tabs in private windows)
It's a very Firefox problem, not snap
(I use PPA and not Snap because snap outright doesn't work when your home isn't /home/uname , and mine is /home/company_domain/uname ) (I can't believe that ubuntu forces you to use a software that isn't production ready)
I understand why they push so storngly to frequent updates and consider that idea mostly as good. However that implementation always makes me furious. I am in some workflow, doing some form of transactional thing and suddenly it decides to stop working without restart, where then half my work is gone. If they'd say "hey, new update ready update in next few hours" I'd be fine and could schedule it (well I would still not like it as I hoard too many open tabs thus restart takes time ... but could tolerate)
I install Firefox in such a manner and can confirm the behavior is what you have heard. I've never seen the "please restart" page.
When I found this out it really pissed me off so I tried to figure out where the restart screen showed up in the source code so I could patch it out. But I'm not familiar with the code base and left off after a bit of digging because I really can't justify the time spent.
In reality I end up holding back Firefox updates with my package manager until I'm ready to restart it. In the end I will thwart developers trying to dictate things to me. The software on my computer works for me, not the other way around. A lot of developers seem to be far too arrogant and forget this basic fact.
So at any point the browser needs to be able to potentially launch a new child process if you open a new tab, or even just browse to a different website on a different domain (origin) – which thanks to site isolation nowadays requires a separate process, too, unless perhaps a page from the same origin is already open in a different tab.
If thanks to an ignorant update service the browser's binaries have been swapped out from underneath it, that now means that you've got an "old" parent process suddenly talking to a "new" child process, which isn't an officially supported configuration.
If you're lucky, there were no breaking changes within the browser and things might work anyway, but there are no guarantees that things always turn out that way, since the API between parent and child processes is a purely internal one and browser developers feel free to rejigger it any time they need to.
While in principle you could try to develop the browser in such a way that a certain amount of forwards/backwards compatibility is preserved between an older parent process talking to an updated child process, I presume that doing so would also significantly complicate development on anything that touches the parent/child process interface, and you could equally claim that it's Linux's package manager behaviour regarding updates (just swap out the files underneath a running process) that's broken.
I'm using a regular Arch installation with Firefox and Pacman. The "please restart" page appears regularly; I just had it yesterday. This occurs when running `pacman -Syu` in some background terminal while Firefox is active.
Regarding the "excuse" that it is the package manager that updated the Firefox in background, I saw it repeated a lot of time to deflect the blame, but it is totally not true in my opinion. On my system, I don't allow automatic updates. I have the notification when updates are available, but the system/packages are never updated without me doing it. And still, I noticed multiple times that Firefox breaks suddenly, like that, when nothing was updated on my system for some weeks and everything was working fine.
For me on arch Firefox has shown the "Need to restart" page every time I have updated it's package while running and not a single other time.
It really is a ubuntu problem.
that happened to me several years ago despite automatic updates being explicitly turned off - I actually have a screenshot of the settings page next to that gray one
Consider going to your settings and changing your update preferences. Firefox only shows the "please restart" page when it's already been updated, in your case (from a PPA) by something else like your OS upgrade service.
It'll also keep your existing tabs working as best it can, only new tabs will show the restart page. You should restart anyway because the underlying libraries have been swapped out from under Firefox while it's running that makes Firefox VERY crash prone for very obvious reasons.
I have uninstalled Snap Firefox and installed PPA Firefox
Suddenly it updates, and when I restart, the PPA Firefox is gone! It is back to the Snap Firefox
Also the Snap Firefox does not start, because I use a user that is not in the snap group. So after each update, I have to uninstall it and reinstall the PPA one
How do I disable the snap updates permanently?
Now if you run 'apt upgrade' and hit 'yes' without looking, you might be updating Firefox while it's running. Or maybe you use unattended-upgrades. Either way, not a Firefox issue.
Found this thread from more than 2 years ago:
https://forum.snapcraft.io/t/x11-connection-rejected-because...
Just find any HN thread (or probably Reddit and Twitter threads) about ubuntu or snaps from the last few years and you'll see.
At this point it's akin to starting smoking today then acting shocked when you get lung cancer.
I've decided to delay my upgrade to 22.04 given Canonical's increasingly aggressive push towards Snap, and now I'm considering moving to Arch or some other distribution.
[1] https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1575053
Canonical employees in that thread have repeatedly said they basically don't care about the opinion of the people affected. The latest reasoning provided being that they don't have the resources...
But either they have so little resources they shouldn't be pushing snap in its current form at all or they're lying (and the former reason still applies).
Either case it's disappointing and will slowly destroy all the goodwill they had.
They fixed that. But I hit into it's idea of security - being unable to open html files on my local drive, unable to load links from my mutt client, and unable to download and save directly into a specific folder.
And worse, the snap updates just don't function well. They remind you when you are using the program, and they don't seem to update when you're not using it.
Real shame, but these are fixable problems.
On Linux Mint you install Firefox normally through apt and it works fine.
I decide when I update it. As it should be.
(Sure tech like appimage or flatpack has its place but the browser can be handled perfectly fine by the normal package manager of your distribution.)
Debian.
Another alternative with much less change would have been Linux Mint: it still is a fine-tuned Ubuntu, but without the Snap Store.
I'm on Fedora these days, can't see ever leaving it the way things are going. It's rock solid and seems to be driving the state of the art in Linux things...
It's sad that now we have to fight against the OS like on Windows.
And yes I will definitely be re-watching the game after I have finished installing Arch.
I also signed up to Cloudflare due to you all hammering my server last night!
Why can't something be coherent and powerful behind the scenes but slick up front for users who don't want to think too much about the complexities of software managment?
In short they are doing the exact same as Microsoft does with Windows, but the enemy this time is inside the gates.
But no, instead of continuing it will do one of several things:
- show a blank page after entering URL or search term (no feedback, it just does nothing)
- fail to refresh the tab
- crash entirely
- helpfully suggest you restart Firefox in one of those tabs that stopped working earlier.
It is embarrassingly bad, just like the overall UX for Mozilla products is unfortunately, but alas the only other choice is brave and its even worse somehow. (Chrome proper would also be fine but Firefox is the only multi platform* browser that supports custom sync etc)* Firefox is horrific on android too - broken rendering, blank pages until you engage the address bar and hit go again, etc, add-ons basically unavailable...
I don't know a ton about Canonical's business model, but was the idea to get everyone hooked on snap and then force a subscription out of it?
Snap is the antithesis of apt or dnf in regards to what I want out of a package manager.
Also, it is bizarre that they desinged a software delivery system with no option to disable auto-updates... and only adding the option now.
And the fact that Firefox frooze during the update is also strange. Not sure if it's a snap problem or Firefox problem.
As a long-time Firefox and Linux user (started using Firefox when it was alpha version and Linux around 2002), the best decision I made around 3 years ago was move to Windows and Edge.
Mac OS prompts, and that's better than anything else.
Snaps are also abysmally slow. And while I'm complaining, they also occupy my `mount` output so that's annoying.
2006 I remember Italy v France was very exciting.
1954 was supposedly pretty exciting with allegations of doping, blatent fouling, and a very dodgy offside call against Puskas.
'58 was also supposedly pretty exciting (certainly a lot of goals)
'66 was a great one for me as a Brit, but also interesting because of the stolen trophy, yet more doping. The match itself was also tense, with a last minute free-kick pushing the match to extra time, the first (and only) hat trick every scored in a WC final, the controversial third goal and the final goal scored while the pitch was being invaded.
'90 was interesting because of the sheer dirtiness of play.
'98 is interesting for me because it's the first World cup I really remember following closely, but not particularly noteworthy as these things go.
That said, 2022 was a very exciting final and will go down in World Cup History.
And definitely nothing should kill a browser without explicit user confirmation.
I like watching the WC because soccer is interesting enough to see once per Olympiad on the world stage. The final today had some amazing shows of talent and teamwork, but it is primally revolting to me to watch grown men writhe in faux agony with one eye on the ref, when their opponent's foot whiffed some air past their shin.
If it’s side by side then why does it even affect the old version it force a restart? And if it’s not side by side then who the hell designed it?
https://snapcraft.io/docs/keeping-snaps-up-to-date#:~:text=o...
Just running "snap refresh --hold" should disable snap updates permanently. If you configure your system update script/tooling to unhold the snaps so security fixes can still be installed at the appropriate time, this should mean that no unexpected updates should occur.
You could probably even attach the snap unhold + snap refresh + snap hold flow to the APT hooks somehow, integrating snap updates with apt upgrade.
Compared to bare metal and docker installation that were broken every few months and required maintenance, I have been pretty happy with snap.
Based on this, would say snap is not a bad idea. Sure snaps might be slow, but that’s improving.
I don’t have time to tweak applications. Let canonical package and test all dependencies for their platform, secure and update the apps.
That said, if you run `snap hold firefox`, it will wait indefinitely.
Thus you quit the Firefox, wait a few minutes, assume it has been updated because why shouldn't it, and after two weeks it gets killed mid-session.
Completely inexcusable UX...
Yes this comment has a little malice in it.
I can't wait for Snaps to crash, burn and die.
(snapd, unattended-upgrades, ubuntu-report, whoopsie, ubuntu-advantage-tools, motd and more)
That statement might be true regarding some users.
But for many Linux users and installations, it's false.