logoalt Hacker News

sidkshatriya • today at 6:51 AM • 5 replies • view on HN

> The upgrade mechanism from 7.9 to 8.0 is still gloriously simple, and exactly the same as it has been for many years

The upgrade mechanism on a typical Linux distribution is _even more_ gloriously simple, and exactly the same as it has been for many years.

  # Fedora/RHEL
  $ sudo dnf upgrade -y

  # Debian/Ubuntu
  $ sudo apt update && sudo apt upgrade -y

  # Arch Linux
  $ sudo pacman -Syu

The false distinction between the OS packages and user local (/usr/local) packages during upgrade causes much unneeded complexity. FreeBSD is making this go away which is welcome.

Replies

enriquto • today at 7:02 AM

    # Debian/Ubuntu
    $ sudo apt update && sudo apt upgrade -y
But this is equivalent to syspatch && pkg_add -u , this does not upgrade the computer from one version of the OS to the next.
➕ show 1 reply
so-cal-schemer • today at 9:41 AM

Hey, you'd love this one:

  guix pull && guix system reconfigure
To undo, it's:

  guix roll-back
(now, where is guix-bsd?..)

https://guix.gnu.org/manual/1.5.0/en/html_node/Upgrading-Gui...

Perz1val • today at 7:35 AM

I'm pretty sure it takes more to move debian 11 to debian 12 and Arch doesn't even have versions

➕ show 1 reply
tylerius • today at 9:43 AM

And don't forget to cross your fingers so the upgrade does not break your system... like what happened to me when systemd came out.

IslandRebel • today at 8:12 AM

A typical Debian upgrade process is more involved than that.