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?
- ryannathans ( @ryannathans@lemmy.fmhy.net ) 135•1 year ago
Alias update=“sudo apt full-upgrade && flatpak update”
Fixed it for you
- bitteorca ( @bitteorca@artemis.camp ) 27•1 year ago
Since they’re using Fedora apt isn’t going to do anything, they would need to run
sudo dnf upgrade -y && flatpak update
- dino ( @dino@discuss.tchncs.de ) English7•1 year ago
appimages though?
- ryannathans ( @ryannathans@lemmy.fmhy.net ) 42•1 year ago
They don’t update, they are standalone files
- RickyRigatoni ( @RickyRigatoni@lemmy.ml ) 19•1 year ago
Appimages for in-dev programs usually have an auto-updater that runs when you run the program, too, which is accetapble by my factual and perfect standards. It would be nice if someone put together an appimage store to manage these, I guess.
- t�m ( @finickydesert@lemmy.ml ) 5•1 year ago
Why not create a plug in to the AppStore of whatever your using
- dino ( @dino@discuss.tchncs.de ) English1•1 year ago
This is obviously what I was referring to, but yeah…
- fmstrat ( @fmstrat@lemmy.nowsci.com ) English4•1 year ago
If you’re an Obtainium/install from GitHub fan, then don’t forget
gam update
.
- cmnybo ( @cmnybo@discuss.tchncs.de ) English85•1 year ago
There has always been the option of installing software from source. The package manager won’t update anything installed from source.
You don’t have to use Flatpak, Snap or AppImage if you don’t want to. If you use the package manager to install everything, it will update everything.
- BCsven ( @BCsven@lemmy.ca ) 22•1 year ago
Except doesn’t ubumtu now force a snap on you even if you try installing a package app?
- aperson ( @aperson@beehaw.org ) English4•1 year ago
Yes. Some packages are just meta packages for their snap versions.
If I use ubuntu I’m somehow forced to use them.
Even on Fedora the average user is presented with many flatpak results when they use the GUI software manager. Not everyone is technically adept enough to check the origin of the app. So it’s kind of being forced on users.
- barrett9h ( @barrett9h@lemmy.one ) 4•1 year ago
so ditch this nonsense and use a better distro?
- Ulu-Mulu-no-die ( @ulu_mulu@lemm.ee ) English4•1 year ago
If I use ubuntu I’m somehow forced to use them.
Yes, that’s why I stopped using it years ago (among other reasons).
Users are not out of options, they don’t need to check the origin of the apps themselves, it’s enough to ask other users what distros don’t do the things they don’t like and use those.
- Diplomjodler ( @Diplomjodler@feddit.de ) 45•1 year ago
In Mint you can install flatpaks from the software manager and those get updated by the update manager. So it’s all still one click.
- Fonzie! ( @lord_ryvan@ttrpg.network ) 1•1 year ago
I’d like to add that it’s even better than that!
You can install apt, flathub and snap (if you want to install it) packages from the same installer, complete with full package info, screenshots and reviews!
You can even compare them by switching quickly via the drop-down!The updater also checks all three, allowing you to scrutinise every part you want, or just updating it all with one button!
The installer and updater are actually better than using the command line, in my opinion, and I am by no means a stranger to the command line!
- Jannis ( @jannis@feddit.de ) 44•1 year ago
If you use a graphical tool like gnome software, it will update everything with one click on a button
- mwguy ( @mwguy@infosec.pub ) 16•1 year ago
And sometimes it will even work!
- Hamartiogonic ( @Hamartiogonic@sopuli.xyz ) 2•1 year ago
Oh really. I should probably try that again sometime. Usually I just choose not to roll the dice on gnome, and update through the terminal instead.
- mwguy ( @mwguy@infosec.pub ) 3•1 year ago
Well I did say sometimes.
- Endorkend ( @Endorkend@kbin.social ) 37•1 year ago
Don’t generalize whatever distro you’re running as “Linux”, especially when we’re talking package management.
Isn’t this the case with all major distros at least?
- BeigeAgenda ( @BeigeAgenda@lemmy.ca ) 3•1 year ago
Nope the major distros use about 3 different package management systems.
- fishr ( @fishr@lemmy.ml ) 34•1 year ago
IMHO the killer feature of linux is that you aren’t getting shit straight into your mouth every day by some corporation that decices to squeeze more cash money out of you.
And as others have pointed out most gui applications update all sources automatically.
- Tak ( @Tak@lemmy.ml ) 6•1 year ago
IBM salivating in the corner
- Limitless_screaming ( @Limitless_screaming@kbin.social ) 30•1 year ago
alias update='sudo pacman -Syu && flatpak update'
or just use one of the trillion GUI app stores like pamac, discover, or gnome’s thing whatever they call it. - IuseArchbtw ( @IuseArchbtw@feddit.de ) 28•1 year ago
alias upgrade=“sudo pacman -Syu && yay -Syu && sudo flatpak upgrade”
- LeFantome ( @LeFantome@programming.dev ) 1•1 year ago
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.
- IuseArchbtw ( @IuseArchbtw@feddit.de ) 1•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
- darq ( @darq@kbin.social ) 26•1 year ago
I can’t really relate? At least on my desktop. The software manager integrates with Flatpaks and upgrades them at the same time.
For most apps I’m going to prefer the usual way of doing things. But there are some apps that I actually kinda prefer as Flatpaks. Like Calibre I’m happy to install as a Flatpak. The updates are faster and it doesn’t add a whole host of dependencies that only it uses to my system.
There was a time when using the update button of Software Center was exactly equal to running “sup apt dist-upgrade”. Everything was simple and straightforward.
- shrugal ( @shrugal@lemm.ee ) 10•1 year ago
And broke all the time, and was a nightmare for devs to create and maintain packages for multiple distros, and was hard to find packages outside the official repos, and could create a package version hell, and had only a very rudimentary permission system.
Change is sometimes not a bad thing, you know?!
- gamer ( @gamer@lemm.ee ) 23•1 year ago
#! /bin/sh #update_everything_in_one_command.sh set -e apt update apt upgrade -y flatpak update -y
$ sudo update_everything_in_one_command
Tada!
- sane ( @sane@feddit.de ) 7•1 year ago
echo -e "\nalias upgrade='sudo update_everything_in_one_command.sh'" >> ~/.bashrc
- slacktoid ( @slacktoid@lemmy.ml ) English3•1 year ago
This dude… this dude fucks
- gnumdk ( @gnumdk@lemmy.ml ) 23•1 year ago
Silverblue here with automatic updates enabled, I do not care anymore, it just works.
- baconicsynergy ( @baconicsynergy@beehaw.org ) 4•1 year ago
Yes! The automatic updates are great for me and my family’s machines. System and Flatpak upgrades are done automatically, I never ever think of them.
Universal Blue has it too. They also have the “just” wrapper for not just system and flatpak, but containers as well.
- CjkOvPDwQW ( @CjkOvPDwQW@lemmy.pt ) 3•1 year ago
This, super love that distro !!! Perfect for users that don’t have a lot of needs.
Personally, I never got used to the container workflow :(
- pizzaboi ( @chris@lemm.ee ) 22•1 year ago
You’re using Linux. It took me about an hour to create a script that will upgrade all packages, Snaps, and flatpaks, complete with flavor text. The fact that I could do that, with total control over how and when to run those updates, is still a killer feature to me.
- danielton ( @danielton@lemmy.frozeninferno.xyz ) 22•1 year ago
Depends. Unless you’re on Ubuntu or Elementary, Flatpak and Snap are optional. When I’m on Arch, btw, I don’t bother with any of those and just use the AUR with a helper like yay.
But I find the convenience of Flathub too good to pass up on other distros. I have been using Linux long enough to remember when the only options if your distro didn’t ship something were to compile from source or to use a sketchy installer script, because Flatpak didn’t exist. And as others mentioned, if you’re using a full desktop environment, it likely can update everything at once via the GUI.
- lemmyvore ( @lemmyvore@feddit.nl ) English4•1 year ago
I don’t bother with any of those and just use the AUR with a helper like yay.
Normally I do that too but recently wanted to install an app from AUR that ran out of memory during compile on 4 GB of RAM. So being able to use an appimage or flatpak was still useful.
- KSP Atlas ( @KSPAtlas@sopuli.xyz ) 21•1 year ago
GUI interfaces like discover or gnome software will update all
- outadoc ( @outadoc@beehaw.org ) 9•1 year ago
Thank god we have these graphical GUI interfaces
- bionicjoey ( @bionicjoey@lemmy.ca ) 17•1 year ago
Graphical GUI User Interfaces*
- BaumGeist ( @BaumGeist@lemmy.ml ) 5•1 year ago
GUI stands for GUI User Interface
- bionicjoey ( @bionicjoey@lemmy.ca ) 4•1 year ago
GNUI
- bingbong ( @bingbong@lemmy.dbzer0.com ) 3•1 year ago
Ugh aktually it’s Graphical plus UI or as I like to call it G/UI 🤓
- grean ( @grean@lemmy.ml ) English20•1 year ago
Every problem can be solved by adding another layer of abstraction.