Re: rpm -qa vs apt/dselect/etc
Angus D. Madden <ii@took.ekilat.com> writes:
>shorton, Tue, Sep 30, 2003 at 10:23:14AM -0500:
>>
>>Can someone tell me the equivilant these commands, and/or what to run
>>to get the desired result:
>>
>>rpm -qa = show all packages installed?
>
>Use one of:
>
>dpkg -l
>dpkg --get-selections
>
>>
>>rpm -q --whatprovides xxxx = tell me what package provided program
>>xxxxx
>
>If the package is installed:
>
>dpkg -S
>
>If the package is not installed, you can grab the Contents-$arch.gz
>file from one of the debian servers and use zgrep to see what package
>owns what file.
I did "apt-get install wajig", and now I'm able to do:
wajig whichpkg some_file
It has a lot of other options. I found it when I looker for a way to
check the integrity of installed packages. "wajig commands" shows all
posibilites.
Cheers,
--
Cristian Gutierrez Linux user #298162
crgutier[@]dcc.uchile.cl http://www.dcc.uchile.cl/~crgutier
Real Programmers scorn floating point arithmetic. The decimal point was
invented for pansy bedwetters who are unable to think big.
Reply to: