https://code.launchpad.net/~juliank/ubuntu-release-upgrader/+git/ubuntu-
release-upgrader/+merge/465148 speeds this up by roughly 35x for the
default lxc container. For larger upgrades, the speed up should probably
be even faster.
--
You received this bug notification because you are a member of
** Merge proposal linked:
https://code.launchpad.net/~juliank/ubuntu-release-upgrader/+git/ubuntu-release-upgrader/+merge/465148
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1874272
Title:
** Merge proposal linked:
https://code.launchpad.net/~juliank/ubuntu/+source/ubuntu-release-upgrader/+git/ubuntu-release-upgrader/+merge/465146
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
** Changed in: ubuntu-release-upgrader (Ubuntu Noble)
Status: Triaged => In Progress
** Changed in: ubuntu-release-upgrader (Ubuntu Noble)
Assignee: (unassigned) => Julian Andres Klode (juliank)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is
** Changed in: ubuntu-release-upgrader (Ubuntu Noble)
Milestone: ubuntu-24.04-beta => ubuntu-24.04
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1874272
Title:
Stage "searching for obsolete
Also happens when upgrading from 2204 to 2404
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1874272
Title:
Stage "searching for obsolete software" takes a very long time (30
minutes)
To manage
Upgrading from 21.10 to 22.04 same issue. "Searching for obsolete
software"
Burning 1 core for 100%
/var/log/dist-upgrade/apt.log is spammed with messages like
Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0)
Facing this as well. Upgrade from 20.04 to 21.04 went OK (minor issue
with `openmpi-bin`). Currently upgrading from 21.04 to 21.10 and have
been waiting on "Searching for obsolete software" for almost an hour now
(still at 64%).
i5-3570K, 24GB of RAM, one core always at 100% usage.
Typing this from my phone while I wait for my laptop to upgrade from
21.04 to 21.10. I did not record the time, but I've been waiting long
enough to search for the problem and end up here.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to
This has not been resolved
Just upgraded from Ubuntu 18.04 to Ubuntu 20.04
The total installation took around 3 hours
Removing obsolete softwares took around 1 hour.
I am using dual boot Intel i5 9th-gen 8gb Ram.
--
You received this bug notification because you are a member of Ubuntu
Bugs,
I don't understand how there can be a comment that its not reproducible.
I upgraded from 18.04->20.04 today and hit it and then upgraded to 21.04
and hit it again harder.
i have no idea what its trying to do to remove obsolete software, but
perhaps it has to be rethought or even made into an
Happened for me on 2 machines today upgrading 18.04 -> 20.04.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1874272
Title:
Stage "searching for obsolete software" takes a very long time (30
Judging by the 100% cpu utilization and entries in /var/log/dist-
upgrade/apt.log... as an outside observer black box guess: is this thing
loading the parsing the entire package dependency graph repeatedly once
per potential package?
88% complete after 30 minutes of CPU time...
--
You received
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
A google search brought me here... Was this ever solved? I'm currently
having the same problem, upgrading from 20.10 to 21.04. "Searching for
obsolete software" was displayed about an hour and a half ago, and the
line below says " eading state information... 52%" (I assume there's a
display bug
** Changed in: ubuntu-release-upgrader (Ubuntu)
Status: Expired => Confirmed
** Changed in: ubuntu-release-upgrader (Ubuntu Focal)
Status: Expired => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
[Expired for ubuntu-release-upgrader (Ubuntu) because there has been no
activity for 60 days.]
** Changed in: ubuntu-release-upgrader (Ubuntu)
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
[Expired for ubuntu-release-upgrader (Ubuntu Focal) because there has
been no activity for 60 days.]
** Changed in: ubuntu-release-upgrader (Ubuntu Focal)
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to
** Tags removed: rls-ff-incoming
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1874272
Title:
Stage "searching for obsolete software" takes a very long time (30
minutes)
To manage notifications
** Tags added: fr-328
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1874272
Title:
Stage "searching for obsolete software" takes a very long time (30
minutes)
To manage notifications about this
Upgraded with do-release-upgrade, "searching for obsolete software" took
about 50 minutes. Attaching upgrade log (partial, upgrade has not
finished yet).
** Attachment added: "upgrade-log"
** Tags added: rls-ff-incoming
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1874272
Title:
Stage "searching for obsolete software" takes a very long time (30
minutes)
To manage notifications
I've upgraded 4 systems from 18.04 to 20.04, and only one has shown this
behavior. Will attach an strace of the focal process. I ran the strace
for approximately 30 seconds.
** Attachment added: "strace of the python focal process, while bug is
occurring"
Upgrading a second system. 47 minutes of CPU time burned so far.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1874272
Title:
Stage "searching for obsolete software" takes a very long time (30
37 minutes so far. Top shows final using 100% of a core. Top -H shows
only one thread. Main.log shows the skipping messages.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1874272
Title:
Stage
Same problem. What would happen if I stopped the upgrade (e.g. by
cutting power on my Intel Barebones PC)?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1874272
Title:
Stage "searching for obsolete
Currently experiencing this. `lsof /var/lib/dpkg/lock` shows only
"focal" as holding the lock. The same "focal" process is also eating up
all of the CPU. No dpkg or apt processes are listed by `ps` either.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is
Same occurrence here form GUI 'updater'. Not a clean install - I
upgraded from 17 first, then 18 LTS -> 20.04. See the same pattern in
/var/log/dist-upgrade/main.log as seen by @Lincoln above. Timestamps
span ~20mins.
--
You received this bug notification because you are a member of Ubuntu
Marking this incomplete since we don't have a reliable reproducer for
it. If someone experiencing this problem can check for other processes
holding a lock (Dimitri's question), that would be helpful.
** Changed in: ubuntu-release-upgrader (Ubuntu Focal)
Status: Confirmed => Incomplete
I've got this right now and if I tail the /var/log/dist-upgrade/main.log
I have...
DEBUG package 'foo' produces an unwanted removal 'libomp5-10', skipping
DEBUG 'foo' scheduled for removal but not safe to remove, skipping
Where 'foo' changes and takes solid core 100% 20 seconds cpu to move to
** Tags added: id-5eb44cb5b465575ffac8f476
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1874272
Title:
Stage "searching for obsolete software" takes a very long time (30
minutes)
To manage
** Also affects: ubuntu-release-upgrader (Ubuntu Focal)
Importance: Undecided
Status: New
** Changed in: ubuntu-release-upgrader (Ubuntu Focal)
Status: New => Confirmed
** Changed in: ubuntu-release-upgrader (Ubuntu Focal)
Importance: Undecided => High
** Tags removed:
I wonder if something stray is holding locks or doing things, and thus
we are waiting on locks to expire.
Do we like stop unatanded upgrades / apt-daily timer units when we start
the ugprade? Cause they may have "cought" the lock between us finish
update, and starting to check for obsolete pkgs.
** Changed in: ubuntu-release-upgrader (Ubuntu)
Importance: Undecided => High
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1874272
Title:
Stage "searching for obsolete software" takes a very
Sorry, I can't add much, but the process on my machine (2Core 4T Intel
Haswell, 16GB Ram, Samsung 860Evo SSD) took over 6 hours. Update was
from 19.10 to 20.04.
$ grep "obsolete pkgs" /var/log/dist-upgrade/main.log
2020-04-30 20:17:50,550 DEBUG Start checking for obsolete pkgs
2020-05-01
** Tags added: rls-ff-incoming
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1874272
Title:
Stage "searching for obsolete software" takes a very long time (30
minutes)
To manage notifications
I can confirm the problem. Including the delay in the cache.commit():
2020-04-26 13:05:59,023 INFO cache.commit()
2020-04-26 14:24:25,464 DEBUG cache.commit() returned None
For the obsolete packages
2020-04-26 14:32:27,989 DEBUG Start checking for obsolete pkgs
2020-04-26 14:53:12,608 DEBUG
I was upgrading from version 18.04 to 20.04 when this bug has appeared.
2020-04-25 11:47:59,154 DEBUG Start checking for obsolete pkgs
2020-04-25 12:37:11,877 DEBUG Finish checking for obsolete pkgs
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: ubuntu-release-upgrader (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
I also did a spot check of open bugs in Launchpad for Mainlog.txt files
with an extremely long times between starting and finishing the check
for obsolete packages and I found none. Although, maybe I should check
closed bugs too.
--
You received this bug notification because you are a member of
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
41 matches
Mail list logo