Test Case:
1. Fresh Bionic installation from 18.04.4 + all updates applied
2. Run: update-manager -d
3. Proceed with the upgrade.
Actual Result:
Everything goes well but the stage "Searching for obsolete software" takes a very long time.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubuntu-release-upgrader-core 1:20.04.18
ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
Uname: Linux 5.4.0-26-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Wed Apr 22 10:34:19 2020
InstallationDate: Installed on 2020-04-20 (2 days ago)
InstallationMedia: Ubuntu 18.04.4 LTS "Bionic Beaver" - Release amd64 (20200203.1)
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
Symptom: ubuntu-release-upgrader
UpgradeStatus: Upgraded to focal on 2020-04-22 (0 days ago)
VarLogDistupgradeTermlog:
I restored this apt-clone file to an Ubuntu 18.04 LTS system and then upgraded to Ubuntu 20.04 LTS. The search for obsolete software only took a minute.
bdmurray@ clean-bionic- amd64:~ $ grep "obsolete pkgs" /var/log/ dist-upgrade/ main.log
2020-04-22 14:04:41,576 DEBUG Start checking for obsolete pkgs
2020-04-22 14:05:27,656 DEBUG Finish checking for obsolete pkgs
It's not immediately clear to me what is going on. This other cache operation of yours also took a long time.
2020-04-22 09:17:49,110 INFO cache.commit()
2020-04-22 09:42:51,188 DEBUG cache.commit() returned None
2020-04-22 09:42:51,332 DEBUG openCache()
2020-04-22 09:42:54,210 DEBUG /openCache(), new cache size 65224