summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-10-12 20:56:26 +0000
committerZac Medico <zmedico@gentoo.org>2007-10-12 20:56:26 +0000
commitc9c508278ee0c30ad8ca7778a6daf4df3ba7df8d (patch)
tree98172daeaa465cbce9711eb9127ab02d386ab757 /pym
parent4c48b91febcb77ec0a94638b1396a55f27d557e6 (diff)
downloadportage-c9c508278ee0c30ad8ca7778a6daf4df3ba7df8d.tar.gz
portage-c9c508278ee0c30ad8ca7778a6daf4df3ba7df8d.tar.bz2
portage-c9c508278ee0c30ad8ca7778a6daf4df3ba7df8d.zip
Bug #195527 - Add some more information to the file collision
eerror message to try and prevent user confusion: - Hint that `equery belongs <filename>` can be used to find the installed package that owns a file. - Advise then NOT to file a bug without reporting exactly which two packages install the same file(s). svn path=/main/trunk/; revision=8087
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/dbapi/vartree.py14
1 files changed, 10 insertions, 4 deletions
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py
index be8ab8b67..992d8abaa 100644
--- a/pym/portage/dbapi/vartree.py
+++ b/pym/portage/dbapi/vartree.py
@@ -1786,12 +1786,18 @@ class dblink(object):
vartree=self.vartree)
if collisions:
- msg = "This package wants to overwrite" + \
- " files belonging to other packages (see list below)." + \
+ msg = "This package wants to overwrite one or more files that" + \
+ " may belong to other packages (see list below)." + \
" Add \"collision-protect\" to FEATURES in make.conf" + \
" if you would like the merge to abort in cases like this." + \
- " If you have no clue what this is all about then go to" + \
- " http://bugs.gentoo.org and report it as a bug for this package."
+ " If you have determined that one or more of the files" + \
+ " actually belong to another installed package then" + \
+ " go to http://bugs.gentoo.org and report it as a bug." + \
+ " Be sure to identify both this package and the other" + \
+ " installed package in the bug report. Use a command such as " + \
+ " \\`equery belongs <filename>\\` to identify the installed" + \
+ " package that owns a file. Do NOT file a bug without" + \
+ " reporting exactly which two packages install the same file(s)."
self.settings["EBUILD_PHASE"] = "preinst"
cmd = "source '%s/isolated-functions.sh' ; " % PORTAGE_BIN_PATH