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?

266 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.

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

     undefined
        
    [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

     undefined
        
    [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.

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

  • @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 update all of my flatpaks, snaps, and dnfs(?) with the click of a button in GNOME Software.

    Edit: apparently I stopped using snaps at some point. Still, GNOME Software does both my flatpaks and my regular stuff.

    • Same, on my Debian machines I barely even think about if packages are debs or flatpaks because it's so seamless.

266 comments