Svante Signell wrote:

BTW: How do you find to which package a file belongs using rpm? Like
dpkg -S file in Debian. rpm -qa|grep file works but does not easily
give the packege information.

For example:

[rolf@localhost rolf]$ rpm -qf gunzip
error: file gunzip: No such file or directory
[rolf@localhost rolf]$ urpmf gunzip
gzip:/bin/gunzip
gzip:/usr/bin/gunzip
gzip:/usr/share/man/man1/gunzip.1.bz2
bonobo:/usr/bin/bonobo-moniker-gunzip
man-pages-es:/usr/share/man/es/man1/gunzip.1.bz2
man-pages-fr:/usr/share/man/fr/man1/gunzip.1.bz2
man-pages-it:/usr/share/man/it/man1/gunzip.1.bz2
man-pages-pl:/usr/share/man/pl/man1/gunzip.1.bz2
[rolf@localhost rolf]$ rpm -qf /bin/gunzip
gzip-1.2.4a-11mdk

The more you specify the argument to urpmf, the less it will find; it can sometimes return a lot. OTOH, if it returns nothing on a complicated lib, try pruning the versioning little-by-little to get some idea. See man rpm, man urpm*


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to