Hacker News new | past | comments | ask | show | jobs | submit login
Official Ubuntu flavors must stop including Flatpak by default (theregister.com)
44 points by LorenDB on Feb 23, 2023 | hide | past | favorite | 39 comments



How are any of the Ubuntu moves with Snap in the spirit of open source? I notice that Pop!OS installs flatpak but I didn't realise they weren't considered an "official" variant of Ubuntu, so perhaps it will continue doing that.

The Register article is overly kind about this, I appreciate the "news not editorial" flavour but the real story is that Ubuntu apparently consider themselves apart from the community that makes their software and they should now be consigned to history by that community. Off to uninstall it in my network now.


My 2 cents fwiw. Pop os is probably the best consumer linux desktop experience. Flatpack installs, company customer support, and a well configured Ubuntu base make it ideal.

I'm glad they're not an official flavor, canonical hasn't been doing a great job on their consumer desktop sector because their money is made via the server installs and distributions.


After using Ubuntu for a decade, I switched to Debian with Bullseye and I couldn't be happier. Or can I? Why use PopOS, and does it do KDE?


Why use Pop!_OS? I guess because the name makes you look like a 1337 h4xx0r.

Joking aside, Pop is generally liked for its easy-to-use interface. System76 has made a well-polished suite of software, and they are in the process of replacing GNOME with their own DE to make it an even smoother experience.

Of course, if you use something else (I prefer openSUSE Tumbleweed), you can just stick to Flatpaks entirely without having to get concerned about snaps.


I use Pop OS (mostly) but there is not a super compelling use case for if you don't want to just go with their defaults. Pop OS is a time saver in the sense that it gives you a bunch of things out of the box (disk encryption, tiling window manager, NVIDIA drivers, Apple-like recovery partition in case anything goes wrong, etc) that you could set up yourself, but don't have to.

You can basically set up Ubuttnu or most other common Linuxes to be just like Pop OS by spending a few hours on it.

For people using another distro without customizing it much after the installer is done, then I would usually recommend Pop OS. I think it's the best "out of the box" Linux for most general-purpose computing like programming, email/web, Slack, etc.

But if you already switched to Debian and are happy, then there's probably no huge benefit to moving to Pop unless you are sick of tinkering and just want automatic system updates that keep you pretty up to date with recent kernels and packages without you having to do anything.


Why use it? Probably no reason if you’re happy on debian. It’s just a solid distro and as other have said the best out-of-the-box desktop experience out there IMO. Definitely not going to win over any KDE fans but their tuned GNOME DE is really slick, and it’s only gonna get better when they release their own DE “COSMIC”.

I’ve been dailying Pop on all my main machines for years now without any problems. Think of it as Uncononical’d Ubuntu in a way but they’re really committed to making a unique footprint


> Pop os is probably the best consumer linux desktop experience.

I've tried it. I really did not like it.

May I suggest that you try to separate your personal preferences, which are your own business and 100% fine but are yours, from a general canonical announcement such as "best consumer... experience" which is a sweeping generalization and is not true?

The existence proof that Pop OS is not the best consumer experience is this: the most widely-used desktop Linux in the world is ChromeOS.

It has something around 200-300 million happy users, and ChromeBooks now outsell Macs and have been doing since 2017 in the USA and 2020 worldwide.

ChromeBooks are pure Linux machines, with a desktop Linux based on Gentoo.

There are about 10x more ChromeBooks in use than all other desktop Linux distros PUT TOGETHER.

So, that proves by sheer numbers that the most popular consumer Linux is ChromeOS. It sells, for money, more than all the free distros put together.


The chromeos argument is straight up bad faith. Google is a tech giant with immense marketing capabilities. They sell laptops which obviously outsell anything like framework/purism/system76/pine64, they would even if the product was garbage. Now chromeos is what these machines get preinstalled with. The domination is a mechanical consequence of what google is and that they happen to have a product running it, it doesn't say anything about chromeos.


