Re: dpkg -S inadequacies
> Hey people. Does anyone know if there are any plans to fix this?
>
> [msoulier@tigger msoulier]$ dpkg -S /usr/bin/X11/mkfontdir
> dpkg: /usr/bin/X11/mkfontdir not found.
>
> This is the one thing that rpm does better, IMHO. I could do an rpm
> -qf
you mean like this? :
aphro@defiant:~$ dpkg -S mkfontdir
xbase-clients: /usr/X11R6/bin/mkfontdir
xbase-clients: /usr/X11R6/man/man1/mkfontdir.1x.gz
aphro@defiant:~$ dpkg -S bin/mkfontdir
xbase-clients: /usr/X11R6/bin/mkfontdir
on a redhat system(6.2):
[admin@istest admin]$ rpm -q -f mkfontdir
file mkfontdir: No such file or directory
[admin@istest admin]$ locate mkfontdir
/usr/X11R6/bin/mkfontdir
/usr/X11R6/man/man1/mkfontdir.1x
[admin@istest admin]$ rpm -q -f /usr/X11R6/bin/mkfontdir
XFree86-3.3.3.1-49
[admin@istest admin]$ rpm -q -f /usr/bin/X11/mkfontdir
XFree86-3.3.3.1-49
[admin@istest admin]$ rpm -q -f bin/mkfontdir
file bin/mkfontdir: No such file or directory
(maybe things changed in redhat 7.x ..)
seems to work for me ......not the same as rpm ..but gets
the same results..im not gonna get into the things i don't
like about rpm .......!
nate
Reply to: