Re: Finding a package name?
"Robert L. Harris" <Robert.L.Harris@rnd-consulting.com> wrote:
>Thus spake Gary Hennigan (glhenni@sandia.gov):
>> "Robert L. Harris" <Robert.L.Harris@rnd-consulting.com> writes:
>> > How do you find a packagename that's pretty long?
>> >
>> > {0}:iggy:/root>dpkg -l | grep ^r
>> > rc xfonts-biznet-iso-8859- 3.0.0-6 75 dpi BIZNET
>> > ISO-8859-2 fonts for X servers.
>>
>> There might be a more elegant solution but I've always used:
>>
>> dpkg --get-selections
>>
>> It doesn't give the version numbers but you don't need that to purge
>> it.
You could also try 'apt-cache search xfonts-biznet', along similar
lines; or, if you need more detail, try grep-available or grep-status
from the grep-dctrl package.
>Works well enough for me. Thanks, now I just wish I could
>do a "dpkg -P -a" but that doesn't work.
Er, if you want to purge all your packages, why not just put /home
somewhere safe and reformat? :)
--
Colin Watson [cjw44@flatline.org.uk]
Reply to: