Jump to content
Forums in Read-Only Mode - Please use Reddit ×
  • 0

File collision, unable to update


john123

Question

Hello,

 

I'm completely new to Funtoo. A couple of days  I'm  facing with the update problem.
I think it is wiser to ask for help.
This is  the output of the update command.
And down is attached the log file.

Please give me some hint what I should do.
 
# emerge -auDN world

These are the packages that would be merged, in order:

Calculating dependencies... done!

[ebuild     U  ] app-eselect/eselect-python-20151117-r2 [20140125]

[ebuild     U  ] app-misc/ca-certificates-20151214.3.21 [20150426.3.20-r1]

[ebuild     U  ] dev-python/packaging-16.2 [16.0]

[ebuild     U  ] dev-python/setuptools-20.1.1 [19.4]

[ebuild     U  ] dev-python/pyparsing-2.1.0 [2.0.7]

[ebuild   R    ] net-misc/openssh-7.1_p2-r1  USE="X*"

[ebuild   R    ] dev-libs/libusb-1.0.19  USE="udev*"

[ebuild   R    ] virtual/libusb-1-r2  USE="udev*"

[ebuild   R    ] sys-apps/groff-1.22.3  USE="X*"

[ebuild  N     ] sys-libs/gpm-1.20.7-r2  USE="(-selinux) -static-libs" ABI_X86="32 (64) (-x32)"

[ebuild   R    ] sys-libs/ncurses-6.0-r1  USE="gpm*"

[ebuild   R    ] sys-apps/util-linux-2.27.1  USE="udev*"

[ebuild   R    ] media-libs/mesa-11.1.1  USE="xa*"

[ebuild   R    ] sys-process/psmisc-22.21-r2  USE="X*"

[ebuild   R    ] dev-libs/newt-0.52.18  USE="gpm*"

[ebuild  N     ] x11-libs/gtksourceview-2.10.5-r3  USE="{-test}"

[ebuild  N     ] dev-python/pygtksourceview-2.10.1-r1  USE="-doc" PYTHON_TARGETS="python2_7"

[ebuild   R    ] sys-auth/polkit-0.113-r1  USE="gtk* introspection*"

[ebuild  N     ] gnome-extra/polkit-gnome-0.105-r1

[ebuild   R    ] net-misc/modemmanager-1.4.8  USE="policykit*"

[ebuild   R    ] sys-power/pm-utils-1.4.1-r7  USE="alsa*"

[ebuild   R    ] sys-boot/grub-2.02_beta2-r3  USE="truetype*"

[ebuild   R    ] sys-power/upower-0.99.3-r1  USE="ios*"

[ebuild   R    ] net-misc/networkmanager-1.0.10-r1  USE="consolekit*"

[ebuild     U  ] app-crypt/gnupg-2.0.29-r1 [2.0.28]

[ebuild   R    ] dev-vcs/git-2.7.0-r2  USE="gtk*"



Would you like to merge these packages? [Yes/No]

build.log.txt

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

Thanks Cardinal , that worked like charm .

 

Renaming  those files has solved file-collisions problem.

That should be somewhere in the wiki page.

 

Whole package:

# equery f eselect-python
 * Searching for eselect-python ...
 * Contents of app-eselect/eselect-python-20151117-r2:
/etc
/etc/env.d
/etc/env.d/python
/etc/env.d/python/.keep_app-eselect_eselect-python-0
/usr
/usr/bin
/usr/bin/2to3 -> ../lib/python-exec/python-exec2
/usr/bin/idle -> ../lib/python-exec/python-exec2
/usr/bin/pydoc -> ../lib/python-exec/python-exec2
/usr/bin/python
/usr/bin/python-config -> ../lib/python-exec/python-exec2
/usr/bin/python2
/usr/bin/python2-config -> ../lib/python-exec/python-exec2
/usr/bin/python3
/usr/bin/python3-config -> ../lib/python-exec/python-exec2
/usr/bin/pyvenv -> ../lib/python-exec/python-exec2
/usr/share
/usr/share/eselect
/usr/share/eselect/modules
/usr/share/eselect/modules/python.eselect

 

thanks to all again

Link to comment
Share on other sites

  • 0

Thanks Sandro,

 

It again stop on eselect-python-20151117-r2

 

 

 

 

emerge -DNu world --with-bdeps=y --keep-going
 
>>> Installing (6 of 36) app-eselect/eselect-python-20151117-r2::gentoo
 * This package will overwrite one or more files that may belong to other
 * packages (see list below). You can use a command such as `portageq
 * owners / <filename>` to identify the installed package that owns a
 * file. If portageq reports that only one package owns a file then do
 * NOT file a bug report. A bug report is only useful if it identifies at
 * least two or more packages that are known to install the same file(s).
 * If a collision occurs and you can not explain where the file came from
 * then you should simply ignore the collision since there is not enough
 * information to determine if a real problem exists. Please do NOT file
 * a bug report at http://bugs.gentoo.orgunless you report exactly which
 * two packages install the same file(s). See
 * http://wiki.gentoo.org/wiki/Knowledge_Base:Blockersfor tips on how to
 * solve the problem. And once again, please do NOT file a bug report
 * unless you have completely understood the above message.
 *
 * package app-eselect/eselect-python-20151117-r2 NOT merged
 *
 * Detected file collision(s):
 *
 *     /usr/bin/python3
 *     /usr/bin/python2
 *     /usr/bin/python
 *     /usr/bin/pydoc
 *     /usr/bin/2to3
 *     /usr/bin/python-config
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * None of the installed packages claim the file(s).
 *
 * Package 'app-eselect/eselect-python-20151117-r2' NOT merged due to
 * file collisions. If necessary, refer to your elog messages for the
 * whole content of the above message.

>>> Failed to install app-eselect/eselect-python-20151117-r2, Log file:

>>>  '/var/tmp/portage/portage/app-eselect/eselect-python-20151117-r2/temp/build.log'
*** Resuming merge...
Calculating dependencies... done!

 * Messages for package app-eselect/eselect-python-20151117-r2:

 * This package will overwrite one or more files that may belong to other
 * packages (see list below). You can use a command such as `portageq
 * owners / <filename>` to identify the installed package that owns a
 * file. If portageq reports that only one package owns a file then do
 * NOT file a bug report. A bug report is only useful if it identifies at
 * least two or more packages that are known to install the same file(s).
 * If a collision occurs and you can not explain where the file came from
 * then you should simply ignore the collision since there is not enough
 * information to determine if a real problem exists. Please do NOT file
 * a bug report at http://bugs.gentoo.orgunless you report exactly which
 * two packages install the same file(s). See
 * http://wiki.gentoo.org/wiki/Knowledge_Base:Blockersfor tips on how to
 * solve the problem. And once again, please do NOT file a bug report
 * unless you have completely understood the above message.
 *
 * package app-eselect/eselect-python-20151117-r2 NOT merged
 *
 * Detected file collision(s):
 *
 *     /usr/bin/python3
 *     /usr/bin/python2
 *     /usr/bin/python
 *     /usr/bin/pydoc
 *     /usr/bin/2to3
 *     /usr/bin/python-config
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * None of the installed packages claim the file(s).
 *
 * Package 'app-eselect/eselect-python-20151117-r2' NOT merged due to
 * file collisions. If necessary, refer to your elog messages for the
 * whole content of the above message.
 * One or more packages are either masked or have missing dependencies:
 *
 *   >=app-eselect/eselect-python-20151117-r1 pulled in by:
 *     (dev-lang/python-2.7.11-r2:2.7/2.7::gentoo, installed)
 *
 *   >=app-eselect/eselect-python-20151117-r1 pulled in by:
 *     (dev-lang/python-3.4.3-r7:3.4/3.4m::gentoo, installed)
 *
 * The resume list contains packages that are either masked or have
 * unsatisfied dependencies. Please restart/continue the operation
 * manually, or use --skipfirst to skip the first package in the list and
 * any other packages that may be masked or have missing dependencies.

 

And output of the other command:

 

 

 # emerge -DNupv world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] app-eselect/eselect-python-20151117-r2::gentoo [20140125::gentoo] 0 KiB
