On Thu, Nov 26, 2015 at 10:47:40AM +0100, Jan Stary wrote:
> The output of "pkg_check -x -v -D nosig"
> (full log bellow) on current/amd64 confuses me.
> 
> Firstly,
> 
>   System libs NOT in locate dbs:
>       /usr/X11R6/lib/libEGL.so.0.0
>       /usr/X11R6/lib/libGL.so.15.0
>       /usr/X11R6/lib/libglapi.so.0.0
> 
> but
> 
> $ locate /usr/X11R6/lib/libEGL.so.0.0
> /usr/X11R6/lib/libEGL.so.0.0
> $ locate /usr/X11R6/lib/libGL.so.15.0
> /usr/X11R6/lib/libGL.so.15.0
> $ locate /usr/X11R6/lib/libglapi.so.0.0
> /usr/X11R6/lib/libglapi.so.0.0
> 
> and the files themselves exist.
> In fact, /var/db/locate.database is an hour old.
> 
> Does "not in locate dbs" mean something else?

Yes.

It means the locate dbs that match the installed system (go look into 
/usr/lib/locate and /usr/X11R6/lib/locate)

> Does pkg_check use the locate db instead of checking the files themselves?
> 
> Why does pkg_check care about /usr/X11R6/lib,
> and why exactly these three? Is it because some
> installed package mentioned them as a dependency?
> 
> 
> Next, there is a section of files "not found":
> 
>   Not found:
>       /boot
>       /bsd
>       /bsd.rd
>       /bsd.sp
>       /dload
>       ...
> 
> None of these belongs to an installed package, obviously,
You are correct.

Got a point ?

Reply via email to