Ubuntu 23.10 is the last interim release before an Ubuntu 24.04 LTS (Long Term Supported release). With this release, the team behind Ubuntu OS aims to provide as many major changes and features expected to come in Ubuntu 24.04 release. This gives you a chance to take them for a spin and share any feedback with the development team for incorporation and extra refinements ahead of Ubuntu 24.04 LTS release.
If you are interested in testing all the anticipated Ubuntu 24.04 LTS features on 23.10 then this article is for you. But take note that 23.10 is not an LTS release. Avoid performing this upgrade in a production system, but maybe in a Lab environment where breaking things is allowed.
Login to your 22.04 system and perform any minor upgrades available.
sudo apt update && sudo apt dist-upgrade -y
Reboot if it’s required after new updates are applied onto the system.
[ -f /var/run/reboot-required ] && sudo reboot -f
Install tmux so that we can perform upgrade in its session instead of SSH.
sudo apt install tmux
The do-release-upgrade
utility is used to upgrade the operating system to the latest release from the command-line interface.
$ sudo do-release-upgrade
Checking for a new Ubuntu release
There is no development version of an LTS available.
To upgrade to the latest non-LTS development release
set Prompt=normal in /etc/update-manager/release-upgrades.
From the output we can confirm there is no LTS release that we can upgrade to. Once 24.04 is out, it will be available in the list of upgrade paths.
The default prompt is lts as seen below.
root@jammy:~# cat /etc/update-manager/release-upgrades
# Default behavior for the release upgrader.
[DEFAULT]
# Default prompting and upgrade behavior, valid options:
#
# never - Never check for, or allow upgrading to, a new release.
# normal - Check to see if a new release is available. If more than one new
# release is found, the release upgrader will attempt to upgrade to
# the supported release that immediately succeeds the
# currently-running release.
# lts - Check to see if a new LTS release is available. The upgrader
# will attempt to upgrade to the first LTS release available after
# the currently-running one. Note that if this option is used and
# the currently-running release is not itself an LTS release the
# upgrader will assume prompt was meant to be normal.
Prompt=lts
To upgrade to the latest non-LTS development release we need to set Prompt=normal in /etc/update-manager/release-upgrades.
sudo sed -i 's/^Prompt=.*/Prompt=normal/g' /etc/update-manager/release-upgrades
Start new tmux session to begin the upgrade process.
tmux
Now initialize system upgrade by executing the command do-release-upgrade.
$ sudo do-release-upgrade
Checking for a new Ubuntu release
= Welcome to Ubuntu 23.10 'Mantic Minotaur' =
The Ubuntu team is proud to announce Ubuntu 23.10 'Mantic Minotaur'.
To see what's new in this release, visit:
https://wiki.ubuntu.com/ManticMinotaur/ReleaseNotes
Ubuntu is a Linux distribution for your desktop or server, with a fast
and easy install, regular releases, a tight selection of excellent
applications installed by default, and almost any other software you
can imagine available through the network.
We hope you enjoy Ubuntu.
== Feedback and Helping ==
If you would like to help shape Ubuntu, take a look at the list of
ways you can participate at
http://www.ubuntu.com/community/participate/
Your comments, bug reports, patches and suggestions will help ensure
that our next release is the best release of Ubuntu ever. If you feel
that you have found a bug please read:
http://help.ubuntu.com/community/ReportingBugs
Then report bugs using apport in Ubuntu. For example:
ubuntu-bug linux
will open a bug report in Launchpad regarding the linux package.
If you have a question, or if you think you may have found a bug but
aren't sure, first try asking on the #ubuntu or #ubuntu-bugs IRC
channels on Libera.Chat, on the Ubuntu Users mailing list, or on the
Ubuntu forums:
http://help.ubuntu.com/community/InternetRelayChat
http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
http://www.ubuntuforums.org/
== More Information ==
You can find out more about Ubuntu on our website, IRC channel and wiki.
If you're new to Ubuntu, please visit:
http://www.ubuntu.com/
To sign up for future Ubuntu announcements, please subscribe to Ubuntu's
very low volume announcement list at:
http://lists.ubuntu.com/mailman/listinfo/ubuntu-announce
Continue [yN] y
Agree for repositories contents to be updated in the sources.list
file.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Hit https://mirror.hetzner.com/ubuntu/packages jammy InRelease
Hit https://mirror.hetzner.com/ubuntu/packages jammy-updates InRelease
Hit https://mirror.hetzner.com/ubuntu/packages jammy-backports InRelease
Hit https://mirror.hetzner.com/ubuntu/security jammy-security InRelease
Fetched 0 B in 0s (0 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Updating repository information
No valid mirror found
While scanning your repository information no mirror entry for the
upgrade was found. This can happen if you run an internal mirror or
if the mirror information is out of date.
Do you want to rewrite your 'sources.list' file anyway? If you choose
'Yes' here it will update all 'jammy' to 'mantic' entries.
If you select 'No' the upgrade will cancel.
Continue [yN] y
Hit y two times to upgrade the system packages to the latest as set in the new repositories.
2 packages are going to be removed. 73 new packages are going to be
installed. 513 packages are going to be upgraded.
You have to download a total of 782 M. This download will take about
3 minutes with your connection.
Installing the upgrade can take several hours. Once the download has
finished, the process cannot be canceled.
Continue [yN] Details [d] y
Continue [yN] Details [d] y
Remove obsolete packages once the upgrade is done.
Remove obsolete packages?
40 packages are going to be removed.
Continue [yN] Details [d] y
Continue [yN] Details [d] y
System upgrade is complete.
Restart required
To finish the upgrade, a restart is required.
If you select 'y' the system will be restarted.
Continue [yN] y
System will be restarted if you hit y when prompted. Once logged in, manually check if some packages needs automatic removal – obsolete ones.
$ sudo apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
gcc-12-base libblockdev-crypto2 libblockdev-fs2 libblockdev-loop2 libblockdev-part-err2 libblockdev-part2 libblockdev-swap2 libblockdev-utils2 libblockdev2 libbpf0 libdns-export1110 libicu70
libisc-export1105 libldap-2.5-0 libmpdec3 libparted-fs-resize0 libpcre3 libperl5.34 libpython3.10 libpython3.10-minimal libpython3.10-stdlib linux-image-5.15.0-91-generic
linux-modules-5.15.0-91-generic perl-modules-5.34 python3.10 python3.10-minimal
0 upgraded, 0 newly installed, 26 to remove and 0 not upgraded.
After this operation, 241 MB disk space will be freed.
Do you want to continue? [Y/n] y
The new OS release details are available in the /etc/os-release
file.
$ cat /etc/os-release
PRETTY_NAME="Ubuntu 23.10"
NAME="Ubuntu"
VERSION_ID="23.10"
VERSION="23.10 (Mantic Minotaur)"
VERSION_CODENAME=mantic
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=mantic
LOGO=ubuntu-logo
Check if any new upgrades are available. If you are using this guide at the time Ubuntu 24.04 is released, then you will see it.
$ sudo do-release-upgrade
Checking for a new Ubuntu release
No new release found.
Enjoy using Ubuntu 23.10 as we wait for the official release of Ubuntu 24.04 LTS.
See the following books that enables you to Learn Linux systems.
- Best Linux Kernel Programming Books
- Best Linux Books for Beginners & Experts
- Best Linux Bash Scripting Books
- Top RHCSA / RHCE Certification Study Books
- Best Top Rated CompTIA A+ Certification Books
- Best LPIC-1 and LPIC-2 certification study books