Without specifying the category equery works without traceback: tfoerste@n22 ~/workspace/local_bin $ equery --nocolor --quiet list -i "*.tuxracer.*" * installed packages [I--] [ ] games-arcade/tuxracer-0.61-r3 (0) tfoerste@n22 ~/workspace/local_bin $ equery --nocolor --quiet list -i "*.games-arcade/tuxracer.*" Traceback (most recent call last): File "/usr/bin/equery", line 1551, in ? cmd.perform(local_opts) File "/usr/bin/equery", line 1177, in perform rx = re.compile(cat + "/" + name + "-" + ver + "(-" + rev + ")?") File "/usr/lib/python2.4/sre.py", line 180, in compile return _compile(pattern, flags) File "/usr/lib/python2.4/sre.py", line 227, in _compile raise error, v # invalid expression sre_constants.error: nothing to repeat Reproducible: Always Steps to Reproduce: 1. 2. 3.
*** Bug 109802 has been marked as a duplicate of this bug. ***
The issue here is that you have an invalid regular expression. I have fixed equery to not traceback and to print a more helpful message. I believe that what you intended was: equery --nocolor --quiet list -i ".*games-arcade/tuxracer.*" which works as expected.
Ah, now I see my mistake :-)
Fix is in gentoolkit-0.2.1_rc1