Ubuntu Version:
Ubuntu 25.04 interrupred releaseupgrade to 25.10
Most (around 980) packages are at the level of 25.10, including the package management apt, dpkg & Co.; However, there are still residues (see below) at the level of 25.04.
Desktop Environment (if applicable):
GNOME
First of all – What I DON’T want:
I am not looking for a solution on how to fix package management. I have already successfully tested a practicable workaround. I am concerned here with understanding.
Question one: (optional)
Why has the package ubuntu-desktop-minimal not already been updated with apt-get upgrade --with-new-pkgs, but would it only be updated with apt-get dist-upgrade? Only new packages are installed and none is removed.
Question two:
Why does apt-get dist-upgrade not install the remaining packages, whereby some must be removed? That’s what this command is for.
How does this situation come about?
I started some weeks ago to be prepared for future questions about interrupted ReleaseUpgrade. I wanted to test this situation.
The following have been carried out:
- clean install of Ubuntu 25.04
- ReleaseUpgrade to 25.10 intentionally interrupted
- Repair using
sudo dpkg --configure -asudo apt-get install - fsudo apt-get upgradesystemctl poweroff -isudo apt-get upgrade --with-new-pkgs
So far, so good. Now it got weird.
col@row:~$ apt-get --version
apt 3.1.6ubuntu2 (amd64)
Supported modules:
*Ver: Standard .deb
Pkg: Debian APT solver interface (Priority -1000)
Pkg: Debian APT planner interface (Priority -1000)
*Pkg: Debian dpkg interface (Priority 30)
S.L: 'deb' Debian binary tree
S.L: 'deb-src' Debian source tree
Idx: EDSP scenario file
Idx: EIPP scenario file
Idx: Debian Source Index
Idx: Debian Package Index
Idx: Debian Translation Index
Idx: Debian dpkg status file
Idx: Debian deb file
Idx: Debian dsc file
Idx: Debian control file
col@row:~$ sudo apt-get dist-upgrade
[sudo: authenticate] Password:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
cpp-14 cpp-14-x86-64-linux-gnu eog gcc-14-base gir1.2-peas-1.0 gnupg-l10n
libabsl20230802 libclang-cpp18 libclang1-19 libglu1-mesa libhidapi-hidraw0
libllvm18 libllvm19 libmanette-0.2-0 libopengl0 libpeas-1.0-0 libpeas-common
libsframe1 libsysmetrics1 libu2f-udev libxatracker2 libxcb-damage0
linux-headers-6.14.0-15 linux-headers-6.14.0-15-generic
linux-image-6.14.0-15-generic linux-modules-6.14.0-15-generic
linux-modules-extra-6.14.0-15-generic linux-tools-6.14.0-15
linux-tools-6.14.0-15-generic x11-apps x11-session-utils xbitmaps xinit xorg
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
glycin-loaders hwctl loupe ubuntu-insights
The following packages have been kept back:
dirmngr gdm3 gir1.2-adw-1 gir1.2-gdm-1.0 gir1.2-glib-2.0 gir1.2-gtk-4.0 gjs
gnome-control-center gnome-control-center-data gnome-remote-desktop
gnome-session-bin gnome-session-common gnome-settings-daemon
gnome-settings-daemon-common gnome-shell gnome-shell-common gnome-terminal
gnupg gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv
libadwaita-1-0 libgdm1 libglib2.0-0t64 libglib2.0-bin libgnome-menu-3-0
libgtk-4-1 libgtk-4-bin libgtkmm-4.0-0 libnautilus-extension4 mutter-common
mutter-common-bin nautilus nautilus-data ubuntu-session
yaru-theme-gnome-shell
The following packages will be upgraded:
ubuntu-desktop-minimal
1 upgraded, 4 newly installed, 0 to remove and 40 not upgraded.
Need to get 0 B/8433 kB of archives.
After this operation, 31.1 MB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.
col@row:~$
Ah: Just in case this strange behavior could have something to do with the rust-coreutils, I have also switched to the gnu-coreutils tentatively. But that does not affect the situation.
I also tried to install apt and dpkg after sudo apt-get install - f, but at the end I have »41 not upgraded« (one pkg more).