Skip Navigation

Did we kill Linux's killer feature?

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?

270 comments
  • 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.

    • Right? Like, c'mon OP, this is a really silly mountain to make out of the tiniest molehill.

      • I really hate the "we had it better before ${X} technology replaced ${Y}"; it almost never works in the Linux landscape.

        It's most likely a one liner to fix the issue you're having, and if it isn't, then you can replace the problematic part of your system with whatever suites you.

        You don't like Flatpaks? remove all of them and use packages from your distro's repos. Don't like GNU-utils? use Busybox. Don't like systemd? use Artix, Gentoo, or rip systemd out of your OS like a real man.

  • #nano /etc/systemd/system/flatpak-update.service

     
        
    [Unit]
    Description=Update Flatpak
    After=network-online.target
    Wants=network-online.target
    
    [Service]
    Type=oneshot
    ExecStart=/usr/bin/flatpak update --noninteractive --assumeyes
    
    [Install]
    WantedBy=multi-user.target
    
      

    #nano /etc/systemd/system/flatpak-update.timer

     
        
    [Unit]
    Description=Update Flatpak
    
    [Timer]
    OnBootSec=2m
    OnActiveSec=2m
    OnUnitInactiveSec=24h
    OnUnitActiveSec=24h
    AccuracySec=1h
    RandomizedDelaySec=10m
    
    [Install]
    WantedBy=timers.target
    
      

    #systemctl daemon-reload

    #systemctl enable --now flatpak-update.timer

  • Well, one way to address this would be to have a little hook that triggers when you do a full system upgrade, and it updates your flatpaks.

    also flatpaks are still centralized thanks to flatpak itself, same for snaps, nix, cargo and similar package managers. It's not like you have to update every single app by yourself, like for AppImages and apps on windows or macos for example.

  • @mfat I don't have snap or flatpak installed in any of my systems, therefore my entire system is still all upgraded with a single command....

  • I'm still updating the whole system with one command. Just avoid flatpaks. Repackage for your distro if you need to.

  • Arch-based distro here, a lot of shit from AUR and such and it autoupdates from my package manager/aur helper.

    The 2 or 3 flatpaks I installed I have to manually update... But to be honest I'm fairly sure that there's some config or change I could make to yay that would make it update flatpaks too. And even if not... Well. I could do what the (as of now) top comment said and make a lil' script. Though running two commands is really not a huge sacrifice :P

    Also back when I used Debian, apt had some hook in it that would update Flatpaks there too.

    No Appimages for me though. Don't care for the entire format.

    Anyhow to me the killer feature of Linux was never the package manager so much as it was how much liberty it gives me to customize everything. Flatpaks and such are just another aspect of that.

270 comments