[ebuild     U  ] app-misc/ca-certificates-20151214.3.21::gentoo [20150426.3.20-r1::gentoo] USE="cacert" 0 KiB
[ebuild     U  ] dev-python/packaging-16.2::gentoo [16.0::gentoo] USE="{-test}" PYTHON_TARGETS="python2_7 python3_4 -pypy -pypy3 -python3_3 -python3_5" 0 KiB
[ebuild     U  ] dev-python/setuptools-20.1.1::gentoo [19.4::gentoo] USE="{-test}" PYTHON_TARGETS="python2_7 python3_4 -pypy -pypy3 -python3_3 -python3_5" 0 KiB
[ebuild     U  ] dev-python/pyparsing-2.1.0::gentoo [2.0.7::gentoo] USE="-doc -examples" PYTHON_TARGETS="python2_7 python3_4 -pypy -pypy3 -python3_3 -python3_5" 0 KiB
[ebuild  N     ] dev-python/pygtksourceview-2.10.1-r1:2::gentoo  USE="-doc" PYTHON_TARGETS="python2_7" 0 KiB
[ebuild   R    ] net-misc/openssh-7.1_p2-r1::gentoo  USE="X* hpn pam pie ssl -X509 -bindist -debug -kerberos -ldap -ldns -libedit -libressl -sctp (-selinux) -skey -ssh1 -static" 0 KiB
[ebuild   R    ] sys-apps/groff-1.22.3::gentoo  USE="X* -examples" 0 KiB
[ebuild  N     ] sys-libs/gpm-1.20.7-r2::gentoo  USE="(-selinux) -static-libs" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild   R    ] sys-libs/ncurses-6.0-r1:0/6::gentoo  USE="cxx gpm* unicode -ada -debug -doc -minimal -profile -static-libs {-test} -threads -tinfo -trace" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild   R    ] sys-apps/util-linux-2.27.1::gentoo  USE="cramfs ncurses nls pam python readline static-libs suid udev* unicode -caps -fdformat -kill (-selinux) -slang (-systemd) {-test} -tty-helpers" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python3_4 -python2_7 -python3_3" PYTHON_TARGETS="python2_7 python3_4 -python3_3" 0 KiB
[ebuild   R    ] media-libs/mesa-11.1.1::gentoo  USE="classic dri3 egl gallium gbm llvm nptl udev xa* -bindist -d3d9 -debug -gles1 -gles2 -opencl -openmax -osmesa -pax_kernel -pic (-selinux) -vaapi -vdpau -wayland -xvmc" ABI_X86="32 (64) (-x32)" VIDEO_CARDS="(-freedreno) -i915 -i965 -ilo -intel -nouveau -r100 -r200 -r300 -r600 -radeon -radeonsi -vmware" 0 KiB
[ebuild   R    ] sys-process/psmisc-22.21-r2::gentoo  USE="X* ipv6 nls (-selinux)" 0 KiB
[ebuild   R    ] dev-libs/newt-0.52.18::gentoo  USE="gpm* nls -tcl" PYTHON_TARGETS="python2_7" 0 KiB
[ebuild   R    ] sys-auth/polkit-0.113-r1::gentoo  USE="gtk* introspection* jit nls pam -examples -kde (-selinux) (-systemd) {-test}" 0 KiB
[ebuild  N     ] gnome-extra/polkit-gnome-0.105-r1::gentoo  0 KiB
[ebuild   R    ] net-misc/modemmanager-1.4.8:0/1::gentoo  USE="policykit* qmi -introspection -mbim -qmi-newest -vala" 0 KiB
[ebuild   R    ] sys-power/pm-utils-1.4.1-r7::gentoo  USE="alsa* -debug -ntp" VIDEO_CARDS="-intel -radeon" 0 KiB
[ebuild   R    ] sys-boot/grub-2.02_beta2-r3::gentoo  USE="binfont nls truetype* -debug -device-mapper -doc -efiemu -libzfs -mount -multislot -sdl -static {-test}" GRUB_PLATFORMS="efi-64 pc -coreboot -efi-32 -emu -ieee1275 -loongson -multiboot -qemu -qemu-mips -xen" 0 KiB
[ebuild   R    ] sys-power/upower-0.99.3-r1:0/3::gentoo  USE="deprecated ios* -introspection" 0 KiB
[ebuild   R    ] net-misc/networkmanager-1.0.10-r1::gentoo  USE="consolekit* dhclient modemmanager ncurses nss ppp resolvconf wext wifi -bluetooth -connection-sharing -dhcpcd -gnutls -introspection (-selinux) (-systemd) -teamd {-test} -vala -zeroconf" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild     U  ] app-crypt/gnupg-2.0.29-r1::gentoo [2.0.28::gentoo] USE="bzip2 mta nls readline -doc -ldap (-selinux) -smartcard -static -tools -usb" 0 KiB
[ebuild   R    ] dev-vcs/git-2.7.0-r2::gentoo  USE="blksha1 curl gpg gtk* iconv nls pcre perl python threads webdav -cgi -cvs -doc -emacs -gnome-keyring -highlight -libressl -mediawiki -mediawiki-experimental (-ppcsha1) -subversion {-test} -tk -xinetd" PYTHON_TARGETS="python2_7" 0 KiB

Total: 23 packages (6 upgrades, 3 new, 14 reinstalls), Size of downloads: 0 KiB
Link to comment
Share on other sites

  • 0

It appears you have an incomplete install of app-eselect/eselect-python-20151117-r2

This command should disable collision-detection and enable install of eselect-python-20151117-r2

#  FEATURES="-collision-detect -protect-owned" emerge -av1 eselect-python

If file collision persists causing install failure post the output:

# equery f eselect-python

Link to comment
Share on other sites

  • 0

 

# equery f eselect-python
 * Searching for eselect-python ...
 * Contents of app-eselect/eselect-python-20140125:
/etc
/etc/env.d
/etc/env.d/python
/etc/env.d/python/.keep_app-eselect_eselect-python-0
/usr
/usr/bin
/usr/bin/python-wrapper
/usr/share
/usr/share/eselect
/usr/share/eselect/modules
/usr/share/eselect/modules/python.eselect
Link to comment
Share on other sites

  • 0

The five files detected in the file collision do not belong to app-eselect/eselect-python-20140125 according to the equery output.

Renaming the files should not break anything.

Rename each file by adding ~ to the name so there is no collision.

 *     /usr/bin/python3
 
*     /usr/bin/python2
 
*     /usr/bin/python
 
*     /usr/bin/pydoc
 
*     /usr/bin/2to3
 *     /usr/bin/python-config

 

After you finish renaming try to update @world.

Link to comment
Share on other sites

×
×
  • Create New...