[Aptitude-devel] Bug#822329: aptitude: Hold Package and Upgrade Package slow
Manuel A. Fernandez Montecelo
manuel.montezelo at gmail.com
Mon Apr 25 00:47:49 UTC 2016
2016-04-23 14:29 Christian Klein:
>Since upgrading to 0.8-1, standard operations in aptitude are really slow.
>When requesting an upgrade of a package (+) or holding (h) a package, or
>downgrading a package, aptitude takes several seconds to respond (with 100% cpu
>usage). While I know that this annoying behavior happens if a package
>dependency is broken, I didn't encounter it for a normal upgrade/hold operation
>until upgrading to 0.8-1. A downgrade to 0.7.5-3 in testing immediately brought
>back the old behaviour (annoyingly slow only if there are broken packages
>around), so I'm pretty sure that this was newly introduced in some version
>after 0.7.5-3, probably with the new 0.8 release. Since I got a pretty fast
>Skylake PC i really wonder why aptitude needs several seconds to complete such
This is probably for the fix of #819636, maybe the check is too
expensive and not worth it after all.
(In my not-bleeding-edge system takes 1s or a fraction, not several
As a work-around, disabling "Install recommends automatically" should
help with the speed, but I'm not sure if you'll want to do this (use at
your own risk!).
Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>
More information about the Aptitude-devel