I strongly disagree with every line of that.

> straight up bad faith.

You do not know my motivations, so kindly do not question them.

> Google is a tech giant with immense marketing capabilities.

So?

So is Red Hat, for instance.

> They sell laptops which obviously outsell anything like framework/purism/system76/pine64

[1] Wrong: not only Google sells Chromebooks. In fact I submit that it is a minority vendor of Chromebooks.

[2] Obviously outsell etc.

Why is this obvious? What do you feel is obvious here, and why?

> they would even if the product was garbage.

Evidence, please? On what basis do you make this claim?

> mechanical consequence of what google is

What is a "mechanical consequence"?

> they happen to have a product running it

"happen to have" is bogus. This took years, major effort, and the people behind it had to fight for it.

> it doesn't say anything about chromeos.

It 100% does. It says that Linux is ready for the desktop, and that it has been for years. It outsells the only other rival product to MS Windows; how much more ready can anything be?

The year of Linux on the desktop came and went and the Linux world was, as ever, too busy squabbling and arguing with itself to even notice.

Meanwhile, hundreds of millions of consumers are happily running Linux laptops and Linux phones and just use it, all day every day...

And all the distros are a rounding error.


I'm sorry you took it personally, if it makes you feel better, the article in fact i found informative. Maybe my words were badly chosen: i wasn't judging your motivations, i was just calling bs. I just popped in on this thread about pop_os which i don't have any opinion on and just wanted to point that you were completely misusing the chromeos example. Your argument was an appeal to popularity which is never a valid an argument for quality and particularly not in this case where you have one of the biggest corporation in the world vs kinda grassroots community distributions or otherwise niche entities.

I don't understand why you're choosing this hill to die on and what point you're trying to make. You mentionned chromeos is gentoo underneath. Why don't you attribute it's success to gentoo? You're nitpicking on everything i said even irrelevant stuff (who cares who actually builds chromebooks? they are still google-stamped). And come on, are you really comparing the power and influence of redhat and google on consumers? Virtually no-one on the street knows about redhat (or any kind of linux corp), now google...

Something as fundamental and basic like consumer operating systems is basically unmovable and what people use has little to do with what's available and mostly with historical inertia and the state of worldwide tech politics. You're saying it yourself, linux was ready for years. To move anything you will have to exert tremendous social influence. People don't choose their OS, they are mostly conciliating between their job, their education and their family's or friend's tradition. So once again: chromeos being widespread is not an indicator of it's qualities (i'm sure it's perfectly fine tho), but just a measure of google's influence.


I think you have got this backwards.

You are imputing to me things I am not saying.

All I am saying is that ChromeOS is proof that Linux _is_ ready for the desktop. We can say it's ready because hundreds of millions of people are using it.

As such, all the noise about packaging systems is just nerds fighting. It doesn't make any difference. The revolution came and it went past and all those most bothered didn't even notice.

Some have said Android is the proof, but it's not a normal Linux distro and it's not on the desktop in significant numbers. It's its own thing.

And we're not talking about servers, which are a whole other battle in another place, where Linux has also won but in ways that don't directly affect Joe Q Public at all.

It's not about marketing. It's not about brand names. It's not about adverts. I don't think I've ever seen an advert for a Chromebook outside of places that already target techies anyway, and few of them.

As I said: I disagree, with your reasoning and your conclusions. But you seem to be be talking about something else entirely, and I am not even sure what.


I disagree with this reasoning on the grounds that quality (however that may be defined) is only one of many factors that influence Linux distro popularity.

FWIW, my unrequested opinion, is that I largely agree that Pop!_OS is one of, if not the, best consumer distros.


> The Register article is overly kind about this

Wait, what?

I wrote the article. In what way do you feel I am being "overly kind"? You baldly state this as an assertion without any backup or argument or evidence to support it.

