Stage "searching for obsolete software" takes a very long time (30 minutes)
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) | Status tracked in Noble | |||||
Focal |
Triaged
|
High
|
Unassigned | |||
Noble |
Triaged
|
High
|
Unassigned |
Bug Description
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-
ProcVersionSign
Uname: Linux 5.4.0-26-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckR
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)
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ubuntu-
Symptom: ubuntu-
UpgradeStatus: Upgraded to focal on 2020-04-22 (0 days ago)
VarLogDistupgra
tags: | added: rls-ff-incoming |
Changed in ubuntu-release-upgrader (Ubuntu): | |
importance: | Undecided → High |
Changed in ubuntu-release-upgrader (Ubuntu Focal): | |
status: | New → Confirmed |
importance: | Undecided → High |
tags: | removed: rls-ff-incoming |
tags: | added: id-5eb44cb5b465575ffac8f476 |
tags: | added: rls-ff-incoming |
tags: | added: fr-328 |
tags: | removed: rls-ff-incoming |
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | Expired → Confirmed |
Changed in ubuntu-release-upgrader (Ubuntu Focal): | |
status: | Expired → Confirmed |
tags: | removed: fr-328 |
tags: | added: rls-nn-incoming |
tags: |
added: foundations-todo removed: rls-nn-incoming |
Changed in ubuntu-release-upgrader (Ubuntu Focal): | |
status: | Confirmed → Triaged |
Changed in ubuntu-release-upgrader (Ubuntu Noble): | |
status: | Confirmed → Triaged |
milestone: | none → ubuntu-24.04-beta |
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