collision-protect warns of existing files not belonging to this package, though the [slow] qpkg -f doesn't show them as belonging to anything. Because qpkg can take a while to give an answer, it'd be nice if the offending packages were listed while collision-protect still had them in memory. That'd also be handy for seeing at a glance if the collisions are anything to be concerned about. >>> Completed installing openmotif-2.2.3 into /data/tmp/portage/openmotif-2.2.3/image/ * checking 849 files for package collisions existing file /usr/lib/libXm.a is not owned by this package existing file /usr/lib/libMrm.a is not owned by this package existing file /usr/lib/libUil.a is not owned by this package existing file /usr/include/X11/bitmaps/xm_error is not owned by this package existing file /usr/include/X11/bitmaps/xm_hour16 is not owned by this package existing file /usr/include/X11/bitmaps/xm_hour16m is not owned by this package existing file /usr/include/X11/bitmaps/xm_hour32 is not owned by this package existing file /usr/include/X11/bitmaps/xm_hour32m is not owned by this package existing file /usr/include/X11/bitmaps/xm_information is not owned by this package existing file /usr/include/X11/bitmaps/xm_noenter16 is not owned by this package existing file /usr/include/X11/bitmaps/xm_noenter16m is not owned by this package existing file /usr/include/X11/bitmaps/xm_noenter32 is not owned by this package existing file /usr/include/X11/bitmaps/xm_noenter32m is not owned by this package existing file /usr/include/X11/bitmaps/xm_question is not owned by this package existing file /usr/include/X11/bitmaps/xm_warning is not owned by this package existing file /usr/include/X11/bitmaps/xm_working is not owned by this package existing file /usr/share/man/man3/Object.3.gz is not owned by this package * spent 0.884119033813 seconds checking for file collisions * This package is blocked because it wants to overwrite * files belonging to other packages (see messages above). Blue sources # qpkg -f /usr/include/X11/bitmaps/xm_hour32m Blue sources # qpkg -f /usr/bin/sendmail mail-mta/courier * Blue sources # qpkg -f /usr/lib/libMrm.a Blue sources # qpkg -f /usr/lib/libXm.a Blue sources #
It doesn't have them in memory, it could be implemented but it would take about the same time as `equery belongs` (which should be used instead of qpkg -f). The test is done by simply searching each filename in $D in the existing CONTENTS file of the installed versions for the *installing* package, not by looking in CONTENTS files of other packages.