1

Ubuntu Studio 22.04.04 will not upgrade to 24.04. What should I do?

enter image description here

enter image description here

$ sudo apt update
[sudo] password for onno: 
Hit:1 http://nl.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:3 http://nl.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:4 http://nl.archive.ubuntu.com/ubuntu jammy-backports InRelease
Reading package lists... Done                            
Building dependency tree... Done
Reading state information... Done
8 packages can be upgraded. Run 'apt list --upgradable' to see them.
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:
  libflashrom1 libftdi1-2
Use 'sudo apt autoremove' to remove them.
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
  vlc-plugin-qt libvlc5 libimage-magick-perl vlc-data libvlccore9 libheif1 vlc
  imagemagick vlc-bin libpathplan4 vlc-l10n liblua5.4-0 graphviz libavdevice58
  libgvpr2 libgvc6 libdcmtk16 ffmpeg libopenexr25 libmagick++-6.q16-8
  libpostproc55 libcgraph6 libmagickcore-6.q16-6-extra vlc-plugin-samba
  libcdt5 libavcodec58 libimage-magick-q16-perl libmagickwand-6.q16-6
  vlc-plugin-notify libavutil56 imagemagick-6.q16 libswscale5 libeditorconfig0
  libmagickcore-6.q16-6 vlc-plugin-access-extra vlc-plugin-skins2 libgsl27
  vlc-plugin-video-splitter liblab-gamut1 libswresample3 imagemagick-6-common
  vlc-plugin-video-output libavformat58 libgslcblas0 libde265-0 libvlc-bin
  vlc-plugin-base vlc-plugin-visualization libavfilter7
Learn more about Ubuntu Pro at https://ubuntu.com/pro
The following packages have been kept back:
  python3-update-manager update-manager-core
The following packages will be upgraded:
  apparmor libapparmor1 libapparmor1:i386 libssl3 libssl3:i386 openssl ubuntu-advantage-tools
  ubuntu-pro-client ubuntu-pro-client-l10n
9 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
6 standard LTS security updates
Need to get 5,954 kB of archives.
After this operation, 13.3 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://nl.archive.ubuntu.com/ubuntu jammy-updates/main i386 libssl3 i386 3.0.2-0ubuntu1.18 [1,947 kB]
Get:2 http://nl.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libssl3 amd64 3.0.2-0ubuntu1.18 [1,905 kB]
Get:3 http://nl.archive.ubuntu.com/ubuntu jammy-updates/main i386 libapparmor1 i386 3.0.4-2ubuntu2.3build2 [41.1 kB]
Get:4 http://nl.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libapparmor1 amd64 3.0.4-2ubuntu2.3build2 [39.2 kB]
Get:5 http://nl.archive.ubuntu.com/ubuntu jammy-updates/main amd64 openssl amd64 3.0.2-0ubuntu1.18 [1,184 kB]
Get:6 http://nl.archive.ubuntu.com/ubuntu jammy-updates/main amd64 ubuntu-pro-client-l10n amd64 33.2~22.04 [20.2 kB]
Get:7 http://nl.archive.ubuntu.com/ubuntu jammy-updates/main amd64 ubuntu-pro-client amd64 33.2~22.04 [211 kB]
Get:8 http://nl.archive.ubuntu.com/ubuntu jammy-updates/main amd64 ubuntu-advantage-tools all 33.2~22.04 [10.9 kB]
Get:9 http://nl.archive.ubuntu.com/ubuntu jammy-updates/main amd64 apparmor amd64 3.0.4-2ubuntu2.3build2 [595 kB]
Fetched 5,954 kB in 8s (734 kB/s)                                                                            
Preconfiguring packages ...
(Reading database ... 455379 files and directories currently installed.)
Preparing to unpack .../0-libssl3_3.0.2-0ubuntu1.18_amd64.deb ...
De-configuring libssl3:i386 (3.0.2-0ubuntu1.17), to allow configuration of libssl3:amd64 (3.0.2-0ubuntu1.17) ...
Unpacking libssl3:amd64 (3.0.2-0ubuntu1.18) over (3.0.2-0ubuntu1.17) ...
Preparing to unpack .../1-libssl3_3.0.2-0ubuntu1.18_i386.deb ...
Unpacking libssl3:i386 (3.0.2-0ubuntu1.18) over (3.0.2-0ubuntu1.17) ...
Preparing to unpack .../2-libapparmor1_3.0.4-2ubuntu2.3build2_i386.deb ...
De-configuring libapparmor1:amd64 (3.0.4-2ubuntu2.3), to allow configuration of libapparmor1:i386 (3.0.4-2ubuntu2.3) ...
Unpacking libapparmor1:i386 (3.0.4-2ubuntu2.3build2) over (3.0.4-2ubuntu2.3) ...
Preparing to unpack .../3-libapparmor1_3.0.4-2ubuntu2.3build2_amd64.deb ...
Unpacking libapparmor1:amd64 (3.0.4-2ubuntu2.3build2) over (3.0.4-2ubuntu2.3) ...
Preparing to unpack .../4-openssl_3.0.2-0ubuntu1.18_amd64.deb ...
Unpacking openssl (3.0.2-0ubuntu1.18) over (3.0.2-0ubuntu1.17) ...
Preparing to unpack .../5-ubuntu-pro-client-l10n_33.2~22.04_amd64.deb ...
Unpacking ubuntu-pro-client-l10n (33.2~22.04) over (32.3.1~22.04) ...
Preparing to unpack .../6-ubuntu-pro-client_33.2~22.04_amd64.deb ...
Unpacking ubuntu-pro-client (33.2~22.04) over (32.3.1~22.04) ...
Preparing to unpack .../7-ubuntu-advantage-tools_33.2~22.04_all.deb ...
Unpacking ubuntu-advantage-tools (33.2~22.04) over (32.3.1~22.04) ...
Preparing to unpack .../8-apparmor_3.0.4-2ubuntu2.3build2_amd64.deb ...
Unpacking apparmor (3.0.4-2ubuntu2.3build2) over (3.0.4-2ubuntu2.3) ...
Setting up libapparmor1:amd64 (3.0.4-2ubuntu2.3build2) ...
Setting up libapparmor1:i386 (3.0.4-2ubuntu2.3build2) ...
Setting up libssl3:amd64 (3.0.2-0ubuntu1.18) ...
Setting up libssl3:i386 (3.0.2-0ubuntu1.18) ...
Setting up apparmor (3.0.4-2ubuntu2.3build2) ...
Reloading AppArmor profiles 
Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
Setting up openssl (3.0.2-0ubuntu1.18) ...
Setting up ubuntu-pro-client (33.2~22.04) ...
Installing new version of config file /etc/apparmor.d/ubuntu_pro_apt_news ...
Setting up ubuntu-pro-client-l10n (33.2~22.04) ...
Setting up ubuntu-advantage-tools (33.2~22.04) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.8) ...
user535733
  • 68,493

