Summary: | app-portage/portage-utils qfile -o strange output | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Fab <netbox253> |
Component: | [OLD] Unspecified | Assignee: | Portage Utils Team <portage-utils> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | jer, tom.gl |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Fab
2008-11-07 18:48:34 UTC
Compare this: % qfile python ==> list all installed files named "python" (no matter what their path is). And you have some, although /usr/bin/python may not be one of them. With that: % qfile python2 python-config ==> list all installed files or dirs named "python2" or "python-config". And you have none, nowhere. With "-o", qfile just does the opposite. It lists arguments for which no installed file was found, hence "python2" and "python-config", but not "python". As for searching (orphan) files in "/usr/bin", only your first command is correct. Their has to be a "/" in the argument so that it's recognized and used as a full file path, not just a file name. See the man page, the difference between the "qfile /bin/bash" and "qfile bash" examples. Btw, this would have worked too: % cd /usr/bin % qfile -o ./* | grep python /usr/bin/python /usr/bin/python2 /usr/bin/python-config Sorry for the delay, thank you for the explanation. |