I verified the fix using 1:24.04.26 from noble-proposed:

1. First, without --proposed:

ubuntu@ubuntustudio:~$ do-release-upgrade
Checking for a new Ubuntu release

= Welcome to Ubuntu 24.04 LTS 'Noble Numbat' =

The Ubuntu team is proud to announce Ubuntu 24.04 LTS 'Noble Numbat'.

To see what's new in this release, visit:
  https://wiki.ubuntu.com/NobleNumbat/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
Get:1 Upgrade tool signature [833 B]                                            
                                                                                
                                                                              
Get:2 Upgrade tool [1,277 kB]                                                   
                                                                                
                                                                              
Fetched 1,278 kB in 0s (0 B/s)                                                  
                                                                                
                                                                              
authenticate 'noble.tar.gz' against 'noble.tar.gz.gpg' 
extracting 'noble.tar.gz'
[sudo] password for ubuntu: 

Reading cache

Checking package manager

...SNIP...

Checking package manager
Reading package lists... Done    
Building dependency tree... Done 
Reading state information... Done

Calculating the changes

Calculating the changes

Could not calculate the upgrade

An unresolvable problem occurred while calculating the upgrade.

If none of this applies, then please report this bug using the 
command 'ubuntu-bug ubuntu-release-upgrader-core' in a terminal. If 
you want to investigate this yourself the log files in 
'/var/log/dist-upgrade' will contain details about the upgrade. 
Specifically, look at 'main.log' and 'apt.log'. 


Restoring original system state

Aborting
Reading package lists... Done    
Building dependency tree... Done 
Reading state information... Done

2. Then, retrying with --proposed:

ubuntu@ubuntustudio:~$ do-release-upgrade --proposed
Checking for a new Ubuntu release

= Welcome to Ubuntu 24.04 LTS 'Noble Numbat' =

The Ubuntu team is proud to announce Ubuntu 24.04 LTS 'Noble Numbat'.

To see what's new in this release, visit:
  https://wiki.ubuntu.com/NobleNumbat/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
Get:1 Upgrade tool signature [833 B]                                            
                                     
Get:2 Upgrade tool [1,277 kB]                                                   
                                     
Fetched 1,278 kB in 0s (0 B/s)                                                  
                                     
authenticate 'noble.tar.gz' against 'noble.tar.gz.gpg' 
extracting 'noble.tar.gz'

...SNIP...

3. And verifying that the quirk worked:

ubuntu@ubuntustudio:~$ grep "installing pipewire-audio" 
/var/log/dist-upgrade/main.log
2025-02-04 11:09:39,699 DEBUG Detected Ubuntu Studio, installing 
pipewire-audio, removing pulseaudio
2025-02-04 11:15:05,195 DEBUG Detected Ubuntu Studio, installing 
pipewire-audio, removing pulseaudio
ubuntu@ubuntustudio:~$ apt policy pipewire-audio pulseaudio
pipewire-audio:
  Installed: 1.0.5-1ubuntu2
  Candidate: 1.0.5-1ubuntu2
  Version table:
 *** 1.0.5-1ubuntu2 500
        500 http://us.archive.ubuntu.com/ubuntu noble-updates/main amd64 
Packages
        500 http://us.archive.ubuntu.com/ubuntu noble-updates/main i386 Packages
        100 /var/lib/dpkg/status
     1.0.5-1 500
        500 http://us.archive.ubuntu.com/ubuntu noble/main amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu noble/main i386 Packages
pulseaudio:
  Installed: (none)
  Candidate: 1:16.1+dfsg1-2ubuntu10.1
  Version table:
     1:16.1+dfsg1-2ubuntu10.1 500
        500 http://us.archive.ubuntu.com/ubuntu noble-updates/universe amd64 
Packages
     1:16.1+dfsg1-2ubuntu10 500
        500 http://us.archive.ubuntu.com/ubuntu noble/universe amd64 Packages
     1:15.99.1+dfsg1-1ubuntu2.2 -1
        100 /var/lib/dpkg/status


4. Finally, running an upgrade in a fresh LXC container:

root@j:~# do-release-upgrade --proposed

...SNIP...

root@j:~# grep "installing pipewire-audio" /var/log/dist-upgrade/main.log
root@j:~# cat /etc/os-release 
PRETTY_NAME="Ubuntu 24.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.1 LTS (Noble Numbat)"
VERSION_CODENAME=noble
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=noble
LOGO=ubuntu-logo

-- 
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to ubuntustudio-meta in Ubuntu.
Matching subscriptions: UbuntuStudioPackages
https://bugs.launchpad.net/bugs/2078639

Title:
  Ubuntu Studio upgrade, pipewire <-> pulseaudio conflict

