Control: tags -1 moreinfo Hi Benoît,
2018-03-04 16:02 GMT+01:00 Benoît Dejean <bdej...@gmail.com>: > On Sun, Mar 04, 2018 at 03:24:36PM +0100, Michael Vogt wrote: >> On Sun, Mar 04, 2018 at 11:51:31AM +0100, Benoît wrote: >> 1;4804;0c> Package: unattended-upgrades >> > Version: 1.0 >> > Severity: important >> >> Thanks for your bugreport. >> >> > Dear Maintainer, >> > >> > on my modest laptop, I can definitely tell when unattended-upgrades is >> > running every morning because it causes my CPU's fan to go full speed >> > for at least an hour. >> > >> > $ time unattended-upgrade --download-only >> > >> > real 15m40,254s >> > user 14m35,468s >> > sys 0m50,685s >> > >> > This seems unreasonable. >> > I'm attaching a cProfile output of the same command. >> > (Took 52min to run). >> >> Hm, that is an unusually large runtime. What does your sources.list >> look like? How many packages are upgradable. The output of >> $ sudo unattended-upgrades --debug --dry-run >> might give some clues. > > Hi, > > This morning I had about 800 upgradeable packages but as i said, > aptitude has no issue quickly finding a solution to that. > I upgraded a bunch manually later today. > > I'm attaching the stdout and stderr of that (10min33s runtime) and my > sources.list. Do you have the same experience, with u-u 1.1? It has an important reliability fix which as a side-effect probably improved speed a lot, too [1]. I also have a few ideas where u-u could be sped up, but those are scheduled to be fixed a bit later. Cheers, Balint [1] https://salsa.debian.org/apt-team/python-apt/merge_requests/7#note_22456