Remix.run Logo
▲ enriquto an hour ago

    # 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.
▲sidkshatriya 7 minutes ago | parent [-]

For a rolling release like Arch Linux you just always use pacman -Syu.

But yes you are correct, if you want to upgrade a Ubuntu distribution like 26.04 you do need to issue a command like `sudo apt dist-upgrade` which is admittedly an additional command. But then you could run 26.04 for many years. In OpenBSD anytime the base system/kernel is upgraded for a security fix or point release you need to do a slightly more complex dance.