[Bug 2078588] Re: Could not calculate the upgrade 22.04 to 24

Thibauld 2078588 at bugs.launchpad.net
Sun Sep 1 02:28:56 UTC 2024


I was able to solve this by finding all packages installed via PPA and removing them.
This command helped tremendously: https://askubuntu.com/questions/447129/how-to-list-all-the-packages-which-are-installed-from-ppas

After removing those, the upgrade went through

-- 
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/2078588

Title:
  Could not calculate the upgrade 22.04 to 24

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

Bug description:
  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
  Reading package lists... Done
  Building dependency tree... Done
  Reading state information... Done
  Hit http://us.archive.ubuntu.com/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://prerelease.keybase.io/deb stable InRelease                                                                                                                                                                                     
  Hit https://download.docker.com/linux/ubuntu jammy InRelease                                                                                                                                                                              
  Hit https://apt.enpass.io stable InRelease                                                                                                                                                                                                
  Hit https://repo.steampowered.com/steam stable InRelease                                                                                                                                                                                  
  Hit http://security.ubuntu.com/ubuntu jammy-security InRelease                                                                                                                                                                            
  Hit https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy InRelease                                                                                                                                                                
  Hit https://ppa.launchpadcontent.net/pipewire-debian/pipewire-upstream/ubuntu jammy InRelease                                                                                                                                             
  Ign http://linux.dropbox.com/ubuntu jammy InRelease                                                                                                                                                                                       
  Hit http://linux.dropbox.com/ubuntu jammy Release                                                                                                                                                                                         
  Hit https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease                                                                                                                                                               
  Fetched 0 B in 0s (0 B/s)                                                                                                                                                                                                                 
  Reading package lists... Done    
  Building dependency tree... Done 
  Reading state information... Done
  Fetched 0 B in 0s (0 B/s)                                                                                                                                                                                                                 

  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 http://us.archive.ubuntu.com/ubuntu noble InRelease                                                                                                                                                                                   
  Hit http://us.archive.ubuntu.com/ubuntu noble-updates InRelease                                                                                                                                                                           
  Hit http://us.archive.ubuntu.com/ubuntu noble-backports InRelease                                                                                                                                                                         
  Hit http://security.ubuntu.com/ubuntu noble-security InRelease                                                                                                                                                                            
  Hit https://download.docker.com/linux/ubuntu jammy InRelease                                                                                                                                                                              
  Hit https://apt.enpass.io stable InRelease                                                                                                                                                                                                
  Ign http://linux.dropbox.com/ubuntu jammy InRelease                                                                                                                                                                                       
  Hit http://linux.dropbox.com/ubuntu jammy Release                                                                                                                                                                                         
  Fetched 0 B 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
  ApportVersion: 2.20.11-0ubuntu82.6
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CrashDB: ubuntu
  CurrentDesktop: ubuntu:GNOME
  Date: Sat Aug 31 15:55:48 2024
  InstallationDate: Installed on 2020-08-01 (1491 days ago)
  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to jammy on 2024-08-31 (0 days ago)
  VarLogDistupgradeAptHistorylog:
   Start-Date: 2024-08-31  15:53:41
   Requested-By: thibauld (1000)
   End-Date: 2024-08-31  15:53:41
  VarLogDistupgradeApttermlog:
   Log started: 2024-08-31  15:53:41
   Log ended: 2024-08-31  15:53:41

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




More information about the foundations-bugs mailing list