Re: dpkg package list
On Mon, Sep 7, 2009 at 10:44 PM, Wayne Topa<linuxtwo@gmail.com> wrote:
> Hinko Kocevar wrote:
>>
>> Hi,
>>
>> Is it possible to remove packages with 'pn' and 'rn' from the 'dpkg -l'
>> listing?
>>
>> # dpkg -l libera*
>> Desired=Unknown/Install/Remove/Purge/Hold
>> | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
>> |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
>> uppercase=bad)
>> ||/ Name Version
>> Description
>>
>> +++-===========================================-===========================================-======================================================================================================
>> rn libera-gbeth <none>
>> (no description available)
>> pn libera-pll <none>
>> (no description available)
>
> Sure is. You just have to read the dpkg | aptitude | apt-get man pages and
> look the the purge command.
>
Right.
I managed to get rid of the second line by issuing:
# dpkg --forget-old-unavail
But the first one changed status to (don't know for sure when):
un libera-gbeth <none>
(no description available)
# dpkg -P libera-gbeth
dpkg - warning: ignoring request to remove libera-gbeth which isn't installed.
# dpkg --forget-old-unavail
# dpkg -l libera-gbeth
un libera-gbeth <none>
(no description available)
# dpkg --force-all -r libera-gbeth
dpkg - warning: ignoring request to remove libera-gbeth which isn't installed.
# dpkg -r libera-gbeth
dpkg - warning: ignoring request to remove libera-gbeth which isn't installed.
Thank you,
HK
--
.. the more I see the less I believe.., AE AoR
Reply to: