diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-10-12 20:56:26 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-10-12 20:56:26 +0000 |
commit | c9c508278ee0c30ad8ca7778a6daf4df3ba7df8d (patch) | |
tree | 98172daeaa465cbce9711eb9127ab02d386ab757 | |
parent | 4c48b91febcb77ec0a94638b1396a55f27d557e6 (diff) | |
download | portage-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
-rw-r--r-- | pym/portage/dbapi/vartree.py | 14 |
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 |