On Thu, Sep 13, 2012 at 12:59 PM, Andrei POPESCU
<andreimpope...@gmail.com> wrote:
> On Jo, 13 sep 12, 06:05:51, Tom H wrote:
>>
>> [root:~]# aptitude search '?virtual' | grep awk
>> v   awk                             -
>> v   awk:i386                        -
>> [root:~]# aptitude search '?installed' | grep awk
>> i A gawk                            - GNU awk, a pattern scanning and 
>> processing
>> i   mawk                            - a pattern scanning and text processing 
>> lan
>> [root:~]#
>
> Why grep (and root)?
>
> $ aptitude search '?installed(awk)'
> i A gawk                            - GNU awk, a pattern scanning and 
> processing
> i A mawk                            - a pattern scanning and text processing 
> lan

root because I happened to be logged in as root; sorry.

grep because I don't think that the search would work for other
virtual packages that don't share 3 of 4 letters with the real
packages that provide it. Do they?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOdo=SwEjeAbCa1QWBsnUQD=51wyxkrev7gqdwa_hkjnuuv...@mail.gmail.com

Reply via email to