Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
I tried 'qpkg -f /usr/bin/mt' and got back three packages, none of which contain '/usr/bin/mt' (its an old file, not part of any installed package) This small patch to qpkg 0.1.13 gave me the behaviour I expected. For what its worth: --- qpkg.orig 2004-05-05 21:00:03.035422157 -0400 +++ qpkg 2004-05-05 21:03:09.917351843 -0400 @@ -309,7 +309,7 @@ [ "${arg:0:1}" != "/" ] && arg="${PWD}/${arg}" dirs=`ls /var/db/pkg/${group}/*/CONTENTS \ - | xargs grep -Fl " ${arg}" \ + | xargs grep -Flw "${arg}" \ | xargs --no-run-if-empty -n 1 dirname` fi ipak=`( As you can see, I add the 'w' option, and remove the odd leading space in the argument string.
Also with qpkg in version app-portage/gentoolkit-0.2.0_pre8: $ qpkg -f /usr/bin/file returns: app-arch/file-roller * gnome-base/control-center * net-fs/coda * sys-apps/file * This is incorrect as only sys-apps contains /usr/bin/file. The other respectively contain: /usr/bin/file-roller /usr/bin/file-types-capplet /usr/bin/filerepair The code fragement in comment 1 should also fix this.
*** This bug has been marked as a duplicate of 47451 ***