News for hackers. Stuff that matters.
Re:Ubuntu 24.04 Noble Numbat by proxysna on Thursday April 25, 2024 @09:38AM (#40157432)
Nice, just hope that canonical will lay off with the snap push. Otherwise looks really nice, will roll it out on my home machine today.

> Cloud images no longer preseed any snaps by default

Yes! Small improvement, but still.

Re:Ubuntu 24.04 Noble Numbat by sevagh on Thursday April 25, 2024 @11:07AM (#40158457)
They'll shutter Snap and adopt Flatpak in ~3 years.
Re:Ubuntu 24.04 Noble Numbat by selivanovp on Thursday April 25, 2024 @12:58PM (#40160033)
No, unless flatpak will be able to do what snap does for Canonical for years.
Re:Ubuntu 24.04 Noble Numbat by sevagh on Thursday April 25, 2024 @01:46PM (#40160742)
Just like they wasted time and effort on Unity and shuttered it in favor of Gnome, and they wasted time and effort on Mir and shuttered it in favor of Wayland, and they wasted time and effort on Upstart and shuttered it in favor of systemd.

Canonical will fail once again, but only after jerking the community around for multiple years.

Re:Ubuntu 24.04 Noble Numbat by NewJazz on Thursday April 25, 2024 @04:55PM (#40162906)
They didn't invest much into Upstart at all, and quickly announced a switch after Debian adopted systemd.

They still maintain Mir, as a Wayland display server.

Unity was one of the most popular desktop environments and brought Ubuntu users a lot of value over the years. It even influenced the design of GNOME 3.

Re:Ubuntu 24.04 Noble Numbat by freedomben on Thursday April 25, 2024 @07:11PM (#40164200)
Yeah I'm generally critical of Canonical for these moves, but Upstart is one I actually think was good and well done, as was their decision to move to systemd. Upstart was more pre-systemd anyway. IIRC Red Hat also used Upstart for a major release as well before moving all the way to systemd.
Re:Ubuntu 24.04 Noble Numbat by extraduder_ire on Thursday April 25, 2024 @09:27PM (#40164985)
I didn't understand much of the unity hate, especially compared to things like gnome 3. Really wish I could have HUD, combined titlebar/top panel, and typo-resilient search back. The latter two are possible with gnome extensions but don't work quite as well.
Re:Ubuntu 24.04 Noble Numbat by sevagh on Friday April 26, 2024 @08:11AM (#40168409)
It's not so much hating what they do but the manner in which they do it. CLAs and not contributing upstream from the get-go means Canonical's special stuff cannot go further than Canonical.
Re:Ubuntu 24.04 Noble Numbat by NewJazz on Friday April 26, 2024 @11:34AM (#40170739)
Even that is false. Community forks of e.g. Unity have cropped up that ditch the CLA. Open source is open source, after all.

That said I do agree that the CLA has doomed most of their projects from gaining considerable adoption in the wider Linux community. At least while Canonical is still running the project.

Re:Ubuntu 24.04 Noble Numbat by 3v1n0 on Friday April 26, 2024 @04:11AM (#40166950)
> Just like they wasted time and effort on Unity and shuttered it in favor of Gnome

Unity served well for years, it would have needed a rewrite anyway for the post x11 era, so indeed there have been wasted resources, but experiments are also important in technology, and many still love what was (is) the unity user experience.

> and they wasted time and effort on Mir and shuttered it in favor of Wayland

Mir is still there and it's used. It's now a Wayland compositor but it maintains its API, the different communication protocol doesn't change its purposes.

> and they wasted time and effort on Upstart and shuttered it in favor of systemd.

When Upstart started and was used no systemd existed or was designed, so it served many well for years. Not a waste.

Re:Ubuntu 24.04 Noble Numbat by tjoff on Thursday April 25, 2024 @01:37PM (#40160637)
Drive users away?
Re:Ubuntu 24.04 Noble Numbat by curt15 on Thursday April 25, 2024 @01:47PM (#40160746)
What's driving users away is not snap but rather Canonical's heavy-handed way of foisting snap on users that would make Microsoft proud.
Re:Ubuntu 24.04 Noble Numbat by tjoff on Thursday April 25, 2024 @03:11PM (#40161758)
... which on its own is one of the better reasons to ditch a distro.
Re:Ubuntu 24.04 Noble Numbat by bigstrat2003 on Thursday April 25, 2024 @07:15PM (#40164229)
Yeah this is exactly it. I don't really give a damn about snaps. But when I use apt to install something, and the OS silently installs a snap version instead, that's not acceptable to me. I'm not going to ever use Ubuntu again where I have a choice, personally.
Re:Ubuntu 24.04 Noble Numbat by curt15 on Thursday April 25, 2024 @07:43PM (#40164396)
>But when I use apt to install something, and the OS silently installs a snap version instead

Does `apt remove` remove the snap?

Re:Ubuntu 24.04 Noble Numbat by vetinari on Friday April 26, 2024 @05:23AM (#40167371)
And then 'apt install firefox' or 'apt install thunderbird' installs it back.
Re:Ubuntu 24.04 Noble Numbat by vetinari on Friday April 26, 2024 @05:22AM (#40167364)
> able to do what snap does for Canonical for years.

Exclusive control over the only available apps store?

Not going to happen.

Re:Ubuntu 24.04 Noble Numbat by kkfx on Thursday April 25, 2024 @01:50PM (#40160796)
Considering the fact that Snap and Flatpak are both crap interesting to sell commercial crap on GNU/Linux and not anything else...
Re:Ubuntu 24.04 Noble Numbat by cqqxo4zV46cp on Thursday April 25, 2024 @07:08PM (#40164178)
Are we still doing “GNU/Linux”? I thought that dog whistle was dead.
Re:Ubuntu 24.04 Noble Numbat by shrimp_emoji on Thursday April 25, 2024 @07:11PM (#40164198)
Dog whistle?
Re:Ubuntu 24.04 Noble Numbat by Starman_Jones on Friday April 26, 2024 @02:21AM (#40166424)
Re:Ubuntu 24.04 Noble Numbat by shrimp_emoji on Thursday April 25, 2024 @07:11PM (#40164203)
Snaps are crap.

Flatpaks are a cross distro sandboxable package format. That's why it won the cross distro package war. How is that crap?

Re:Ubuntu 24.04 Noble Numbat by ahartmetz on Friday April 26, 2024 @03:58AM (#40166878)
Snap taking a dump into the output of "mount" alone is reason enough for me to hate it. I want to see my drives, not that three bundles of libraries are separately mounted into "firefox snap dir" and three others into "snap base package dir" or whatever. There are other offenders, but Snap is the worst. I resort to "df" these days, but it doesn't show filesystem type and mount flags.
Re:Ubuntu 24.04 Noble Numbat by tryauuum on Saturday April 27, 2024 @10:01AM (#40180016)
this is a pretty weird complaint, the beauty of mount output shouldn't be in the developers' priorities
Re:Ubuntu 24.04 Noble Numbat by ahartmetz on Saturday April 27, 2024 @11:08AM (#40180543)
It's not the beauty, it's the usefulness. If the information that you want is buried in irrelevant information, it's effectively harder to get.
Re:Ubuntu 24.04 Noble Numbat by neitsab on Sunday April 28, 2024 @05:03PM (#40191876)
Workaround: mount | grep -v snap

which you can record in an alias for easy access.

Not great, but you implement it once and are done with it.

Re:Ubuntu 24.04 Noble Numbat by 3v1n0 on Friday April 26, 2024 @04:12AM (#40166964)
Replace snap with flatpak and the same definition still stands for both.
Re:Ubuntu 24.04 Noble Numbat by sevagh on Friday April 26, 2024 @05:41AM (#40167442)
No way. Flatpaks are clearly represented in the software shops of their adopted distros (I use Fedora and Pop!_OS, both of which use Flatpak).

From the software shop GUI, I can choose flatpak or dnf/apt from the dropdown. From the command-line, flatpak has its own commands (vs. apt silent under-the-hood behavior).

Flatpak is better than Snap. I use Flatpak for commercial software (Discord, Steam, etc.), but it remains my choice as a user.

Re:Ubuntu 24.04 Noble Numbat by kkfx on Friday April 26, 2024 @11:57AM (#40171025)
The point is totally different: the purpose of both is upstream-managed distribution, consider individual distro like a container ship to be loaded, something not to care about, a commodity.

We know the arguments: often distro packagers are late to update, some projects are very complex to be packaged and demand gazillion of resources to be built, upstream devs on contrary will surely keep they project package up-to-date, sandboxing is good for safety etc. BUT we also know the outcome: 99% of such packages are full of outdated and vulnerable deps, they are themselves mostly outdated, since they are not packaged by the upstream devs who just publish the code as usual, and they have many holes punched here and there because a browser that allow to download some files but you can't open them in other apps is useless, as a pdf reader who can't read a file because it's outside the right place. Beside that you get a 30+Gb desktop deploy instead of a 10Gb, dab performances, polluted home directory, very scarce ability to automate AND all of them still need a classic package manager since they can't handle the base system.

So why them? Because SOME upstream do not want to allow third party distribute their binaries, they are commercial vendor. They NEED such system to sell they products ensuring they can work as a cancer in an open ecosystem, not designed to be a ship for something but a unique individual desktop anyone tune as he/she want.

That's why they are crap.

The next step to classic package management is the declarative/IaC one, like NixOS or Guix System. Those who want Snap, Flatpack, Appimage, ... just want Windows, with all the bloats and issues of Windows.

Re:Ubuntu 24.04 Noble Numbat by 3v1n0 on Saturday May 04, 2024 @07:29PM (#40261134)
You can just use both in any distro. Really no difference.

Unless that snap allows lower level usage (services, kernel...)

Re:Ubuntu 24.04 Noble Numbat by 3v1n0 on Friday April 26, 2024 @04:05AM (#40166923)
Flatpak don't allow what snap doesn at lower levels than apps (kernel, system daemons...). So it's not possible.