[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg



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.

Regards,
/Lars


Reply to: