[arch-general] Why on 1st run does pacman -Qi take so long? (15 seconds waiting for Qi?)

David C. Rankin drankinatty at suddenlinkmail.com
Sat Jun 2 11:05:05 UTC 2018


This is new, after the latest pacman update along with 4.6.13, when running

$ pacman -Qi somepackage

for the first time it takes 15 seconds for any response. E.g.,

$ time pmqi colord
Name            : colord
Version         : 1.4.3-1
Description     : System daemon for managing color devices
Architecture    : x86_64
URL             : https://www.freedesktop.org/software/colord
Licenses        : GPL2
Groups          : None
Provides        : None
Depends On      : lcms2  libgusb  polkit  sqlite  systemd  dconf  dbus
libgudev  shared-mime-info
Optional Deps   : argyllcms: color profiling
                  colord-sane: SANE support
Required By     : gtk3
Optional For    : cups
Conflicts With  : None
Replaces        : shared-color-profiles
Installed Size  : 6.60 MiB
Packager        : Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
Build Date      : Sat 21 Apr 2018 02:58:03 PM CDT
Install Date    : Sun 22 Apr 2018 09:59:37 PM CDT
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature


real    0m15.083s
user    0m0.011s
sys     0m0.194s

That's 15 seconds waiting for something that wasn't there before?

Subsequent -Qi queries are against near instantaneous as they have always been.

Is there something new that causes some type of handshake or authentication
that takes time to establish on 1st call.



-- 
David C. Rankin, J.D.,P.E.


More information about the arch-general mailing list