Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

The ~v flag will display all virtual packages, but even if they are already provided by installed packages, adding ~i will make the list empty as virtual packages can never have i flag. So how do I find out what virtuals are installed?

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

So you want the virtual packages (?virtual) that are provided by (?reverse-provides()) an installed package (?installed). That's

?virtual ?reverse-provides(?installed)

or ~v ~Rprovides:~i for short.

share|improve this answer
    
Thanks! I've tried so many combinations, even using to ?for but still couldn't figure out why they don't work. Then I realized ?for doesn't return a different package; it only applies filter with the condition given. –  syockit Jun 3 '11 at 13:18
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.