[Bug 2077437] Re: unable to upgrade from 22.04 to 24.04

Nick Rosbrook 2077437 at bugs.launchpad.net
Thu Aug 22 14:52:04 UTC 2024


*** This bug is a duplicate of bug 1970018 ***
    https://bugs.launchpad.net/bugs/1970018

Reviewing the files from your upgrade attempt, you have installed
packages from the deadsnakes PPA. Some of the packages installed are
newer than those in the official archive, which is keeping some python
packages installed which then prevents the upgrade from being
calculated. Please try using the ppa-purge tool to remove packages
installed from ppa:deadsnakes/ppa. After that you can try upgrading
again and if it still fails open a new bug report. Thanks and good luck!

** Changed in: ubuntu-release-upgrader (Ubuntu)
       Status: New => Invalid

** Tags added: deadsnakes-ppa

** This bug has been marked a duplicate of bug 1970018
   Cannot upgrade to ubuntu 21.10 from ubuntu 20.04.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/2077437

Title:
  unable to upgrade from 22.04 to 24.04

Status in ubuntu-release-upgrader package in Ubuntu:
  Invalid

Bug description:
  matt-desktop# 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
  matt-desktop# do-release-upgrade -d
  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,278 kB]
  Fetched 1,279 kB in 0s (0 B/s)
  authenticate 'noble.tar.gz' against 'noble.tar.gz.gpg'
  extracting 'noble.tar.gz'

  Reading cache

  Checking package manager

  Continue running under SSH?

  This session appears to be running under ssh. It is not recommended
  to perform a upgrade over ssh currently because in case of failure it
  is harder to recover.

  If you continue, an additional ssh daemon will be started at port
  '1022'.
  Do you want to continue?

  Continue [yN] y

  Starting additional sshd

  To make recovery in case of failure easier, an additional sshd will
  be started on port '1022'. If anything goes wrong with the running
  ssh you can still connect to the additional one.
  If you run a firewall, you may need to temporarily open this port. As
  this is potentially dangerous it's not done automatically. You can
  open the port with e.g.:
  'iptables -I INPUT -p tcp --dport 1022 -j ACCEPT'

  To continue please press [ENTER]

  Reading package lists... Done
  Building dependency tree... Done
  Reading state information... Done
  Hit http://us.archive.ubuntu.com/ubuntu jammy InRelease
  Hit https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64  InRelease
  Hit https://download.docker.com/linux/ubuntu jammy InRelease
  Hit http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
  Hit http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
  Hit http://security.ubuntu.com/ubuntu jammy-security InRelease
  Hit https://esm.ubuntu.com/apps/ubuntu jammy-apps-security InRelease
  Hit https://esm.ubuntu.com/apps/ubuntu jammy-apps-updates InRelease
  Hit https://esm.ubuntu.com/infra/ubuntu jammy-infra-security InRelease
  Hit https://scala.jfrog.io/artifactory/debian all InRelease
  Hit https://esm.ubuntu.com/infra/ubuntu jammy-infra-updates InRelease
  Ign https://scala.jfrog.io/artifactory/debian  InRelease
  Hit https://scala.jfrog.io/artifactory/debian  Release
  Hit https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy InRelease
  Fetched 0 B in 0s (0 B/s)
  Reading package lists... Done
  Building dependency tree... Done
  Reading state information... Done

  Checking for installed snaps

  Calculating snap size requirements

  Updating repository information

  Third party sources disabled

  Some third party entries in your sources.list were disabled. You can
  re-enable them after the upgrade with the 'software-properties' tool
  or your package manager.

  To continue please press [ENTER]

  Hit https://download.docker.com/linux/ubuntu jammy InRelease
  Get:1 http://us.archive.ubuntu.com/ubuntu noble InRelease [256 kB]
  Get:2 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
  Hit https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64  InRelease
  Get:3 http://us.archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
  Get:4 http://us.archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
  Get:5 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [296 kB]
  Get:6 http://security.ubuntu.com/ubuntu noble-security/main i386 Packages [142 kB]
  Get:7 http://security.ubuntu.com/ubuntu noble-security/main Translation-en [69.3 kB]
  Get:8 http://security.ubuntu.com/ubuntu noble-security/main amd64 DEP-11 Metadata [6,876 B]
  Get:9 http://security.ubuntu.com/ubuntu noble-security/main DEP-11 48x48 Icons [9,524 B]
  Get:10 http://security.ubuntu.com/ubuntu noble-security/main DEP-11 64x64 Icons [11.2 kB]
  Get:11 http://security.ubuntu.com/ubuntu noble-security/main DEP-11 64x64 at 2 Icons [29 B]
  Get:12 http://security.ubuntu.com/ubuntu noble-security/main amd64 c-n-f Metadata [3,768 B]
  Get:13 https://esm.ubuntu.com/apps/ubuntu noble-apps-security InRelease [7,526 B]
  Get:14 http://security.ubuntu.com/ubuntu noble-security/restricted i386 Packages [13.3 kB]
  Get:15 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [245 kB]
  Get:16 http://security.ubuntu.com/ubuntu noble-security/restricted Translation-en [47.8 kB]
  Get:17 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 DEP-11 Metadata [212 B]
  Get:18 http://security.ubuntu.com/ubuntu noble-security/restricted DEP-11 48x48 Icons [29 B]
  Get:19 http://security.ubuntu.com/ubuntu noble-security/restricted DEP-11 64x64 Icons [29 B]
  Get:20 http://security.ubuntu.com/ubuntu noble-security/restricted DEP-11 64x64 at 2 Icons [29 B]
  Get:21 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 c-n-f Metadata [420 B]
  Get:22 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [251 kB]
  Get:23 http://us.archive.ubuntu.com/ubuntu noble/main i386 Packages [1,041 kB]
  Get:24 http://security.ubuntu.com/ubuntu noble-security/universe i386 Packages [95.1 kB]
  Get:25 http://security.ubuntu.com/ubuntu noble-security/universe Translation-en [108 kB]
  Get:26 http://security.ubuntu.com/ubuntu noble-security/universe amd64 DEP-11 Metadata [8,632 B]
  Get:27 http://security.ubuntu.com/ubuntu noble-security/universe DEP-11 48x48 Icons [3,763 B]
  Get:28 http://security.ubuntu.com/ubuntu noble-security/universe DEP-11 64x64 Icons [4,851 B]
  Get:29 http://security.ubuntu.com/ubuntu noble-security/universe DEP-11 64x64 at 2 Icons [29 B]
  Get:30 http://security.ubuntu.com/ubuntu noble-security/universe amd64 c-n-f Metadata [9,412 B]
  Get:31 http://security.ubuntu.com/ubuntu noble-security/multiverse i386 Packages [2,392 B]
  Get:32 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Packages [10.6 kB]
  Get:33 http://security.ubuntu.com/ubuntu noble-security/multiverse Translation-en [2,808 B]
  Get:34 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 DEP-11 Metadata [208 B]
  Get:35 http://security.ubuntu.com/ubuntu noble-security/multiverse DEP-11 48x48 Icons [29 B]
  Get:36 http://security.ubuntu.com/ubuntu noble-security/multiverse DEP-11 64x64 Icons [29 B]
  Get:37 http://security.ubuntu.com/ubuntu noble-security/multiverse DEP-11 64x64 at 2 Icons [29 B]
  Get:38 https://esm.ubuntu.com/apps/ubuntu noble-apps-updates InRelease [7,468 B]
  Get:39 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 c-n-f Metadata [344 B]
  Get:40 http://us.archive.ubuntu.com/ubuntu noble/main amd64 Packages [1,401 kB]
  Get:41 http://us.archive.ubuntu.com/ubuntu noble/main Translation-en [513 kB]
  Get:42 http://us.archive.ubuntu.com/ubuntu noble/main amd64 DEP-11 Metadata [464 kB]
  Get:43 http://us.archive.ubuntu.com/ubuntu noble/main DEP-11 48x48 Icons [106 kB]
  Get:44 http://us.archive.ubuntu.com/ubuntu noble/main DEP-11 64x64 Icons [156 kB]
  Get:45 http://us.archive.ubuntu.com/ubuntu noble/main DEP-11 64x64 at 2 Icons [21.8 kB]
  Get:46 http://us.archive.ubuntu.com/ubuntu noble/main amd64 c-n-f Metadata [30.5 kB]
  Get:47 http://us.archive.ubuntu.com/ubuntu noble/restricted amd64 Packages [93.9 kB]
  Get:48 http://us.archive.ubuntu.com/ubuntu noble/restricted i386 Packages [14.7 kB]
  Get:49 http://us.archive.ubuntu.com/ubuntu noble/restricted Translation-en [18.7 kB]
  Get:50 http://us.archive.ubuntu.com/ubuntu noble/restricted amd64 c-n-f Metadata [416 B]
  Get:51 https://esm.ubuntu.com/infra/ubuntu noble-infra-security InRelease [7,462 B]
  Get:52 http://us.archive.ubuntu.com/ubuntu noble/universe amd64 Packages [15.0 MB]
  Get:53 https://esm.ubuntu.com/infra/ubuntu noble-infra-updates InRelease [7,461 B]
  Get:54 http://us.archive.ubuntu.com/ubuntu noble/universe i386 Packages [8,514 kB]
  Get:55 https://esm.ubuntu.com/apps/ubuntu noble-apps-security/main amd64 Packages [10.7 kB]
  Get:56 http://us.archive.ubuntu.com/ubuntu noble/universe Translation-en [5,982 kB]
  Get:57 https://esm.ubuntu.com/apps/ubuntu noble-apps-security/main i386 Packages [9,137 B]
  Get:58 https://esm.ubuntu.com/apps/ubuntu noble-apps-updates/main amd64 Packages [623 B]
  Get:59 http://us.archive.ubuntu.com/ubuntu noble/universe amd64 DEP-11 Metadata [3,871 kB]
  Get:60 http://us.archive.ubuntu.com/ubuntu noble/universe DEP-11 48x48 Icons [3,717 kB]
  Get:61 http://us.archive.ubuntu.com/ubuntu noble/universe DEP-11 64x64 Icons [7,747 kB]
  Get:62 http://us.archive.ubuntu.com/ubuntu noble/universe DEP-11 64x64 at 2 Icons [75.0 kB]
  Get:63 http://us.archive.ubuntu.com/ubuntu noble/universe amd64 c-n-f Metadata [301 kB]
  Get:64 http://us.archive.ubuntu.com/ubuntu noble/multiverse i386 Packages [126 kB]
  Get:65 http://us.archive.ubuntu.com/ubuntu noble/multiverse amd64 Packages [269 kB]
  Get:66 http://us.archive.ubuntu.com/ubuntu noble/multiverse Translation-en [118 kB]
  Get:67 http://us.archive.ubuntu.com/ubuntu noble/multiverse amd64 DEP-11 Metadata [35.0 kB]
  Get:68 http://us.archive.ubuntu.com/ubuntu noble/multiverse DEP-11 48x48 Icons [56.1 kB]
  Get:69 http://us.archive.ubuntu.com/ubuntu noble/multiverse DEP-11 64x64 Icons [186 kB]
  Get:70 http://us.archive.ubuntu.com/ubuntu noble/multiverse DEP-11 64x64 at 2 Icons [904 B]
  Get:71 http://us.archive.ubuntu.com/ubuntu noble/multiverse amd64 c-n-f Metadata [8,328 B]
  Get:72 http://us.archive.ubuntu.com/ubuntu noble-updates/main i386 Packages [174 kB]
  Get:73 http://us.archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [349 kB]
  Get:74 http://us.archive.ubuntu.com/ubuntu noble-updates/main Translation-en [89.1 kB]
  Get:75 http://us.archive.ubuntu.com/ubuntu noble-updates/main amd64 DEP-11 Metadata [8,564 B]
  Get:76 http://us.archive.ubuntu.com/ubuntu noble-updates/main DEP-11 48x48 Icons [12.6 kB]
  Get:77 http://us.archive.ubuntu.com/ubuntu noble-updates/main DEP-11 64x64 Icons [15.1 kB]
  Get:78 https://esm.ubuntu.com/infra/ubuntu noble-infra-security/main amd64 Packages [658 B]
  Get:79 https://esm.ubuntu.com/infra/ubuntu noble-infra-updates/main amd64 Packages [658 B]
  Get:80 http://us.archive.ubuntu.com/ubuntu noble-updates/main DEP-11 64x64 at 2 Icons [29 B]
  Get:81 http://us.archive.ubuntu.com/ubuntu noble-updates/main amd64 c-n-f Metadata [5,948 B]
  Get:82 http://us.archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [245 kB]
  Get:83 http://us.archive.ubuntu.com/ubuntu noble-updates/restricted i386 Packages [13.3 kB]
  Get:84 http://us.archive.ubuntu.com/ubuntu noble-updates/restricted Translation-en [47.8 kB]
  Get:85 http://us.archive.ubuntu.com/ubuntu noble-updates/restricted amd64 DEP-11 Metadata [212 B]
  Get:86 http://us.archive.ubuntu.com/ubuntu noble-updates/restricted DEP-11 48x48 Icons [29 B]
  Get:87 http://us.archive.ubuntu.com/ubuntu noble-updates/restricted DEP-11 64x64 Icons [29 B]
  Get:88 http://us.archive.ubuntu.com/ubuntu noble-updates/restricted DEP-11 64x64 at 2 Icons [29 B]
  Get:89 http://us.archive.ubuntu.com/ubuntu noble-updates/restricted amd64 c-n-f Metadata [416 B]
  Get:90 http://us.archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [323 kB]
  Get:91 http://us.archive.ubuntu.com/ubuntu noble-updates/universe i386 Packages [140 kB]
  Get:92 http://us.archive.ubuntu.com/ubuntu noble-updates/universe Translation-en [136 kB]
  Get:93 http://us.archive.ubuntu.com/ubuntu noble-updates/universe amd64 DEP-11 Metadata [45.0 kB]
  Get:94 http://us.archive.ubuntu.com/ubuntu noble-updates/universe DEP-11 48x48 Icons [15.6 kB]
  Get:95 http://us.archive.ubuntu.com/ubuntu noble-updates/universe DEP-11 64x64 Icons [21.5 kB]
  Get:96 http://us.archive.ubuntu.com/ubuntu noble-updates/universe DEP-11 64x64 at 2 Icons [29 B]
  Get:97 http://us.archive.ubuntu.com/ubuntu noble-updates/universe amd64 c-n-f Metadata [12.8 kB]
  Get:98 http://us.archive.ubuntu.com/ubuntu noble-updates/multiverse i386 Packages [2,392 B]
  Get:99 http://us.archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [14.1 kB]
  Get:100 http://us.archive.ubuntu.com/ubuntu noble-updates/multiverse Translation-en [3,608 B]
  Get:101 http://us.archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 DEP-11 Metadata [212 B]
  Get:102 http://us.archive.ubuntu.com/ubuntu noble-updates/multiverse DEP-11 48x48 Icons [29 B]
  Get:103 http://us.archive.ubuntu.com/ubuntu noble-updates/multiverse DEP-11 64x64 Icons [29 B]
  Get:104 http://us.archive.ubuntu.com/ubuntu noble-updates/multiverse DEP-11 64x64 at 2 Icons [29 B]
  Get:105 http://us.archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 c-n-f Metadata [532 B]
  Get:106 http://us.archive.ubuntu.com/ubuntu noble-backports/main amd64 DEP-11 Metadata [208 B]
  Get:107 http://us.archive.ubuntu.com/ubuntu noble-backports/main DEP-11 48x48 Icons [29 B]
  Get:108 http://us.archive.ubuntu.com/ubuntu noble-backports/main DEP-11 64x64 Icons [29 B]
  Get:109 http://us.archive.ubuntu.com/ubuntu noble-backports/main DEP-11 64x64 at 2 Icons [29 B]
  Get:110 http://us.archive.ubuntu.com/ubuntu noble-backports/main amd64 c-n-f Metadata [112 B]
  Get:111 http://us.archive.ubuntu.com/ubuntu noble-backports/restricted amd64 DEP-11 Metadata [216 B]
  Get:112 http://us.archive.ubuntu.com/ubuntu noble-backports/restricted DEP-11 48x48 Icons [29 B]
  Get:113 http://us.archive.ubuntu.com/ubuntu noble-backports/restricted DEP-11 64x64 Icons [29 B]
  Get:114 http://us.archive.ubuntu.com/ubuntu noble-backports/restricted DEP-11 64x64 at 2 Icons [29 B]
  Get:115 http://us.archive.ubuntu.com/ubuntu noble-backports/restricted amd64 c-n-f Metadata [116 B]
  Get:116 http://us.archive.ubuntu.com/ubuntu noble-backports/universe i386 Packages [5,296 B]
  Get:117 http://us.archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [10.3 kB]
  Get:118 http://us.archive.ubuntu.com/ubuntu noble-backports/universe Translation-en [10.5 kB]
  Get:119 http://us.archive.ubuntu.com/ubuntu noble-backports/universe amd64 DEP-11 Metadata [17.6 kB]
  Get:120 http://us.archive.ubuntu.com/ubuntu noble-backports/universe DEP-11 48x48 Icons [29 B]
  Get:121 http://us.archive.ubuntu.com/ubuntu noble-backports/universe DEP-11 64x64 Icons [2,900 B]
  Get:122 http://us.archive.ubuntu.com/ubuntu noble-backports/universe DEP-11 64x64 at 2 Icons [29 B]
  Get:123 http://us.archive.ubuntu.com/ubuntu noble-backports/universe amd64 c-n-f Metadata [1,016 B]
  Get:124 http://us.archive.ubuntu.com/ubuntu noble-backports/multiverse amd64 DEP-11 Metadata [212 B]
  Get:125 http://us.archive.ubuntu.com/ubuntu noble-backports/multiverse DEP-11 48x48 Icons [29 B]
  Get:126 http://us.archive.ubuntu.com/ubuntu noble-backports/multiverse DEP-11 64x64 Icons [29 B]
  Get:127 http://us.archive.ubuntu.com/ubuntu noble-backports/multiverse DEP-11 64x64 at 2 Icons [29 B]
  Get:128 http://us.archive.ubuntu.com/ubuntu noble-backports/multiverse amd64 c-n-f Metadata [116 B]
  Fetched 53.7 MB in 0s (0 B/s)

  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.

  This was likely caused by:
  * Unofficial software packages not provided by Ubuntu
  Please use the tool 'ppa-purge' from the ppa-purge
  package to remove software from a Launchpad PPA and
  try the upgrade again.

  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

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: ubuntu-release-upgrader-core 1:22.04.19
  ProcVersionSignature: Ubuntu 6.8.0-40.40~22.04.3-generic 6.8.12
  Uname: Linux 6.8.0-40-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu82.6
  Architecture: amd64
  CasperMD5CheckResult: pass
  CrashDB: ubuntu
  Date: Tue Aug 20 10:13:47 2024
  InstallationDate: Installed on 2023-12-03 (260 days ago)
  InstallationMedia: Ubuntu 22.04.3 LTS "Jammy Jellyfish" - Release amd64 (20230807.2)
  PackageArchitecture: all
  ProcEnviron:
   TERM=alacritty
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/usr/bin/zsh
  SourcePackage: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to jammy on 2024-08-20 (0 days ago)

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




More information about the foundations-bugs mailing list