Live data from Hacker News

Ubuntu 23.10’s New Software App Will Demote Debs (Apparently)

omgubuntu.co.uk

101–110 of 112 posts

Re: Ubuntu 23.10’s New Software App Will Demote Debs (Apparently)

#101
post #98
post #48

Earlier quoted context omitted.

Debs work really well when they are shipped as part of the distribution deb archive itself. They work really badly when third parties try to use them to provide add-on software to an existing distribution release. The main problem that Snaps solve is this latter case: when third parties are trying to ship directly into someone's distribution installation[1]. Often third party debs appear to work OK, but then break fu…

Does your comment still ring true if you replace "snap" with "flatpak"? (What I'm getting at is: why does it make sense for Canonical to define its own sandboxed application format when another one already exists?)

In my reply I focused on why we need a bundled, sandboxed packaging format in the first place, since many people are sceptical just about that. So you're right in that I didn't go into any of the differences.

Snaps solve a bunch of problems that are out of scope of Flatpaks, such as CLI apps and the packaging of kernels and other hardware-level pieces. This allows for an entirely snap-based system that is immutable and atomically updated, which is essential for IoT devices to be reliable.

If you look at the history of snaps, they are an evolution of click packaging, which were created for the Ubuntu phone that is no more. But the history goes back further than that - back to Ubuntu's App Review Board and (deb based) third party app packaging system, which failed for exactly the reason that deb is an unsuitable packaging format for third party apps.

If you look at the history of Flatpaks, you'll find that their initial release was at a similar time to snaps. But given that they don't solve a bunch of problems that snaps do, what was/is Canonical supposed to do? Ditch snaps entirely and drop their IoT support? Integrate IoT support into Flatpaks? Do Flatpak upstream even want that? Look at the history of Canonical wanting to ehnance GNOME, and the history of how Unity began, to see how that doesn't seem like it would be a practical way of delivering functionality to users in a reasonable period of time.

Consider that it is Ubuntu that is at the centre of this third party app packaging problem. It's Ubuntu that everybody targets first with their third party debs. For the same underlying reason, it's Ubuntu that gets more user support requests because of bad third party debs than every other distribution. It makes sense that Ubuntu developers are best placed to understand the problem and develop a solution.

So yes, we've ended up with two parallel contenders. But I don't think it's reasonable for Canonical to have done anything differently in regard to Flatpak. It appeared at the same time while Canonical had already been working away at the problem for years, doesn't solve or even try to solve all the problems that snaps are designed to solve, and those problems appear to be out of the scope of Flatpak anyway. As much as critics frame them as like-for-like options that Canonical could just decide to switch over, they simply aren't and thus "simply switching" doesn't even make sense.

As for "another one already exists", that statement could just as well apply the other way round: look at the timelines!

Re: Ubuntu 23.10’s New Software App Will Demote Debs (Apparently)

#102

Earlier quoted context omitted.

> The sandbox is not going to protect users from ... bad security for the application itself Your other data, in other sandboxes, is protected though.

Sure, but that's far from enough.

This is the only truly reliable security approach: security by compartmentalization.

Re: Ubuntu 23.10’s New Software App Will Demote Debs (Apparently)

#103

In my mind, Ubuntu Desktop, and desktop linux in general, has always been a hobbyist project masquerading as a real production-ready environment. There's no money in building a desktop distro, so nobody really cares what happens there. The real power of Ubuntu has really always been as a server distro. I used to run desktop Ubuntu when I was younger and had more spare time to tinker with this nonsense, but nowadays I…

What would you consider a "real production-ready environment" for the desktop?

I don't know if I'm just lucky, but my last 4 HP computers (3 laptops and a desktop) have all worked perfectly on Linux since day 1, whereas Windows has been a complete shitshow, having to wait as long as 1 year for some peripherals to be supported. In one case, I didn't care, since it was the webcam, which I never use. In the other, it was a PITA since it was something graphics-driver related, and I couldn't reliably use an external 4k screen without doing a plug-unplug-replug-just-right circus. Sleep is hit-and-miss, with one laptop being almost guaranteed to wake up and crash at night while left asleep. The desktop PC still has unreliable thunderbolt support.

Then there's the UI that lags like no tomorrow, the windows jumping around when switching virtual desktops, new browser windows never showing up where you expect them, windows seemingly in the foreground not getting input, inconsistent input field behavior, etc. Oh, and half the dialogs are still from the windows 95 era, so it's not even "prettier" or more "cohesive" than my i3 / gnome frankendesktop. Also, the start menu search, aside from being slow, has a good probability of not finding the app I'm looking for.

Re: Ubuntu 23.10’s New Software App Will Demote Debs (Apparently)

#104
post #43

Earlier quoted context omitted.

They're just catching up to Android, ChromeOS, and SteamOS. The market rejected traditional needs-a-sysadmin linuxes on client a long time ago.

That's not an answer to my question. For example, I see no evidence Debian is moving toward app images as the standard way to distribute software. Same goes with Arch and I'm sure many others. And btw SteamOS is absolutely not a sandboxed environment. It just has a read-only OS filesystem so they can safely blow it away upon upgrade.

Debian and Arch are exceptions. I believe maintainers of every other mainstream distro are exploring immutable distros or at least shipping confined apps.

Re: Ubuntu 23.10’s New Software App Will Demote Debs (Apparently)

#105

Earlier quoted context omitted.

Yes. I know. For a desktop, bluntly, no, security is not a primary concern (I've also turned off spectre mitigations and so forth), and stable is waaaay too stable for desktop usage. Frankly, this kind of purist ideology--to the point of suggesting people use a different distribution--is simply ridiculous. For servers I'm running on the open internet, yes, you are absolutely right. But in that case I just run stable.

Security being a primary concern is a "purist ideology"? LOL.

The way you've framed it? Yes.

The choices aren't some purist notion of "secure" versus "not secure".

Security is a spectrum of practical choices informed by threat models, and it's only one (certainly important!) aspect of the complex choice of selecting an operating system.

For example, I would absolutely advise my mother in law to write complex passwords on sticky notes. She's far more likely to fall victim to credential stuffing than to have her apartment broken into and her passwords stolen, and I accept that trying to get her to use a password manager would certainly fail and she'd just fall back on reusing simple passwords.

A security purist who thinks in terms of "secure" or "not secure" would scoff that this. Writing down passwords! That cannot be done!

But given the threat model and an acceptance of expected user behavior, it's a perfectly valid choice.

If I'm running a Linux desktop, I've already made a more secure choice by getting out of the firing line of typical untargeted malware.

With some additional basic security hygiene, the greatest threats are a) phishing/social engineering, for which zero days aren't the primary concern, or b) targeted attacks where clearly they are.

As I'm not a target of interest, I'm not too terribly worried about the latter. As for the former, distro choice doesn't make much of a difference.

So yeah, given that threat model, I'm comfortable waiting the few days it takes for security fixes to trickle down from sid to testing. And if I really cared, I'd follow the guidance mentioned in one of the links you posted, and just pull patches down from sid on an as-needed basis.

Switching to a completely different distro, by contrast, would be a ridiculous overreaction give the context and associated trade-offs.

Re: Ubuntu 23.10’s New Software App Will Demote Debs (Apparently)

#106
post #18

Earlier quoted context omitted.

Oh, I have quite a few of them, from increased resource usage, proprietary aspects, through forced updating and more. The forced updating is particularly unacceptable. But, the 10,000 ft view is that they reduce the amount of control I have over my system. They offer restrictions I chafe at while giving me no benefit that I care about. I'm not going to sit here and say they shouldn't exist. That they're not to my tas…

I haven't run a desktop linux for years so this might be completely off, but what I got from it was there will two majors paths: - you're a hardcore oriented distro, you assume most things will be built from source, follow all of your dependencies and maintain the glue for your distro. Gentoo/Slackware style。 - you value convenience and go the snaps/flatpack route. And you can still go the convenience path while buil…

But there really needs to be a third path, in between the two you cite. Most Linux distros have been that third path.

Re: Ubuntu 23.10’s New Software App Will Demote Debs (Apparently)

#107
Ubuntu died for me when I upgraded to a new LTS and they replaced my deb firefox install with a snap version that used some non-standard mouse cursor.... Only in firefox. It apparently took them ~2 weeks to fix it, but in that time I rage-wiped by ubuntu install and switched to linux mint, which I also regret, but is snap free.

Re: Ubuntu 23.10’s New Software App Will Demote Debs (Apparently)

#108
I used Ubuntu Desktop in the past, I think they had the right idea with Unity, however it felt like they didn't push hard enough.

I was using Ubuntu Server everywhere, I stopped using it the moment they started forcing snaps. Snaps are inferior technology, I don't want to install a daemon just to install software on my server, I don't want an unpredictable auto upgrade technology and I don't want millions of mount points.

DEB and RPM have been around since forever, I can deploy software using those technologies and expect it to work in 10 years, the same cannot be said for Snaps, there is nothing there to guaranty that it won't just end up like: Upstart, Mir and Unity.

I can ship my software as a Docker container and have it work everywhere or I can put in a lot of work to ship a snap and have it only really work on Ubuntu, I don't even know what was Canonical thinking here. I don't care that I can install snapd on most distros, if it's not actively supported by the distro it does not count.

Re: Ubuntu 23.10’s New Software App Will Demote Debs (Apparently)

#109
Ok, so ubuntu is going south, but redhat is stopping to support rhel, will this affect fedora?

I use ubuntu on personal and servers and fedora for work,so picture me concerned.

I need a better distro for sure, because ubuntu lands with unattended upgrades enabled, which causes the server setup from my scripts to be unpredictable (sometimes is doing updates when booted the first time, but not always. Sometimes is also very fast). Recommendations for server distros that require minimal setup? I have only small applications running

Then, I was already thinking of moving to fedora on personal too, with KDE, but I am now concerned.

Any recommendations for personal desktop usage? I'd like low maintenance distros, so I'm not interested in massively recompiling things. And I have nvidia, which is why I chose ubuntu with kde and fedora where I would like to switch to kde. Gnome plugin policy is so bad that I don't upgrade fedora because of them

Re: Ubuntu 23.10’s New Software App Will Demote Debs (Apparently)

#110

In my mind, Ubuntu Desktop, and desktop linux in general, has always been a hobbyist project masquerading as a real production-ready environment. There's no money in building a desktop distro, so nobody really cares what happens there. The real power of Ubuntu has really always been as a server distro. I used to run desktop Ubuntu when I was younger and had more spare time to tinker with this nonsense, but nowadays I…

How do you deal with init scripts that try to uninstall packages, but ubuntu having unattended upgrades immediately, so at times apt-get is locked at first boot?
Post reply on HN