this post was submitted on 17 Sep 2023
290 points (81.5% liked)

Linux

48400 readers
691 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?

(page 4) 50 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 1 year ago

I use one command to upgrade the whole system: paru one one system and yay on the other laptop.

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

Fedora updates flatpaks automatically, system updates too, but you need to reboot. Which Fedora version do you use?

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

100% agree with you OP.

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

I think a script with apt/pacman/dnf etc., flatpak update can do the job as well?

IMO its against the unix vision to extend apt to manage flatpak as well.

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

I use BAUH as a GUI "update everything in one click" does repos, aur, flatpak, snaps, appimages. Paru is CLI option for repo, aur and flatpak. I dunno if it does snaps never checked.

load more comments (1 replies)
[–] [email protected] 3 points 1 year ago

I use very minimal software and usually don't care about Flatpak

[–] [email protected] 3 points 1 year ago (2 children)

emerge -uDN @world

...and head to bed for me.

load more comments (2 replies)
[–] [email protected] 3 points 1 year ago* (last edited 1 year ago) (3 children)

No need to overcomplicate things, just write a small shell script or even just an alias. I use this daily:

alias get-rekt="sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y && flatpak update -y && flatpak remove --unused --delete-data -y"

adjust accordingly for Fedora and/or snaps. Obviously doesn't work for appimages or manually compiled stuff which should be a last resort if there's no other sensible way to install stuff.

edit: voyager shat the bed with the code block but you get the point

load more comments (3 replies)
[–] [email protected] 3 points 1 year ago

I'm using MX Linux and don't use any flatpak or snaps, only good old debs

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

I get 99% of my packages via nix and the other 1% through appimages which I can put anywhere I like on my disk

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

Yeah, flatpaks are a pain in the ass. So glad that I don't have to use them since switching to Arch.

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

yeah like other people have rec'd, I just wrote a script for installing/removing/upgrading/searching all the package managers I have. this was used as a tongue in cheek jab and has never truly been a brag.

load more comments (1 replies)
[–] [email protected] 2 points 1 year ago

If you want a single command, consider topgrade. Not sure if it supports Flatpak and Snaps yet, as I do not use those (yet).

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

Perhaps a small bash script to iterate through all of the package delivery mechanisms' for updating everything?

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

It doesn't even need to be a script you could just alias the 2 commands on a single line to a command in bashrc

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

🎶That's why i don't like and use flatpaks, snaps and appimages 🎶

load more comments (1 replies)
[–] [email protected] 2 points 1 year ago

It's wild what can be done with some clever aliases. Linux is better now than ever before.

load more comments
view more: ‹ prev next ›