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
equery has portage
!!! Fatal error: Used ENV_VAR without match_expression or --package

There is no description in http://en.gentoo-wiki.com/wiki/Gentoolkit

On the other hand man page says it is not working fully yet. However how could I get sensible output? And to understand ENV_VAR (no description in man) , EAPI.. To operate the command with this module fluently I need several examples.

equery has bash
!!! Fatal error: Used ENV_VAR without match_expression or --package

The same result with others (even man page) equery has repository ....

share|improve this question
how are you trying to run it? equery has repository, like all the other examples in the manpage, seems to require the actual value you're filtering for, for example equery has repository sunrise will list all installed packages whose repository (overlay) is sunrise. – njsg Nov 16 '12 at 16:05
But I don't understand the meaning of the command. – Xsi Nov 17 '12 at 6:12
It has three examples: EAPI 2, repository, and SLOT 2.4. There is none of them in short help. Secondly, I don't see any packages in this one--shot help. And thirdly you haven't help not with examples nor it seems that noone understand the command. Now i'm in the search between the internet in it – Xsi Nov 17 '12 at 6:15
Imagine only 33 results "equery has" site:forums.gentoo.org ((( – Xsi Nov 17 '12 at 6:17
How are you running equery has? I provided you a working example, equery has repository sunrise, of course that, if you didn't install any package from sunrise, then you won't get any result for that. There's not much to be understood, IMHO. The command looks for installed packages that have the specified variable with the specified value. If you provide these two parameters, it is more likely to work than if you try to do equery has bash, if bash is even a possible option. If you want another example, equery has SLOT 3 will show installed packages which are part of a slot "3". – njsg Nov 17 '12 at 10:16

Your Answer


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

Browse other questions tagged or ask your own question.