Subject: please explain pkgdb.refcount and preexist
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 05/05/2005 11:46:33
1) I have various pkgdb.refcount directories that do not contain any
files.
For example:
1042292 4 drwxr-xr-x 3 root wheel
512 May 5 10:35 /usr/pkg/libdata/pkgdb.refcount/dirs/usr/pkg/lib/kde3/
1042299 4 drwxr-xr-x 4 root wheel
512 May 5 10:35
/usr/pkg/libdata/pkgdb.refcount/dirs/usr/pkg/lib/kde3/plugins
1042363 4 drwxr-xr-x 2 root wheel
512 May 5 10:35
/usr/pkg/libdata/pkgdb.refcount/dirs/usr/pkg/lib/kde3/plugins/designer
1042367 4 drwxr-xr-x 2 root wheel
512 May 5 10:35
/usr/pkg/libdata/pkgdb.refcount/dirs/usr/pkg/lib/kde3/plugins/styles
1042369 4 drwxr-xr-x 2 root wheel
512 May 5 10:35
/usr/pkg/libdata/pkgdb.refcount/dirs/usr/pkg/share/applications/kde
I have many others too.
Should this pkgdb.refcount system remove unused directories?
2) Also what are the +PREEXISTING files for? (Please don't say "use the
source!" :)
3) On another system that uses binary pkgsrc packages (but doesn't do any
pkgsrc builds), I have many /var/tmp.refcount/ files.
Such as:
-rw-r--r-- 1 root root 23 Apr 29 07:34
/var/tmp.refcount/files/etc/gimp/2.0/unionrc/instmp.9lGym6
which contains the one line entry:
/var/tmp/instmp.9lGym6
I guess this may be related to my +DISPLAY messages saying "Information
for /var/tmp/instmp.9lGym6" or like that.
And why /var/tmp.refcount -- is that the correct directory?
Jeremy C. Reed
technical support & remote administration
http://www.pugetsoundtechnology.com/