[kde-freebsd] pkg_info confusion (and configure.kde3)

Andriy Gapon avg at icyb.net.ua
Thu Jan 15 14:11:42 CET 2009


I am reading pkg_info(1), I see that pkg_info can be executed without
any options/arguments, but the man page doesn't tell what happens in
this case.

In practice I see that configure.kde3 executes pkg_info in the above
fashion (after printing "Looking for installed modules.") and what I
observe is that pkg_info is examining all package files found in
/var/packages. This takes quite long, obviously:


    0 61827 28318   0   8  0  5992  2892 wait   S+J   p5    0:00.12
/usr/sbin/pkg_info
    0 62162 61827   0   8  0  3492  1108 wait   S+J   p5    0:00.00 sh
-c /usr/bin/tar -xp -j -f '/var/packages/All/curl-7.18.0.tbz' '+*'

I am not sure if this is default behavior of pkg_info or it is somehow
affected by environment. I run portupgrade -p and also have PACKAGES set
to /var/packages.

-- 
Andriy Gapon


More information about the kde-freebsd mailing list