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?

  • @zacher_glachl
    link
    5
    edit-2
    1 year ago

    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

    • @SpaceNoodle
      link
      111 year ago

      “no need to overcomplicate things, just write a complicated alias”

      • Quazatron
        link
        31 year ago

        This is the way of the system administrator. You do a boring task once, even if it takes longer. The time saved accumulates over time.

        Aliases are your friends.

      • @zacher_glachl
        link
        31 year ago

        How is that a complicated alias? Seems pretty straightforward to me. But again, if you prefer a shell script which does the same thing but separated line by line, also fine