Hi Tomas, On Tue, Jul 02, 2019 at 06:33:43PM +0200, Tomas Pospisek wrote: > I'm upgrading a box from jessie to stretch. `apt-get upgrade` is taking > *extremely* long. Installing a single package is taking minutes. > > When I check `ps faux` I see that there's a process `check-support-status` > at the end of the `apt-get upgrade` process chain. > > So I: > > mv /usr/share/debian-security-support/check-support-status.hook > /usr/share/debian-security-support/check-support-status.hook.nook > > and from the next package on, the install gets real quick, as usual, a > package install every second or so. > > Disk speed here looks OK, it's around 150MB/s. Network speed, a `wget` > from a kernel.org is at about 80MB/s.
I've just uploaded debian-security-support 2020-02-21 fixing "#890862 d-s-s: Please change from su to runuser" and I wonder if this fixes this issue as well, because "su" starts a full pam session, while "runuser" doesnt do that (and I suspect some pam things slowed down your installation). Can you confirm? (If needed I could provide backports of debian-security-support 2020-02-21 for you for jessie or stretch, but you could also build that package yourself...) -- cheers, Holger ------------------------------------------------------------------------------- holger@(debian|reproducible-builds|layer-acht).org PGP fingerprint: B8BF 5413 7B09 D35C F026 FE9D 091A B856 069A AA1C
signature.asc
Description: PGP signature