[Bug 1874272] Re: Stage "searching for obsolete software" takes a very long time (30 minutes)

Cruz Fernandez 1874272 at bugs.launchpad.net
Fri May 14 11:44:24 UTC 2021


Similar to what @iestynapmwg said, while upgrading from Ubuntu 20.10 to
21.04 experiencing this slowness on step "searching for obsolete
software". Mine took 36 minutes (in my Dell XPS 15 9550 that's not so
old).

2021-05-14 08:17:28,617 DEBUG Start checking for obsolete pkgs
2021-05-14 08:41:34,610 DEBUG Finish checking for obsolete pkgs

Main difference is that my main culprit seems always package
'libqt5gui5'

2021-05-14 08:37:08,688 DEBUG 'libparams-validationcompiler-perl' scheduled for remove but not safe to remove, skipping
2021-05-14 08:37:08,776 DEBUG package 'libqt5concurrent5' produces an unwanted removal 'libqt5gui5', skipping

and lsof command returned "hirsute"

sudo lsof /var/lib/dpkg/lock                       
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1002/gvfs
      Output information may be incomplete.
lsof: WARNING: can't stat() fuse.portal file system /run/user/1002/doc
      Output information may be incomplete.
COMMAND   PID USER   FD   TYPE DEVICE SIZE/OFF    NODE NAME
hirsute 15215 root   16uW  REG  259,5        0 1966936 /var/lib/dpkg/lock

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

Title:
  Stage "searching for obsolete software" takes a very long time (30
  minutes)

Status in ubuntu-release-upgrader package in Ubuntu:
  Confirmed
Status in ubuntu-release-upgrader source package in Focal:
  Confirmed

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-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:

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



More information about the foundations-bugs mailing list