[Bug 2085132] Re: Ubuntu 22 upgrade crashes because of broken dependencies

Nick Rosbrook 2085132 at bugs.launchpad.net
Thu Oct 24 13:15:35 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/2085132

Title:
  Ubuntu 22 upgrade crashes because of broken dependencies

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

Bug description:
  rboure at rboure-Ubuntu:~$ sudo cat /var/log/dist-upgrade/main.log
  2024-10-21 16:07:44,582 INFO Using config files '['./DistUpgrade.cfg.focal', '/etc/update-manager/release-upgrades.d/ubuntu-advantage-upgrades.cfg']'
  2024-10-21 16:07:44,582 INFO uname information: 'Linux rboure-Ubuntu 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64'
  2024-10-21 16:07:44,834 INFO apt version: '2.0.10'
  2024-10-21 16:07:44,834 INFO python version: '3.8.10 (default, Sep 11 2024, 16:02:53) 
  [GCC 9.4.0]'
  2024-10-21 16:07:44,836 INFO release-upgrader version '22.04.20' started
  2024-10-21 16:07:44,884 INFO locale: 'fr_FR' 'UTF-8'
  2024-10-21 16:07:45,066 DEBUG Using 'DistUpgradeViewGtk3' view
  2024-10-21 16:07:45,095 DEBUG enable dpkg --force-overwrite
  2024-10-21 16:07:45,110 DEBUG creating statefile: '/var/log/dist-upgrade/apt-clone_system_state.tar.gz'
  2024-10-21 16:07:47,551 DEBUG lsb-release: 'focal'
  2024-10-21 16:07:47,552 DEBUG _pythonSymlinkCheck run
  2024-10-21 16:07:47,552 DEBUG openCache()
  2024-10-21 16:07:47,552 DEBUG quirks: running PreCacheOpen
  2024-10-21 16:07:47,552 DEBUG running Quirks.PreCacheOpen
  2024-10-21 16:07:48,030 DEBUG Comparing 5.3.0-28 with 
  2024-10-21 16:07:48,032 DEBUG Comparing 5.4.0-196 with 5.3.0-28
  2024-10-21 16:07:48,032 DEBUG Comparing 5.4.0-198 with 5.4.0-196
  2024-10-21 16:07:48,137 DEBUG /openCache(), new cache size 100323
  2024-10-21 16:07:48,137 DEBUG need_server_mode(): run in 'desktop' mode, (because of pkg 'ubuntu-desktop')
  2024-10-21 16:07:48,137 DEBUG checkViewDepends()
  2024-10-21 16:07:48,138 DEBUG depends: 'apt (>= 2.0.4)'
  2024-10-21 16:07:48,138 DEBUG checking: '[('apt', '2.0.4', '>=')]' 
  2024-10-21 16:07:48,138 DEBUG depends: 'libapt-pkg6.0 (>= 2.0.4)'
  2024-10-21 16:07:48,138 DEBUG checking: '[('libapt-pkg6.0', '2.0.4', '>=')]' 
  2024-10-21 16:07:48,139 DEBUG running doUpdate() (showErrors=False)
  2024-10-21 16:07:49,953 DEBUG openCache()
  2024-10-21 16:07:50,410 DEBUG Comparing 5.3.0-28 with 
  2024-10-21 16:07:50,412 DEBUG Comparing 5.4.0-196 with 5.3.0-28
  2024-10-21 16:07:50,412 DEBUG Comparing 5.4.0-198 with 5.4.0-196
  2024-10-21 16:07:50,516 DEBUG /openCache(), new cache size 100323
  2024-10-21 16:07:50,516 DEBUG doPostInitialUpdate
  2024-10-21 16:07:50,516 DEBUG quirks: running jammyPostInitialUpdate
  2024-10-21 16:07:50,516 DEBUG running Quirks.jammyPostInitialUpdate
  2024-10-21 16:07:50,857 DEBUG running Quirks._test_and_fix_missing_nvidia_metapackage
  2024-10-21 16:07:51,633 DEBUG No autoremovable libnvidia-gl found, exiting.
  2024-10-21 16:07:53,079 DEBUG Snap core20 is installed
  2024-10-21 16:07:53,420 DEBUG Snap gnome-3-38-2004 is installed
  2024-10-21 16:07:53,421 DEBUG Snap gnome-3-38-2004 is not tracking the release channel
  2024-10-21 16:07:53,831 DEBUG Snap gtk-common-themes is installed
  2024-10-21 16:07:53,831 DEBUG Snap gtk-common-themes is not tracking the release channel
  2024-10-21 16:07:55,059 DEBUG Snap bare is installed
  2024-10-21 16:07:55,059 DEBUG Snap bare is not tracking the release channel
  2024-10-21 16:07:55,365 DEBUG Snap core is installed
  2024-10-21 16:07:55,366 DEBUG Snap core is not tracking the release channel
  2024-10-21 16:07:55,674 DEBUG Snap core18 is installed
  2024-10-21 16:07:55,674 DEBUG Snap core18 is not tracking the release channel
  2024-10-21 16:07:55,982 DEBUG Snap core22 is installed
  2024-10-21 16:07:55,982 DEBUG Snap core22 is not tracking the release channel
  2024-10-21 16:07:56,287 DEBUG Snap gnome-3-28-1804 is installed
  2024-10-21 16:07:56,287 DEBUG Snap gnome-3-28-1804 is not tracking the release channel
  2024-10-21 16:07:56,595 DEBUG Snap gnome-42-2204 is installed
  2024-10-21 16:07:56,596 DEBUG Snap gnome-42-2204 is not tracking the release channel
  2024-10-21 16:07:56,903 DEBUG Snap gnome-system-monitor is installed
  2024-10-21 16:07:56,903 DEBUG Snap gnome-system-monitor is not tracking the release channel
  2024-10-21 16:07:57,210 DEBUG Snap gtk2-common-themes is installed
  2024-10-21 16:07:57,210 DEBUG Snap gtk2-common-themes is not tracking the release channel
  2024-10-21 16:07:57,414 DEBUG Snap netbeans is installed
  2024-10-21 16:07:57,414 DEBUG Snap netbeans is not tracking the release channel
  2024-10-21 16:07:57,722 DEBUG Snap octave is installed
  2024-10-21 16:07:57,722 DEBUG Snap octave is not tracking the release channel
  2024-10-21 16:07:58,030 DEBUG Snap spotify is installed
  2024-10-21 16:07:58,030 DEBUG Snap spotify is not tracking the release channel
  2024-10-21 16:07:58,125 DEBUG Snap teams is installed
  2024-10-21 16:07:58,125 DEBUG Snap teams is not tracking the release channel
  2024-10-21 16:07:58,542 DEBUG Snap wine-platform-3-stable is installed
  2024-10-21 16:07:58,542 DEBUG Snap wine-platform-3-stable is not tracking the release channel
  2024-10-21 16:07:58,847 DEBUG Snap wine-platform-runtime is installed
  2024-10-21 16:07:58,847 DEBUG Snap wine-platform-runtime is not tracking the release channel
  2024-10-21 16:07:59,109 DEBUG Snap gnome-3-34-1804 is installed
  2024-10-21 16:07:59,109 DEBUG Snap gnome-3-34-1804 is not tracking the release channel
  2024-10-21 16:08:01,289 DEBUG MetaPkgs: ubuntu-desktop
  2024-10-21 16:08:03,260 DEBUG Foreign: 
  2024-10-21 16:08:03,260 DEBUG Obsolete: ansible-core boot-info boot-repair boot-sav boot-sav-extra code containerd.io dbeaver-ce discord docker-buildx-plugin docker-ce docker-ce-cli docker-ce-rootless-extras docker-compose-plugin forticlient glade2script glade2script-python3 gnome-alsamixer gns3-iou google-chrome-stable gstreamer1.0-fluendo-mp3 insomnia jdk-11 jdk-17 libbonobo2-0 libbonobo2-common libbonoboui2-0 libbonoboui2-common libffi6 libgnome-2-0 libgnome-keyring-common libgnome-keyring0 libgnome2-common libgnomeui-0 libgnomeui-common libgnomevfs2-0 libgnomevfs2-common libicu60 libicu65 libicu65:i386 libnih1 libonig4 liborbit-2-0 libprocps6 libpython3.10-minimal libpython3.10-stdlib libsndio6.1 libssl1.0.0 linux-headers-5.0.0-36 linux-headers-5.0.0-36-generic linux-headers-5.3.0-28 linux-headers-5.3.0-28-generic linux-image-5.3.0-28-generic linux-modules-5.3.0-28-generic linux-signed-generic-hwe-18.04 multiarch-support nplan perl-modules-5.26 php7.2-common php7.2-gd php7.3-cli php7.3-common php7.3-json php7.3-mysql php7.3-opcache php7.3-readline php7.3-xml php8.2-cli php8.2-common php8.2-mysql php8.2-opcache php8.2-readline php8.2-xml postgresql-10 postgresql-client-10 python-backports.ssl-match-hostname python-dockerpty python-dockerpycreds python-functools32 python-gtk2 python-jsonschema python-pyaudio python-requests python-texttable python-urllib3 python3-resolvelib python3.10 python3.10-minimal transfig ubuntu-web-launchers ureadahead
  2024-10-21 16:08:03,261 DEBUG updateSourcesList()
  2024-10-21 16:08:03,269 DEBUG rewriteSourcesList() with mirror_check
  2024-10-21 16:08:03,269 DEBUG ['ubuntu-minimal', 'ubuntu-standard']
  2024-10-21 16:08:03,269 DEBUG Checking pkg: ubuntu-minimal
  2024-10-21 16:08:03,272 DEBUG Checking pkg: ubuntu-standard
  2024-10-21 16:08:03,274 DEBUG examining: 'deb http://fr.archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse'
  2024-10-21 16:08:03,274 DEBUG verifySourcesListEntry: deb http://fr.archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse
  2024-10-21 16:08:03,274 DEBUG url_downloadable: http://fr.archive.ubuntu.com/ubuntu//dists/jammy/Release
  2024-10-21 16:08:03,274 DEBUG s='http' n='fr.archive.ubuntu.com' p='/ubuntu//dists/jammy/Release' q='' f=''
  2024-10-21 16:08:03,376 DEBUG entry 'deb http://fr.archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse' updated to new dist
  2024-10-21 16:08:03,376 DEBUG examining: 'deb http://fr.archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse'
  2024-10-21 16:08:03,376 DEBUG entry 'deb http://fr.archive.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse' updated to new dist
  2024-10-21 16:08:03,376 DEBUG examining: 'deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse'
  2024-10-21 16:08:03,376 DEBUG entry 'deb http://fr.archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse' updated to new dist
  2024-10-21 16:08:03,376 DEBUG examining: 'deb http://fr.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse'
  2024-10-21 16:08:03,376 DEBUG entry 'deb http://fr.archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse' updated to new dist
  2024-10-21 16:08:03,411 DEBUG running doUpdate() (showErrors=True)
  2024-10-21 16:08:29,113 DEBUG openCache()
  2024-10-21 16:08:29,566 DEBUG Comparing 5.3.0-28 with 
  2024-10-21 16:08:29,567 DEBUG Comparing 5.4.0-196 with 5.3.0-28
  2024-10-21 16:08:29,567 DEBUG Comparing 5.4.0-198 with 5.4.0-196
  2024-10-21 16:08:29,668 DEBUG /openCache(), new cache size 94517
  2024-10-21 16:08:29,668 DEBUG need_server_mode(): run in 'desktop' mode, (because of pkg 'ubuntu-desktop')
  2024-10-21 16:08:29,669 DEBUG quirks: running PreDistUpgradeCache
  2024-10-21 16:08:29,669 DEBUG running Quirks.PreDistUpgradeCache
  2024-10-21 16:08:30,600 DEBUG Running KeepInstalledSection rules
  2024-10-21 16:08:30,969 DEBUG Kernel uname: '5.4.0-198-generic' 
  2024-10-21 16:08:30,982 DEBUG nvidiaUpdate()
  2024-10-21 16:08:31,539 INFO no old nvidia driver installed, installing no new
  2024-10-21 16:08:31,540 DEBUG Removing 'gnome-cups-manager' (ubuntu-desktop PostUpgradeRemove rule)
  2024-10-21 16:08:31,540 DEBUG Removing 'powermanagement-interface' (ubuntu-desktop PostUpgradeRemove rule)
  2024-10-21 16:08:31,540 DEBUG Removing 'deskbar-applet' (ubuntu-desktop PostUpgradeRemove rule)
  2024-10-21 16:08:31,540 DEBUG Removing 'nautilus-cd-burner' (ubuntu-desktop PostUpgradeRemove rule)
  2024-10-21 16:08:31,540 DEBUG quirks: running PostDistUpgradeCache
  2024-10-21 16:08:31,540 DEBUG running Quirks.PostDistUpgradeCache
  2024-10-21 16:08:31,637 DEBUG Comparing 5.15.0-124 with 
  2024-10-21 16:08:31,637 DEBUG Comparing 5.3.0-28 with 5.15.0-124
  2024-10-21 16:08:31,637 DEBUG Comparing 5.4.0-196 with 5.15.0-124
  2024-10-21 16:08:31,638 DEBUG Comparing 5.4.0-198 with 5.15.0-124
  2024-10-21 16:08:31,721 DEBUG Marking 'ubuntu-desktop' for upgrade
  2024-10-21 16:08:31,871 WARNING Can't mark 'ubuntu-desktop' for upgrade (E:Erreur, pkgProblem::Resolve a généré des ruptures, ce qui a pu être causé par les paquets devant être gardés en l'état.)
  2024-10-21 16:08:31,905 DEBUG denylist expr 'update-manager$' matches 'update-manager'
  2024-10-21 16:08:31,906 DEBUG The package 'update-manager' is marked for removal but it's in the removal deny list
  2024-10-21 16:08:48,908 ERROR Dist-upgrade failed: 'The package 'update-manager' is marked for removal but it is in the removal deny list.'
  2024-10-21 16:08:48,937 DEBUG abort called
  2024-10-21 16:08:48,939 DEBUG openCache()
  2024-10-21 16:08:50,598 DEBUG Comparing 5.3.0-28 with 
  2024-10-21 16:08:50,600 DEBUG Comparing 5.4.0-196 with 5.3.0-28
  2024-10-21 16:08:50,600 DEBUG Comparing 5.4.0-198 with 5.4.0-196
  2024-10-21 16:08:50,727 DEBUG /openCache(), new cache size 100323

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: ubuntu-release-upgrader-core 1:20.04.41
  ProcVersionSignature: Ubuntu 5.4.0-198.218-generic 5.4.280
  Uname: Linux 5.4.0-198-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.27
  Architecture: amd64
  CasperMD5CheckResult: skip
  CrashDB: ubuntu
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Oct 21 16:08:55 2024
  InstallationDate: Installed on 2019-11-17 (1799 days ago)
  InstallationMedia: Ubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805)
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  SourcePackage: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to focal on 2024-10-21 (0 days ago)
  VarLogDistupgradeTermlog:

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




More information about the foundations-bugs mailing list