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

2024-04-29 Thread Julian Andres Klode
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

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

2024-04-29 Thread Launchpad Bug Tracker
** 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:

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

2024-04-29 Thread Launchpad Bug Tracker
** 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.

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

2024-04-29 Thread Julian Andres Klode
** 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

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

2024-04-16 Thread Brian Murray
** 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

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

2024-04-15 Thread Gao Shichao
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

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

2022-04-18 Thread Johan Smolders
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)

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

2021-11-13 Thread Ionut Andrei Oanca
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.

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

2021-11-13 Thread Alan Porter
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

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

2021-08-10 Thread Sukhamjot singh
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,

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

2021-06-09 Thread Shaya Potter
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

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

2021-06-07 Thread Seán Ó Séaghdha
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

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

2021-05-16 Thread Gregory P Smith
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

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

2021-05-14 Thread Cruz Fernandez
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

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

2021-04-23 Thread Conrad Knight
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

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

2020-12-14 Thread Jean-Baptiste Lallement
** 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.

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

2020-12-14 Thread Launchpad Bug Tracker
[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.

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

2020-12-14 Thread Launchpad Bug Tracker
[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

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

2020-10-15 Thread Łukasz Zemczak
** 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

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

2020-10-14 Thread Matthieu Clemenceau
** 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

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

2020-10-10 Thread Noam Mor
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"

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

2020-10-08 Thread Brian Murray
** 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

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

2020-10-07 Thread paul fox
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"

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

2020-10-03 Thread bsy
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

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

2020-09-30 Thread bsy
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

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

2020-09-29 Thread John Rose
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

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

2020-08-15 Thread Jani Uusitalo
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

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

2020-07-24 Thread David Jung
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

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

2020-06-17 Thread Steve Langasek
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

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

2020-06-12 Thread Lincoln Phipps
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

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

2020-05-08 Thread Francis Ginther
** 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

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

2020-05-07 Thread Brian Murray
** 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:

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

2020-05-07 Thread Dimitri John Ledkov
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.

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

2020-05-07 Thread Brian Murray
** 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

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

2020-05-01 Thread Johannes via ubuntu-bugs
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

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

2020-04-27 Thread Brian Murray
** 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

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

2020-04-26 Thread RarSa
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

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

2020-04-25 Thread Fabricio G. Scaglioni
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

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

2020-04-25 Thread Launchpad Bug Tracker
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.

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

2020-04-22 Thread Brian Murray
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

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

2020-04-22 Thread Brian Murray
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