Status in ubuntu-release-upgrader package in Ubuntu:
  Invalid
Status in ubuntustudio-meta package in Ubuntu:
  Won't Fix
Status in ubuntu-release-upgrader source package in Noble:
  Fix Committed
Status in ubuntustudio-meta source package in Noble:
  Won't Fix

Bug description:
  [Impact]

  Upgrades from Ubuntu Studio 22.04 to 24.04 cannot be calculated. A
  quirk is required to install pipewire-audio, and remove pulseaudio
  during the upgrade.

  [Test Plan]

  1. Confirm that upgrades on Ubuntu Studio are able to be calculated,
  and that pipewire-audio is installed.

  * Create a fresh installation of Ubuntu Studio 22.04, e.g. using the
  ISO here:
  https://cdimage.ubuntu.com/ubuntustudio/jammy/dvd/current/jammy-dvd-
  amd64.iso

  * First confirm that an upgrade cannot be calculated without the fix:

  $ do-release-upgrade

  This should fail, because the quirk is not in place.

  * Next, confirm that the version in -proposed fixes the problem:

  $ do-release-upgrade -p

  * Once the upgrade is complete, verify that pipewire-audio is
  installed, and pulseaudio is not:

  $ apt policy pipewire-audio pulseaudio

  * Finally, check the upgrade logs for the following:

  $ grep "installing pipewire-audio" /var/log/dist-upgrade/main.log

  2. Confirm that on non-Studio, this quirk is just skipped

  * In any non-Studio installation, e.g. a LXD container, run the
  upgrade:

  $ do-release-upgrade -p

  * Confirm that the quirk was not run during the upgrade:

  $ grep "installing pipewire-audio" /var/log/dist-upgrade/main.log

  [Other information]

  This fix is only required for jammy -> noble upgrades, hence it is
  only being fixed in noble.

  [Where problems could occur]

  The quirk is designed to limit this logic to upgrades from Ubuntu
  Studio 22.04 to 24.04 only. It would be a problem if this was executed
  on other flavors. The above test plan accounts for this by running an
  upgrade on Studio and non-Studio.

  As always with these quirks, if a package name was typo'd, it would
  not work correctly, either.

  [Original Description]

  I used apt policy to see which launchpad ppas are on my system, but
  did not see any that were not from Ubuntu.  I removed all non-Ubuntu
  repos that I could identify.  I have tried to run the installer both
  from the updater prompt and from the line command with no success.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: ubuntu-release-upgrader-core 1:22.04.19
  ProcVersionSignature: Ubuntu 5.15.0-119.129-lowlatency 5.15.160
  Uname: Linux 5.15.0-119-lowlatency x86_64
  ApportVersion: 2.20.11-0ubuntu82.6
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CrashDB: ubuntu
  CrashReports:
   640:1000:124:2369063:2024-09-01 14:08:54.910173177 -0400:2024-09-01 
14:08:55.910173177 
-0400:/var/crash/_usr_lib_x86_64-linux-gnu_libexec_DiscoverNotifier.1000.crash
   600:116:124:37:2024-09-01 14:09:04.508243484 -0400:2024-09-01 
14:09:04.507243476 
-0400:/var/crash/_usr_lib_x86_64-linux-gnu_libexec_DiscoverNotifier.1000.uploaded
   664:1000:124:0:2024-09-01 14:09:03.571235808 -0400:2024-09-01 
14:09:03.571235808 
-0400:/var/crash/_usr_lib_x86_64-linux-gnu_libexec_DiscoverNotifier.1000.upload
   640:0:124:183605:2024-09-01 14:11:35.379068436 -0400:2024-09-01 
14:11:35.379068436 -0400:/var/crash/_usr_bin_do-release-upgrade.0.crash
  CurrentDesktop: KDE
  Date: Sun Sep  1 15:55:59 2024
  InstallationDate: Installed on 2023-03-17 (534 days ago)
  InstallationMedia: Ubuntu-Studio 22.04.1 LTS "Jammy Jellyfish" - Release 
amd64 (20220809)
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to jammy on 2024-09-01 (0 days ago)
  VarLogDistupgradeAptHistorylog:
   Start-Date: 2024-09-01  15:53:21
   Requested-By: duke (1000)
   End-Date: 2024-09-01  15:53:21
  VarLogDistupgradeApttermlog:
   Log started: 2024-09-01  15:53:21
   Log ended: 2024-09-01  15:53:21
  VarLogDistupgradeTermlog:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2078639/+subscriptions


-- 
Mailing list: https://launchpad.net/~ubuntustudio-bugs
Post to     : ubuntustudio-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntustudio-bugs
More help   : https://help.launchpad.net/ListHelp

Reply via email to