Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

Your Answer


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.