this post was submitted on 17 Sep 2023
268 points (80.7% liked)

Linux

48655 readers
1386 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
[–] [email protected] 35 points 1 year ago (2 children)

alias upgrade="sudo pacman -Syu && yay -Syu && sudo flatpak upgrade"

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

What you suggest works for Arch distros only of course. Actually, yay -Syu will do the pacman stuff for you first anyway so you can skip that.

If you are using EndevourOS, check out eos-update. I just discovered it. It is basically the same thing but it will automatically handle keyring updates and db.lck issues if you have ever run into those. Basically, it is what yay should be.

Another EndevourOS gem is eos-shifttime. It will set your system to whatever pacman would have done on a specific date. You can use it to roll-back to a specific date. Or, if it has been forever since you upgraded, it lets you upgrade more incrementally than catching up all at once. Pretty cool. I guess you could also mimic the Manjaro experience by always upgrading to whatever was in the Arch repositories 3 weeks ago.

[–] [email protected] 1 points 1 year ago

Of course those commands only work for arch-based distros, but it is completely possible to adapt them to fedora or debian-based distros

[–] [email protected] -1 points 1 year ago (1 children)
[–] [email protected] 4 points 1 year ago (1 children)

I think a lot of people just won't endorse snap as long as it's backend is proprietary

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

snaps are terribly, terribly slow, especially if you still have a mechanical drive.