Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 545182 - app-eselect/eselect-* file collisions
Summary: app-eselect/eselect-* file collisions
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ulrich Müller
URL:
Whiteboard:
Keywords:
: 545282 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-03-31 20:05 UTC by Till Schäfer
Modified: 2015-04-05 11:46 UTC (History)
4 users (show)

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 Till Schäfer 2015-03-31 20:05:42 UTC
the new app-eselect/eselect-* packages have file collisions with their old counterparts, which are not uninstalled automatically. maybe there should be an appropriate blocker. 


Example: 

 * Messages for package app-eselect/eselect-opengl-1.3.1-r4:

 * 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.org unless you report exactly which
 * two packages install the same file(s). See
 * http://wiki.gentoo.org/wiki/Knowledge_Base:Blockers for 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.
 * 
 * Detected file collision(s):
 * 
 *      /usr/share/eselect/modules/opengl.eselect
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * app-admin/eselect-opengl-1.3.1-r2:0::gentoo
 *      /usr/share/eselect/modules/opengl.eselect
 * 
 * Package 'app-eselect/eselect-opengl-1.3.1-r4' NOT merged due to file
 * collisions. If necessary, refer to your elog messages for the whole
 * content of the above message.

Reproducible: Always




# emerge --info
Portage 2.2.14 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.8.3, glibc-2.20-r2, 3.18.7-gentoo x86_64)
=================================================================
System uname: Linux-3.18.7-gentoo-x86_64-Intel-R-_Core-TM-_i7-4790K_CPU_@_4.00GHz-with-gentoo-2.2
KiB Mem:    32988480 total,  26301068 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Tue, 31 Mar 2015 19:30:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.9-r1, 3.3.5-r1, 3.4.1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.11
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6-r1, 1.12.6, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.6
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.18 (virtual/os-headers)
sys-libs/glibc:           2.20-r2
Repositories: gentoo steam-overlay kde local_overlay
Installed sets: @kdeartwork-4.14, @kdebase-4.14, @system
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-3.0 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --autounmask-write --jobs=5 --load-average=5.0"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/steam /var/lib/layman/kde /usr/local/portage"
USE="X a52 aac acl acpi aes alsa amd64 avx avx2 bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cdio cdparanoia cdr cli compiz consolekit cracklib crypt cups cxx dbus declarative device-mapper dri dts dvd dvdr emboss encode evdev exif fam ffmpeg firefox flac fma3 fortran gdbm gif glamor glib glibc gpg gpm gstreamer gtk iconv icu id3tag ieee1394 imagemagick inotify ipv4 ipv6 irc jack java java6 jpeg jpeg2k kde kde4 kipi latex lcms ldap libnotify libsamplerate lvm lzma mad mmx mmxext mng modules mozilla mp3 mp4 mpeg mplayer multilib musicbrainz ncurses nls nptl ntp ogg opengl openmp oscar otr pam pango pcre pdf phonon plasma png policykit popcnt ppds pulseaudio qemu qt3support qt4 quicktime rar readline real rss rtc sdl semantic-desktop session spell sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification strigi svg syslog taglib tcpd theora threads thumbnail tiff truetype udev udisks unicode upower usb v41 v412 v4l vaapi vcd vdpau vim-syntax visualization vorbis wavpack win32codecs wlm wma wmf wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="hdsp hdspm" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 1 Derk W te Bokkel 2015-03-31 21:04:22 UTC
why are these files being reinstalled .. there should just be a migration done .. and a database adjustment ..
Comment 2 Derk W te Bokkel 2015-03-31 21:20:39 UTC
do not think this should happen with package migrations:


Calculating dependencies... done!
[ebuild  N     ] app-eselect/eselect-fontconfig-1.1::gentoo  0 KiB
[ebuild  N     ] app-eselect/eselect-opengl-1.3.1-r4::gentoo  0 KiB
[ebuild  N     ] app-eselect/eselect-python-20140125::gentoo  0 KiB
[ebuild  N     ] app-eselect/eselect-qtgraphicssystem-1.1.1::gentoo  0 KiB
[ebuild  N     ] app-eselect/eselect-lib-bin-symlink-0.1.1::gentoo  0 KiB
[ebuild  N     ] app-eselect/eselect-ruby-20141227::gentoo  0 KiB
[ebuild  N     ] app-eselect/eselect-package-manager-20110108::gentoo  0 KiB
[ebuild  N     ] app-eselect/eselect-pinentry-0.4::gentoo  0 KiB
[ebuild  N     ] app-eselect/eselect-cdparanoia-0.1::gentoo  0 KiB
[ebuild  N     ] app-eselect/eselect-java-0.1.0::gentoo  0 KiB
[ebuild     U  ] sys-apps/man-pages-3.82::gentoo [3.81::gentoo] USE="nls" LINGUAS="-da -de -fr -it -ja -nl -pl -ro -ru -zh_CN" 1,326 KiB
[ebuild  N     ] app-eselect/eselect-mesa-0.0.10::gentoo  0 KiB
[ebuild     U  ] sys-libs/ncurses-5.9-r4:5::gentoo [5.9-r3:5::gentoo] USE="cxx gpm unicode -ada -debug -doc -minimal -profile -static-libs -tinfo -trace" ABI_X86="(64) -32 (-x32)" 0 KiB

Total: 13 packages (2 upgrades, 11 new), Size of downloads: 1,326 KiB
Comment 3 James Hiebert 2015-03-31 21:46:00 UTC
+1 for this bug. Even worse, for some of the eselect modules, *both* app-eselect/* and app-admin/* are being pulled in. E.g.

Calculating dependencies... done!
[ebuild  N     ] app-eselect/eselect-lib-bin-symlink-0.1.1  0 KiB
[ebuild  N     ] app-admin/eselect-lib-bin-symlink-0.1.1  0 KiB
...
Comment 4 Derk W te Bokkel 2015-03-31 22:01:01 UTC
last --sync showed database updates .. problem maybe solved .. was for me
Comment 5 Ulrich Müller gentoo-dev 2015-03-31 22:33:59 UTC
https://archives.gentoo.org/gentoo-dev/message/122ac8cb4870a29428c9adb5d0cca2c6

Package moves are in place now, so please re-sync and try again.
Leaving this bug open, in order to prevent duplicates.
Comment 6 Ulrich Müller gentoo-dev 2015-04-05 11:43:28 UTC
*** Bug 545282 has been marked as a duplicate of this bug. ***