Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80537 - collision-protect in portage-2.0.51r15 vs. files not owned by any package
Summary: collision-protect in portage-2.0.51r15 vs. files not owned by any package
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-02 18:24 UTC by Scott Taylor (RETIRED)
Modified: 2005-02-03 15:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Taylor (RETIRED) gentoo-dev 2005-02-02 18:24:42 UTC
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 #
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2005-02-03 15:36:14 UTC
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.