[DONE] Question about urpmi startup times
Posted: May 15th, '18, 20:39
I've been meaning to ask about this for a while: when using any urpmi command (or drakrpm) for the first time after a reboot, I always experience a long startup time (about 2 or 3 minutes) with intense HDD usage, whereas any subsequent urpmi command before the next reboot is fast (a few seconds even for an auto-select). Is this normal? I've always assumed it is, but had some doubts.
I've tried running a command with some rebug flags (urpmi --verbose --debug --debug-librpm --auto-update), and the part of the output where it's taking the longest is
where '...' is the read h# line repeated hundreds of times with different numbers.
Thanks in advance
I've tried running a command with some rebug flags (urpmi --verbose --debug --debug-librpm --auto-update), and the part of the output where it's taking the longest is
- Code: Select all
getting exclusive lock on rpm
opening rpmdb (root=, write=)
D: opening db environment /var/lib/rpm cdb:0x401
D: opening db index /var/lib/rpm/Packages 0x400 mode=0x0
D: locked db index /var/lib/rpm/Packages
D: read h# 51690 Header sanity check: OK
...
D: closed db index /var/lib/rpm/Packages
D: closed db environment /var/lib/rpm
scheduled sets of transactions:
I pacchetti sono aggiornati
unlocking urpmi database
unlocking rpm database
EXITING (pid=2052)
where '...' is the read h# line repeated hundreds of times with different numbers.
Thanks in advance