ubuntu studio 22.04 lts to 24.04 lts upgrade

Jeffrey Walton noloader at gmail.com
Mon Dec 9 16:01:00 UTC 2024


On Mon, Dec 9, 2024 at 10:06 AM Bo Berglund <bo.berglund at gmail.com> wrote:
> [...]
> What does do-release-upgrade *really* do?

See <https://git.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/tree/do-release-upgrade>.

> When I look at the underlying Debian information on their site regarding
> distribution upgrades they write in https://wiki.debian.org/DebianUpgrade the
> following interesting procedure:
>
> ------------------------------------------
> # First, ensure your system is up-to-date in it's current release:
> $ sudo apt-get update
> $ sudo apt-get upgrade
> $ sudo apt-get full-upgrade
>
> # In a text editor, replace the codename of your release with that of the next
> release in APT's package sources
> # For instance, the line
> #    deb https://deb.debian.org/debian/ buster main
> # should be replaced with
> #    deb https://deb.debian.org/debian/ bullseye main
>
> $ sudo nano /etc/apt/sources.list /etc/apt/sources.list.d/*
>
> ..non-free discussion ..
>
> # Clean and update package lists
> $ sudo apt-get clean
> $ sudo apt-get update
>
> # Perform the major release upgrade, removing packages if required
> # Interrupting this step after downloading has completed is an excellent way to
> stress-test your backups
>
> $ sudo apt-get upgrade
> $ sudo apt-get full-upgrade
>
> # Remove packages that are not required anymore
> # Be sure to review this list: you may want to keep some of them
>
> $ sudo apt-get autoremove
>
> # Reboot to make changes effective (optional, but recommended)
>
> $ sudo shutdown -r now
>
> ------------------------------------------
> Is this what is "under the hood" in do-release-upgrade?

No. See the source for do-release-upgrade.

> What I wonder is if this is possible to do on an Ubuntru 2020.04.6 server even
> when doing the update, upgrade, full-upgrade, reboot does *not* bring up the
> prompt for do-release-upgrade when I log on?

Jeff




More information about the ubuntu-users mailing list