update Ubuntu 20.04.1 LTS to Ubuntu 22.04 LTS error

Bug #2020625 reported by jerry
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

2023-05-24 11:47:34,718 INFO Using config files '['./DistUpgrade.cfg.focal']'
2023-05-24 11:47:34,718 INFO uname information: 'Linux jerry-B85M-D3V-A 5.4.0-149-generic #166-Ubuntu SMP Tue Apr 18 16:51:45 UTC 2023 x86_64'
2023-05-24 11:47:34,736 INFO apt version: '2.0.9'
2023-05-24 11:47:34,736 INFO python version: '3.8.10 (default, Mar 13 2023, 10:26:41)
[GCC 9.4.0]'
2023-05-24 11:47:34,737 INFO release-upgrader version '22.04.15' started
2023-05-24 11:47:34,744 INFO locale: 'zh_CN' 'UTF-8'
2023-05-24 11:47:34,775 INFO screen could not be run
2023-05-24 11:47:34,800 DEBUG Using 'DistUpgradeViewText' view
2023-05-24 11:47:34,829 DEBUG enable dpkg --force-overwrite
2023-05-24 11:47:34,854 DEBUG creating statefile: '/var/log/dist-upgrade/apt-clone_system_state.tar.gz'
2023-05-24 11:47:37,391 DEBUG lsb-release: 'focal'
2023-05-24 11:47:37,391 DEBUG _pythonSymlinkCheck run
2023-05-24 11:47:37,392 DEBUG openCache()
2023-05-24 11:47:37,392 DEBUG quirks: running PreCacheOpen
2023-05-24 11:47:37,392 DEBUG running Quirks.PreCacheOpen
2023-05-24 11:47:37,421 DEBUG Comparing 5.4.0-148 with
2023-05-24 11:47:37,422 DEBUG Comparing 5.4.0-149 with 5.4.0-148
2023-05-24 11:47:37,426 DEBUG /openCache(), new cache size 3031
2023-05-24 11:47:37,426 DEBUG need_server_mode(): run in 'desktop' mode, (because of pkg 'ubuntu-desktop')
2023-05-24 11:47:37,426 DEBUG checkViewDepends()
2023-05-24 11:47:37,426 DEBUG depends: 'apt (>= 2.0.4)'
2023-05-24 11:47:37,426 DEBUG checking: '[('apt', '2.0.4', '>=')]'
2023-05-24 11:47:37,426 DEBUG depends: 'libapt-pkg6.0 (>= 2.0.4)'
2023-05-24 11:47:37,426 DEBUG checking: '[('libapt-pkg6.0', '2.0.4', '>=')]'
2023-05-24 11:47:37,427 DEBUG running doUpdate() (showErrors=False)
2023-05-24 11:48:38,511 DEBUG openCache()
2023-05-24 11:48:39,052 DEBUG Comparing 5.4.0-148 with
2023-05-24 11:48:39,052 DEBUG Comparing 5.4.0-149 with 5.4.0-148
2023-05-24 11:48:39,114 DEBUG /openCache(), new cache size 74247
2023-05-24 11:48:39,114 DEBUG doPostInitialUpdate
2023-05-24 11:48:39,114 DEBUG quirks: running jammyPostInitialUpdate
2023-05-24 11:48:39,114 DEBUG running Quirks.jammyPostInitialUpdate
2023-05-24 11:48:39,412 DEBUG running Quirks._test_and_fix_missing_nvidia_metapackage
2023-05-24 11:48:39,990 DEBUG package nvidia-driver-390 detected, exit.
2023-05-24 11:48:45,066 DEBUG Snap core20 is installed
2023-05-24 11:48:45,510 DEBUG Snap gnome-3-38-2004 is installed
2023-05-24 11:48:45,512 DEBUG Snap gnome-3-38-2004 is not tracking the release channel
2023-05-24 11:48:45,925 DEBUG Snap gtk-common-themes is installed
2023-05-24 11:48:45,926 DEBUG Snap gtk-common-themes is not tracking the release channel
2023-05-24 11:48:47,163 DEBUG Snap bare is installed
2023-05-24 11:48:47,164 DEBUG Snap bare is not tracking the release channel
2023-05-24 11:48:47,562 DEBUG Snap code is installed
2023-05-24 11:48:47,562 DEBUG Snap code is not tracking the release channel
2023-05-24 11:48:47,985 DEBUG Snap core is installed
2023-05-24 11:48:47,985 DEBUG Snap core is not tracking the release channel
2023-05-24 11:48:48,396 DEBUG Snap core18 is installed
2023-05-24 11:48:48,397 DEBUG Snap core18 is not tracking the release channel
2023-05-24 11:48:48,789 DEBUG Snap core22 is installed
2023-05-24 11:48:48,789 DEBUG Snap core22 is not tracking the release channel
2023-05-24 11:48:49,221 DEBUG Snap docker is installed
2023-05-24 11:48:49,221 DEBUG Snap docker is not tracking the release channel
2023-05-24 11:48:49,622 DEBUG Snap gnome-3-26-1604 is installed
2023-05-24 11:48:49,623 DEBUG Snap gnome-3-26-1604 is not tracking the release channel
2023-05-24 11:48:50,039 DEBUG Snap gnome-3-28-1804 is installed
2023-05-24 11:48:50,039 DEBUG Snap gnome-3-28-1804 is not tracking the release channel
2023-05-24 11:48:50,447 DEBUG Snap gnome-42-2204 is installed
2023-05-24 11:48:50,447 DEBUG Snap gnome-42-2204 is not tracking the release channel
2023-05-24 11:48:50,868 DEBUG Snap gnome-system-monitor is installed
2023-05-24 11:48:50,868 DEBUG Snap gnome-system-monitor is not tracking the release channel
2023-05-24 11:48:51,708 DEBUG Snap pycharm-community is installed
2023-05-24 11:48:51,709 DEBUG Snap pycharm-community is not tracking the release channel
2023-05-24 11:48:52,175 DEBUG Snap sqlitebrowser is installed
2023-05-24 11:48:52,175 DEBUG Snap sqlitebrowser is not tracking the release channel
2023-05-24 11:48:52,588 DEBUG Snap sublime-text is installed
2023-05-24 11:48:52,589 DEBUG Snap sublime-text is not tracking the release channel
2023-05-24 11:48:52,988 DEBUG Snap gnome-3-34-1804 is installed
2023-05-24 11:48:52,988 DEBUG Snap gnome-3-34-1804 is not tracking the release channel
2023-05-24 11:48:56,894 DEBUG MetaPkgs: ubuntu-desktop
2023-05-24 11:48:58,357 DEBUG Foreign:
2023-05-24 11:48:58,357 DEBUG Obsolete: airtestide app-install-data-partner bindiff clang-10 clang-6.0 clang-tidy-10 clang-tools-10 command-not-found-data cpp-5 cpp-6 cpp-7 cpp-8 crda dart enchant fcitx5-module-quickphrase-editor g++-5 g++-6 gcc-5 gcc-5-base gcc-6 gcc-6-base gcc-7 gcc-7-base gcc-8 gcc-8-base gir1.2-gnomebluetooth-1.0 gir1.2-mutter-2 gir1.2-mutter-6 gir1.2-unity-5.0 gnome-getting-started-docs gnome-shell-extension-desktop-icons gnome-user-guide google-chrome-stable gstreamer1.0-fluendo-mp3 guile-2.0-libs gvfs-bin indicator-sysmonitor ippusbxd libaom0 libasan2 libasan3 libasan4 libbind9-160 libboost-date-time1.65.1 libboost-date-time1.71.0 libboost-filesystem1.65.1 libboost-filesystem1.71.0 libboost-iostreams1.65.1 libboost-iostreams1.71.0 libboost-locale1.65.1 libboost-locale1.71.0 libboost-system1.65.1 libboost-thread1.65.1 libboost-thread1.71.0 libbotan-1.10-1 libbotan1.10-dev libbrlapi0.6 libbrlapi0.7 libcamel-1.2-61 libcamel-1.2-62 libcbor0.6 libcdio17 libcdio18 libcilkrts5 libclang-common-10-dev libclang-common-6.0-dev libclang-cpp10 libclang1-10 libclang1-6.0 libclang1-8 libcodec2-0.9 libcroco3 libdns-export1100 libdns-export1109 libdns1100 libdvdread7 libebook-contacts-1.2-2 libecal-1.2-19 libedataserver-1.2-23 libedataserver-1.2-24 libedataserverui-1.2-2 libenchant1c2a libevent-2.1-6 libexempi3 libexiv2-14 libffi6 libfilezilla0 libfwupdplugin1 libgc1c2 libgcc-5-dev libgcc-6-dev libgcc-7-dev libgcc-8-dev libgcc1 libgdbm5 libgnome-desktop-3-17 libgsoap-2.8.91 libgspell-1-1 libgupnp-1.2-0 libgupnp-av-1.0-2 libgupnp-dlna-2.0-3 libgutenprint2 libgweather-3-15 libhogweed4 libhogweed5 libhunspell-1.6-0 libicu60 libicu66 libidn11 libigdgmm11 libilmbase12 libilmbase24 libip4tc0 libip6tc0 libirs160 libisc-export169 libisc169 libisccc160 libisccfg160 libisl15 libisl19 libisl22 libjavascriptcoregtk-1.0-0 libjavascriptcoregtk-3.0-0 libjson-c3 libjson-c4 libjsoncpp1 libldap-2.4-2 libllvm10 libllvm6.0 libllvm8 liblouis14 liblouisutdml8 liblwres160 libmagickcore-6.q16-3 libmagickcore-6.q16-3-extra libmagickwand-6.q16-3 libminiupnpc10 libmozjs-52-0 libmozjs-68-0 libmpdec2 libmpx0 libmpx2 libmutter-2-0 libmutter-6-0 libnettle6 libnettle7 libntfs-3g88 libntfs-3g883 libomp-10-dev libomp5-10 libopenexr22 libopenexr24 liborcus-0.13-0 liborcus-0.15-0 libparse-debianchangelog-perl libpcre2-posix2 libperl5.26 libperl5.30 libpgm-5.2-0 libphonenumber7 libplymouth4 libpodofo0.9.6 libpoppler73 libpoppler97 libprocps6 libprotobuf10 libprotobuf17 libpython3.6 libpython3.6-minimal libpython3.6-stdlib libpython3.8 libpython3.8-dev libpython3.8-minimal libpython3.8-stdlib libqbscore1.13 libqpdf21 libqpdf26 libraw16 libraw19 libre2-5 libreadline5 libreadline7 libsemanage1 libsepol1 libsepol1-dev libsnmp35 libssl1.0.0 libssl1.1 libstdc++-5-dev libstdc++-6-dev libtepl-4-0 libtracker-control-2.0-0 libtracker-miner-2.0-0 libtracker-sparql-2.0-0 libtss2-esys0 libubsan0 libusbmuxd4 libvirt-bin libvpx5 libvpx6 libwacom2 libwebkitgtk-1.0-0 libwebkitgtk-3.0-0 libwebp6 libx264-155 libx265-179 libxmlb1 linux-headers-5.4.0-148 linux-headers-5.4.0-148-generic linux-headers-5.4.0-149 linux-headers-5.4.0-149-generic linux-image-5.4.0-148-generic linux-image-5.4.0-149-generic linux-modules-5.4.0-148-generic linux-modules-5.4.0-149-generic linux-modules-extra-5.4.0-148-generic linux-modules-extra-5.4.0-149-generic linux-signed-generic llvm-10 llvm-10-dev llvm-10-runtime llvm-10-tools llvm-6.0 llvm-6.0-dev llvm-6.0-runtime multiarch-support nplan nvidia-390 perl-modules-5.26 perl-modules-5.30 python-dev-is-python2 python-is-python2 python-pip-whl python-talloc python3-crypto python3-oauth python3.10-tk python3.6 python3.6-minimal python3.8 python3.8-dev python3.8-minimal python3.8-venv qemu-kvm qt5-default sunloginclient syslinux-legacy typora ubuntu-software ubuntu-system-service ubuntu-web-launchers ureadahead vysor
2023-05-24 11:48:58,357 DEBUG updateSourcesList()
2023-05-24 11:48:58,364 DEBUG rewriteSourcesList() with mirror_check
2023-05-24 11:48:58,364 DEBUG ['ubuntu-minimal', 'ubuntu-standard']
2023-05-24 11:48:58,364 DEBUG Checking pkg: ubuntu-minimal
2023-05-24 11:48:58,365 DEBUG Checking pkg: ubuntu-standard
2023-05-24 11:48:58,366 DEBUG examining: 'deb http://cn.archive.ubuntu.com/ubuntu/ jammy main restricted'
2023-05-24 11:48:58,366 DEBUG entry 'deb http://cn.archive.ubuntu.com/ubuntu/ jammy main restricted' is already set to new dist
2023-05-24 11:48:58,366 DEBUG examining: 'deb-src http://cn.archive.ubuntu.com/ubuntu/ jammy main restricted multiverse universe #Added by software-properties'
2023-05-24 11:48:58,366 DEBUG entry 'deb-src http://cn.archive.ubuntu.com/ubuntu/ jammy main restricted multiverse universe #Added by software-properties' is already set to new dist
2023-05-24 11:48:58,366 DEBUG examining: 'deb http://cn.archive.ubuntu.com/ubuntu/ jammy universe'
2023-05-24 11:48:58,366 DEBUG entry 'deb http://cn.archive.ubuntu.com/ubuntu/ jammy universe' is already set to new dist
2023-05-24 11:48:58,366 DEBUG examining: 'deb http://cn.archive.ubuntu.com/ubuntu/ jammy multiverse'
2023-05-24 11:48:58,366 DEBUG entry 'deb http://cn.archive.ubuntu.com/ubuntu/ jammy multiverse' is already set to new dist
2023-05-24 11:48:58,366 DEBUG examining: 'deb http://security.ubuntu.com/ubuntu jammy-security main restricted'
2023-05-24 11:48:58,366 DEBUG entry 'deb http://security.ubuntu.com/ubuntu jammy-security main restricted' is already set to new dist
2023-05-24 11:48:58,366 DEBUG examining: 'deb-src http://security.ubuntu.com/ubuntu jammy-security main restricted multiverse universe #Added by software-properties'
2023-05-24 11:48:58,366 DEBUG entry 'deb-src http://security.ubuntu.com/ubuntu jammy-security main restricted multiverse universe #Added by software-properties' is already set to new dist
2023-05-24 11:48:58,366 DEBUG examining: 'deb http://security.ubuntu.com/ubuntu jammy-security universe'
2023-05-24 11:48:58,366 DEBUG entry 'deb http://security.ubuntu.com/ubuntu jammy-security universe' is already set to new dist
2023-05-24 11:48:58,366 DEBUG examining: 'deb http://security.ubuntu.com/ubuntu jammy-security multiverse'
2023-05-24 11:48:58,366 DEBUG entry 'deb http://security.ubuntu.com/ubuntu jammy-security multiverse' is already set to new dist
2023-05-24 11:48:58,366 DEBUG examining: 'deb http://archive.ubuntu.com/ubuntu jammy main restricted # auto generated by ubuntu-release-upgrader'
2023-05-24 11:48:58,367 DEBUG entry 'deb http://archive.ubuntu.com/ubuntu jammy main restricted # auto generated by ubuntu-release-upgrader' is already set to new dist
2023-05-24 11:48:58,367 DEBUG examining: 'deb http://archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse # auto generated by ubuntu-release-upgrader'
2023-05-24 11:48:58,367 DEBUG entry 'deb http://archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse # auto generated by ubuntu-release-upgrader' is already set to new dist
2023-05-24 11:48:58,367 DEBUG examining: 'deb http://security.ubuntu.com/ubuntu jammy-security main restricted # auto generated by ubuntu-release-upgrader'
2023-05-24 11:48:58,367 DEBUG entry 'deb http://security.ubuntu.com/ubuntu jammy-security main restricted # auto generated by ubuntu-release-upgrader' is already set to new dist
2023-05-24 11:48:58,418 DEBUG running doUpdate() (showErrors=True)
2023-05-24 11:49:29,146 DEBUG openCache()
2023-05-24 11:49:29,630 DEBUG Comparing 5.4.0-148 with
2023-05-24 11:49:29,630 DEBUG Comparing 5.4.0-149 with 5.4.0-148
2023-05-24 11:49:29,698 DEBUG /openCache(), new cache size 74247
2023-05-24 11:49:29,699 DEBUG need_server_mode(): run in 'desktop' mode, (because of pkg 'ubuntu-desktop')
2023-05-24 11:49:29,699 DEBUG quirks: running PreDistUpgradeCache
2023-05-24 11:49:29,699 DEBUG running Quirks.PreDistUpgradeCache
2023-05-24 11:49:30,068 ERROR Package airtestide has no priority set
2023-05-24 11:49:30,614 DEBUG Running KeepInstalledSection rules
2023-05-24 11:49:30,936 DEBUG Kernel uname: '5.4.0-149-generic'
2023-05-24 11:49:30,941 DEBUG nvidiaUpdate()
2023-05-24 11:49:31,481 INFO no old nvidia driver installed, installing no new
2023-05-24 11:49:31,481 DEBUG Removing 'gnome-cups-manager' (ubuntu-desktop PostUpgradeRemove rule)
2023-05-24 11:49:31,481 DEBUG Removing 'powermanagement-interface' (ubuntu-desktop PostUpgradeRemove rule)
2023-05-24 11:49:31,481 DEBUG Removing 'deskbar-applet' (ubuntu-desktop PostUpgradeRemove rule)
2023-05-24 11:49:31,481 DEBUG Removing 'nautilus-cd-burner' (ubuntu-desktop PostUpgradeRemove rule)
2023-05-24 11:49:31,481 DEBUG quirks: running PostDistUpgradeCache
2023-05-24 11:49:31,481 DEBUG running Quirks.PostDistUpgradeCache
2023-05-24 11:49:31,583 DEBUG Comparing 5.15.0-72 with
2023-05-24 11:49:31,583 DEBUG Comparing 5.4.0-148 with 5.15.0-72
2023-05-24 11:49:31,583 DEBUG Comparing 5.4.0-149 with 5.15.0-72
2023-05-24 11:49:31,635 DEBUG Marking 'ubuntu-desktop' for upgrade
2023-05-24 11:49:31,769 WARNING Can't mark 'ubuntu-desktop' for upgrade (E:错误,pkgProblemResolver::Resolve 发生故障,这可能是有软件包被要求保持现状的缘故。)
2023-05-24 11:49:31,976 ERROR Dist-upgrade failed: 'Broken packages after upgrade: evolution-data-server, gnome-control-center, libgirepository-1.0-1, ubuntu-desktop'
2023-05-24 11:49:31,983 DEBUG abort called
2023-05-24 11:49:31,984 DEBUG openCache()
2023-05-24 11:49:34,194 DEBUG Comparing 5.4.0-148 with
2023-05-24 11:49:34,194 DEBUG Comparing 5.4.0-149 with 5.4.0-148
2023-05-24 11:49:34,262 DEBUG /openCache(), new cache size 74247

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubuntu-release-upgrader-core 1:20.04.29
ProcVersionSignature: Ubuntu 5.4.0-149.166-generic 5.4.233
Uname: Linux 5.4.0-149-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.26
Architecture: amd64
CasperMD5CheckResult: skip
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Wed May 24 13:59:04 2023
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to focal on 2023-05-24 (0 days ago)

Revision history for this message
jerry (jerry0519) wrote :
Revision history for this message
Nick Rosbrook (enr0n) wrote :

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
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.