Re: dpkg
On Friday 24,August,2012 12:35 AM, Lars Noodén wrote:
> On 8/23/12 7:31 PM, lina wrote:
>> Hi,
>>
>> I read the man dpkg,
>>
>> and didn't think too much, just tried the
>>
>> dpkg --clear-selections
>>
>> and then the dpkg --get-selections shows
>>
>> root@Debian:/home/lina# dpkg --get-selections | grep deinstall | wc -l
>> 2991
>> root@Debian:/home/lina# dpkg --get-selections | grep " install" | wc -l
>> 0
> [snip]
>
> This will give you a more accurate picture of what is there:
>
> dpkg --get-selections | awk '$2 == "install" { print }'
>
> Less to worry about that way.
I am not familiar with dpkg,
now I tried the aptitude, during updating it showed me something like:
Unpacking replacement nautilus ...
Selecting previously *unselected package* mplayer.
Preparing to replace mplayer 3:1.1-dmo5 (using
.../mplayer_3%3a1.1-dmo6_amd64.deb) .
only the newly-updated ones shows me "install".
What was a bit worse is that I even tried the dpkg --set-selections
it chocked there, so I just quited.
Thanks,
>
> Regards,
> /Lars
>
>
Reply to:
- References:
- dpkg
- From: lina <lina.lastname@gmail.com>
- Re: dpkg
- From: Lars Noodén <lars.nooden@gmail.com>