> I appreciate the "news not editorial" flavour

Not really, no. I added in the analysis and evaluation that I felt it merited.

> but the real story is that Ubuntu apparently consider themselves apart from the community that makes their software

Why do you feel that that is "the real story"? On what basis?

Ubuntu is not a community distro. Ubuntu is built and maintained by Canonical on the basis of Debian.

Debian is a community distro.

The Ubuntu remixes are, arguably, community distros, but a requirement of being an official remix is only using upstream Ubuntu packages. I specifically spelled that out in the article, with a link for citation, but the reason I know is that I approached Canonical and asked about making new remixes, years ago, and they told me no, for 2 reasons:

* One was that one of my planned remixes used proprietary freeware. This, for clarity, did in the end get launched as a product, but without Ubuntu branding, at Canonical's demand.

* The other one needed external repos because the versions in Ubuntu's repos are too old. Ubuntu would not take newer versions into their repos; the packages came from Debian, and Debian didn't have current versions, so for Canonical it was Somebody Else's Problem and there the discussion ended.

> and they should now be consigned to history by that community

If you don't want to use an Ubuntu remix, nobody is forcing you.

But millions do, more than any other free Linux distro. Ubuntu has merits. Its users like those. Some don't. Debian hasn't gone away. Neither has Slackware, one of the few distros that predate Debian.

That is how evolution works. We humans evolved from apes, which evolved from monkeys, which evolved from things very like lemurs, but all of those still exist because they are very good at doing what they do and being what they are. Monkeys are better at being monkeys than humans are at being monkeys.

Debian is better at being Debian than Ubuntu is, so Debian continues to exist.

Debian continues to be rather harder to install, which is why SpiralLinux exists.

Debian continues to be rather dogmatic about init systems, which is why Devuan and antiX and MX Linux exist.

Debian continues to be built from rather out of date packages, which is why siduction exists.

And so on.


Good lord, maybe put that kind of effort into the next reg article!


This is a joint decision from all Ubuntu flavors. It frustrates me so much that every Ubuntu-wide decision gets framed as "Canonical does x". It ignores the thousands of volunteers who pour their heart and soul into this project. The fact is that we, as a project full of volunteers, have decided that Ubuntu is built on debs and snaps.

One of the core features of Ubuntu is that you get 5 years of support for your software after release. We go through great lengths to ensure that whatever you install the first day after release will continue working for 5 years. We simply can't ensure that with a third-party repositories like FlatHub. This is why the Ubuntu Technical Board decided a long time ago to not ship third party repositories by default. It doesn't matter if these are ppa's or Flatpak remotes. Any flavor that was previously shipping Flatpak, shipped it without any remote, even before the decision just posted.

As Aaron said it so well on the discourse: "Most of the Ubuntu flavors provide free technical support via forums and IRC channels. Most of our users are using software from the Ubuntu repos or Snap Store and we are equipped to help them. We know what to expect from the software our users run and can give targeted and efficient advice on how to resolve issues. Some of us can even kick things into shape in the archives if there’s a legitimate problem with our packages, or we know who to talk to.

With Flatpaks, the situation is much more dismal from a technical support perspective. We have little-to-no clue what quirks the software vendor(s) will have introduced since we don’t work closely with them. We have no way to reach in and fix legitimate bugs aside from filing bug reports and hoping that they will be answered. We’re going to end up with frustrated support staff and even more frustrated users. And all because they didn’t know that if they clicked a particular button in their flavor’s app store, they would be downloading unsupported software."


> This is a joint decision from all Ubuntu flavors.

https://fosstodon.org/@wimpy/109908489437633387 ?

> [...] and even more frustrated users.

Speaking of being a frustrated user, can we use snap yet without the weird hardcoded $HOME stuff? la https://nelsonaloysio.medium.com/installing-ubuntus-snap-on-...

> unsupported software

Gnome Software already labels this fine, same for Apple's App Store, Google Play, Microsoft's Store, etc.


> Speaking of being a frustrated user

Also speaking of being a frustrated user, can we talk about the system resource usage? snapd ruined my Ubuntu experience for a while. I finally disabled it before ultimately leaving Ubuntu altogether.


Off topic: how can I open these Mastodon links in the app? Since there are multiple hosts, one can not forward to the app based on URL.

On topic: Ubuntu and flavours are free to remove flatpak from the default install but removing the existing gnome support seems childish and also requires a lot of work.


I’m not sure I understand how snap makes this any easier.

The only difference appears to be that since you only officially support snap you work closely with the vendors on their snap packages. If you only officially supported flatpak, you would work closely with vendors on their flatpak packages.


   Snap remains the more capable tool: it supports server apps on machines with no GUI
Ah, yes - who wouldn't mind their web server, rdbms, hypervisors, etc going down while they are upgraded and restarted automatically whenever snapd decides it is time to do so? gag


I wrote the line you're quoting.

You are imputing meaning to it that I did not put there.

Ubuntu is a very popular and successful server Linux, used on millions of VMs.

I strongly suspect that those VMs are not built with Snap and don't use it for much. I think they're build from .deb packages, probably deployed with Puppet or Chef or Juju or something.

But Snaps work on servers, and Ubuntu Core is built only from Snaps. That is all I said. I didn't make any claims of how people deploy Ubuntu on servers.

Please don't put words in my mouth.


That wasn't a dig at you - that was a dig at snaps. My primary objections to snapd are:

* updates are pushed/applied and services restarted on an arbitrary schedule which means you can't test updates prior to rolling them out or otherwise control when a service is taken offline by an update

* snapd doesn't log the actions it takes to standard OS logging facilities and the internal logs accessible via "snap changes" are cleared after 72 hours so you can't tell what actions it has taken

* snapd pollutes home directories with a directory called "snap" that can't be moved/symlinked/hidden.

snapd is a poorly conceived project written by people that are profoundly ignorant of how real services and servers are actually operated. Despite having the above flaws repeatedly pointed out, the developers have shown zero interest in taking actual concrete actions to address them.


OK, these are valid points.

Are there any bugs open on Launchpad for any of these? If not, and you seem both knowledgeable and opinionated on this, open some! I will happily mark them as affecting me too.

Personally, I run an `apt full-upgrade -y` every day on my working boxes, and I update snaps and flatpaks in the same command, so this never affects me personally, but they are valid points.

I can also write about them and possibly spur Canonical into some action, but I'd need some public discussion of the issues with Canonical staff.

E.g. bug reports on Launchpad. ;-)


Appreciate the willingness to raise these issues but Canonical has flat out rejected the idea of allowing sysadmins to disable automatic updates and run them during an arbitrary maintenance window. They offered up a mechanism to defer automatic updates to occur within specific windows but that does nothing to alleviate the problems for critical services run as snap packages that require coordination with other parts of the fleet. Additionally, you have to configure snap on each system ahead of time for a maintenance window to take advantage of that feature and of course any system changes have to have their own maintenance windows and change process paperwork so now you have 2x the amount of work to do just because Canonical thinks they are in the right.

The home directory pollution problem was pointed out by many people at the very beginning of the project specifically complaining that that needed to change immediately because of the concern of that decision becoming ossified into the codebase. The developers promised to look into it and now here we are almost a decade later with that stupid directory still polluting home directories because now it's too hard to revisit and would break too many things. :-/

Finally, the whole issue with snapd not explicitly logging package updates and other actions to OS facilities (that can be forwarded to security services) in favor of its own internal log that it self-purges every 72 hours is just pure insanity. There is simply no way having snapd running in any sort of regulated environment would ever pass an audit.


> Canonical has flat out rejected the idea

I need citations.

