Try this too if virtualbox is the specific package you're interested in:

$ grep -A 3 "^Package: virtualbox\$" /var/lib/dpkg/status
Package: virtualbox
Status: install ok installed
Priority: optional
Section: contrib/misc


On Sat, May 9, 2015 at 9:44 PM, Johannes Schauer <jo...@debian.org> wrote:

> Hi,
>
> Quoting Mohsen Pahlevanzadeh (2015-05-10 05:53:17)
> >    When i use : grep ^Status: /var/lib/dpkg/status ,
> >    Unfortunately , i only get "Status: install ok installed"
>
> how sure are you of that? Did you just look at the first few hundred or
> did you
> really find all unique values? Try:
>
> grep ^Status: /var/lib/dpkg/status | sort | uniq -c
>
> cheers, josch
>



-- 
*Tom Lee */ http://tomlee.co / @tglee <http://twitter.com/tglee>

Reply via email to