1 Answers1

0

2025-02 Update : This issue no longer applies; refer

https://ubuntustudio.org/2025/02/lts-upgrades-22-04-to-24-04-are-back/


Original answers follows:

There is an issue with the Ubuntu Studio 22.04 to Ubuntu Studio 24.04 LTS release-upgrade process which is blogged about as follows

https://ubuntustudio.org/2025/01/upgrades-from-22-04-lts-to-24-04-lts-are-not-working/

I'll quote a summary from the upcoming Ubuntu Weekly Newsletter

The Ubuntu Studio development team bring up investigations about reported problems from users of Ubuntu Studio 22.04 LTS release-upgrading to Ubuntu Studio 24.04 LTS. Links to bugs are provided, and discussion on why this issue has occurred and difference with other flavors of Ubuntu. Further we're told the Ubuntu Studio team are working with the Ubuntu Foundations Team on possible solutions, which will hopefully be provided soon.

The problem (from official Ubuntu Studio blog) is as follows

In most flavors of Ubuntu in 24.04 LTS, the idea was to have PipeWire completely replace PulseAudio as the primary sound server and would force the installation of PipeWire. However, with Ubuntu Studio, we went with a different approach of having PipeWire be the default, but be replaced by PulseAudio if the user wished to switch back to the classic, albiet unsupported, setup. This meant PipeWire had to be a “soft” dependency rather than a “hard” one so that it could be uninstalled by our metapackages without breaking the entire desktop metapackage.

However, this also made it so that the upgrade resolver (ubuntu-release-upgrader) would get confused when calculating how to perform the upgrade. This is where we are hitting the problem.

Currently, we are working with the Ubuntu Foundations Team at Canonical on how to have ubuntu-release-upgrader force an installation of PipeWire for Ubuntu Studio without Ubuntu Studio requiring a hard dependency on PipeWire.

How this will be resolved (options described in provided article), is yet to be decided, and may take a little time. Either way, I suggest watching the Ubuntu Studio blogs for further details, or wherever you get your Ubuntu News for more (as it is known).

guiverc
  • 33,561