I am not saying I doubt you, but if these objections are to be reported upon, I have to be able to point to the receipts. I need to see the bug reports, or the mailing list posts, and specific examples of the "home directory pollution" and so on.


I've long since stopped tracking the current state of snap related issues so I don't have any relevant links to provide.

1) For auto updates, you can find plenty of examples via Google/Reddit searches that eventually tie back to discussions on the Ubuntu discourse forums where the snap developers weigh in and explicitly state they are not going to provide a way to disable snap auto updates.

2) For home directory pollution, IIRC the objections were raised on the bug tracker for snapd so once again it should be possible to dig up the discussions around that pretty easily.

3) For the 72 hour thing, you can find people complaining about the lack of proper logging easily enough where eventually someone mentions the 72 hour auto purge problem. I verified it myself by going through the source code for snapd with the comments in the code mentioning trying to keep memory usage down. I recall scarcely believing anyone would do something that bone headed but here we are. This may be a case where no one has "officially" raised an issue on their forums or bug tracker though that ties the two things together though.

Hope that helps you track that down.


And I don't why Snap exists when everyone already uses docker and OCI containers.


Those are completely different things.


I don't get*


If history is any indicator there is a good chance that Canonical will eventually give up on Snap and assimilate like they did with systemd (upstart), Wayland (mir), and Gnome (Unity).


Yeah and in the period before giving up they often had a last-ditch all-in effort. Hopefully this one is it and they'll come to their senses.


Ah yes, a sure sign of a healthy, successful product is when those behind it attempt to kneecap it's competitor in broad daylight when everyone is watching.


Apparently there is no took for the Flatpak community in the community of communities.

While I see uptake of Flatpaks, I rarely see anyone pointing at a snap. Is anyone using Snap (out of free will)? Why do you prefer it?


Personally I don't like either unless it's absolutely necessary for third-party software. The dynamic loader can't do its things when lots of different library versions exist and it wastes other resources and space. And it's very much harder to update everything when a vulnerable library exists.

This is also the main issue I have with snap. In their attempt to make it ubiquitous, Ubuntu are using it even for the smallest console apps with almost no dependencies.. I've even seen it used for go apps which are statically linked so they really have none. It's just a lot of overhead for no reason then.


> no took for the Flatpak community in the community of communities.

I can't parse that sentence. Are there typos in it?

> Is anyone using Snap (out of free will)?

Ubuntu representatives told me at the Ubuntu Summit in Prague last year that their numbers suggest that Snap usage in the real world by Ubuntu users is around 10x more than all Flatpak usage.

They tun the only public Snap store. (There are others but they are not public.)

Flathub does publish stats, e.g. https://klausenbusk.github.io/flathub-stats/#ref=ca._0ldsk00...

I have no proof of this, but they seemed confident. I linked to my article about Ubuntu firmly backing Snap in the story at the top of this page, which I wrote.


> I can't parse that sentence. Are there typos in it?

Yes, couldnt edit anymore. took->room


I am curious about how this decision meshes with the concurrent announcement that the KDE/GNOME folks are looking at using Flathub as a Linux Store:

https://news.ycombinator.com/item?id=34916644


Yeah this article is very pro-snap and disregards the movement in favor of flatpak which has stepped up in kind.


I wrote the article.

I am not particularly pro-Snap. I am not particularly pro or anti anything in this space.

I repeatedly said that Flatpak has strong popular support. It does. I see it often.

What I tried to point out was the ways Canonical feels that Snap is superior to Flatpak.

There is a lot of FUD in this debate. More than usual.

Personally, once I discovered Martin Wimpress' `deb-get` tool, I removed both snap and flatpak from my own main Ubuntu boxes.

But then I joined the freebie Ubuntu Pro deal and then snapd gets reinstalled, so it didn't seem worth fighting it. But Pro has nothing I personally need, so I may yet purge them both again.

If nothing else, I enjoyed the faster startups, the cleaner `mount` output, and the simpler update routine.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: