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?

    • genuineparts
      link
      fedilink
      6
      edit-2
      10 months ago

      This. And it usually is open source, if you don't want to install a flatpak or docker image, you can always compile it yourself, and if you feel generous, you package it up as an .rpm, .dep, or whatever your distro of choice wants and create a download for it. I also have not (yet) encountered a project i wanted to install that didn't either provide packages or at the very least detailed instructions if I want to just install that locally.

    • @bankimu@lemm.ee
      link
      fedilink
      -210 months ago

      I mean yeah. I mean wtf.

      I mean, if I install something compiling from source, I would not expect anyone else to manage it, right? I mean why would anyone expect that flatpak snap etc. all get managed automatically, they even forget how they installed something, it is so ridiculous.

  • @fishr@lemmy.ml
    link
    fedilink
    3710 months 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.

    • @LeFantome@programming.dev
      link
      fedilink
      1
      edit-2
      10 months 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@feddit.de
        link
        fedilink
        110 months 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

      • @andruid@lemmy.ml
        link
        fedilink
        410 months ago

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

        • voxel
          link
          fedilink
          2
          edit-2
          10 months ago

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

  • @cmnybo@discuss.tchncs.de
    link
    fedilink
    English
    3110 months 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@lemmy.ca
      link
      fedilink
      710 months ago

      Except doesn't ubumtu now force a snap on you even if you try installing a package app?

    • mFatOP
      link
      fedilink
      English
      510 months ago

      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.

      • Ulu-Mulu-no-die
        link
        fedilink
        English
        2
        edit-2
        10 months 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.

  • @gamer@lemm.ee
    link
    fedilink
    2910 months 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!

  • pizzaboi
    link
    fedilink
    2810 months 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.

  • KSP Atlas
    link
    fedilink
    2410 months ago

    GUI interfaces like discover or gnome software will update all

  • @Diplomjodler@feddit.de
    link
    fedilink
    1910 months 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!
      link
      fedilink
      110 months 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!

  • @Gamey@feddit.de
    link
    fedilink
    1810 months ago

    The GUIs do that in a even easier way for new users and experienced people can always just add a simple bash alias, a universal command never existed anyway because we have various different package managers on different distros so I don't see any lost feature whatsoever tbh

    • @const_void@lemmy.ml
      link
      fedilink
      210 months ago

      This. AUR packages are easy to create too. Flatpaks are only useful if you want to use something temporarily.

    • @Sentau@lemmy.one
      link
      fedilink
      210 months ago

      Especially when you also use a aur helper like yay. Also I have to do is type yay and enter my password and then everything is updated

      • voxel
        link
        fedilink
        1
        edit-2
        10 months ago

        or paru. basically like yay but slightly faster (really noticable on crappy hardware, paru searches packages like 2-3 times faster on a 5200rpm hdd)