this post was submitted on 17 Sep 2023
282 points (81.2% liked)

Linux

48178 readers
1300 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

A few years ago we were able to upgrade everything (OS and Apps) using a single command. I remember this was something we boasted about when talking to Windows and Mac fans. It was such an amazing feature. Something that users of proprietary systems hadn't even heard about. We had this on desktops before things like Apple's App Store and Play Store were a thing.

We can no longer do that thanks to Flatpaks and Snaps as well as AppImages.

Recently i upgraded my Fedora system. I few days later i found out i was runnig some older apps since they were Flatpaks (i had completely forgotten how I installed bitwarden for instance.)

Do you miss the old system too?

Is it possible to bring back that experience? A unified, reliable CLI solution to make sure EVERYTHING is up to date?

you are viewing a single comment's thread
view the rest of the comments
[–] nosurprises@lemm.ee 15 points 1 year ago* (last edited 1 year ago) (2 children)

We can no longer do that thanks to Flatpaks and Snaps as well as AppImages.

I heard about these things only on the internet. None of this exists on my system. So I'd answer 'no' to your question.

A unified, reliable CLI solution to make sure EVERYTHING is up to date?

It's called yay.

[–] Laser@feddit.de 6 points 1 year ago

I guess yay is an easy solution, but it's not very clean, at least from what I remember and just checked. It might be fine for single machines, but since it doesn't build in a clean chroot, you can never be sure that the claimed dependencies are actually complete, and as such, a package built with yay on one machine doesn't necessarily work on another, even for the same processor type (portability might not be possible anyways if you build with -march=native). It also doesn't handle automatic rebuilds for necessary .so-bumps, but this is generally non-trivial to solve AFAIK.

When I still used Arch exclusively, I had my own repository set up via aurutils on a remote server, granted this doesn't handle .so-bumps by itself either but at least you get somewhat clean packages every time, and you'll start to notice how many AUR packages are actually broken, with the most common occurrence being git not listed as a makedepends for packages that retrieve their data via Git because everyone using the AUR has it installed anyways to access anything on there. Granted this is a non-issue in practice but it's not the only one.

[–] 30p87@feddit.de 2 points 1 year ago (1 children)

I agree, but using yay, or rather the AUR, means being forced to use Arch. That's not only annoying for the average Debian/shopless-distro-user that does not want to relearn their system, or sysadmin who does not want bleeding edge software to host their website (as it may be your favorite machine learning 'anime' generator that's going down due to Nvidia drivers). It's also deadly for the 69 year old grandma as she somehow manages to use flatpaks (or whatever) on Ubuntu, but forgets to update them. Meanwhile she, very consciously, updates everything else through the Software Center every day (or lets it auto update). She wouldn't survive that jump to Arch (and certainly wouldn't survive the compile times of some AUR packages). Everyone suddenly using Arch would crash the whole ecosystem and community. Sysadmins would need to switch to Arch quickly now, as it's development stales because no one uses it.

The only solution would be, to create - yet again - a universal alternative to the AUR. Maybe someone, backed by eg. the Linux foundation itself, could create a good way of compiling AUR packages on every system. Now we would still have to somehow drop Flatpacks and Snaps (especially the latter), which some Distros will refuse to do. Canonical isn't going to yeet snaps out of the Store because it's shit and something better exists (because that would apply to the whole distro /s)

[–] TeaEarlGrayHot@lemmy.ca 3 points 1 year ago* (last edited 1 year ago)

The only solution would be, to create - yet again - a universal alternative to the AUR.

https://xkcd.com/927/