[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg -S problem



Rainer Dorsch wrote:
> 
> I am wondering, if dpkg -S is working for other people very unreliably too 
> (see example below). I guess one of the problem is, that dpkg cannot handle 
> paths which contain symbolic links, but this cannot easily solved. But the 
> following example (Debian 2.0r2) was surprising for me, because 
> /usr/bin/printmail does not contain a symbolic link.
> 
> Explanation: containing a symbolic link
> 
> $ ls -l /usr/bin/|grep X11
> lrwxrwxrwx   1 root     root           12 Sep 14 16:22 X11 -> ../X11R6/bin
> 
> Thus /usr/bin/X11/Xvnc contains a symbolic link.
> 
> 
> 
> $ dpkg -l /usr/bin/printmail
> No packages found matching /usr/bin/printmail.
> 
> $ dpkg -L elm-me+|grep printmail
> /usr/bin/printmail
> /usr/man/man1/printmail.1.gz                       

Could you check how the filenames are stored in /var/lib/dpkg/info/*.list

Regards,

	Joey

-- 
A mathematician is a machine for converting coffee into theorems.


Reply to: