$ emerge -Duvp world emerge -Duvp world These are the packages that I would merge, in order: Calculating world dependencies ...done! [ebuild U ] dev-java/java-config-0.2.8-r1 [0.2.8] [ebuild U ] dev-libs/memcached-api-php-1.0.10 [1.0.9] [ebuild N ] app-admin/gentoolkit-0.1.30 This can't be right as I already have this package installed. $ emerge -s gentoolkit * app-admin/gentoolkit Latest version available: 0.1.30 Latest version installed: [ Not Installed ] Size of downloaded files: 0 kB Homepage: http://www.gentoo.org/ Description: Collection of unofficial administration scripts for Gentoo * app-portage/gentoolkit Latest version available: 0.1.30 Latest version installed: 0.1.30 Size of downloaded files: 0 kB Homepage: http://www.gentoo.org/ Description: Collection of unofficial administration scripts for Gentoo And this is why it is happening. $ emerge info Portage 2.0.48-r7 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.6.0-test3-bk1 i686 Intel(R) Pentium(R) III Mobile CPU 1200MHz GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ http://ftp.gentoo.skynet.be/pub/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.linux.no/" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow avi crypt encode foomaticdb gif jpeg mad mmx mpeg ncurses pdflib png quicktime truetype xml2 xmms xv zlib directfb alsa berkdb slang readline aalib bonobo svga java mysql X sdl gpm tcpd pam libwww ssl perl python imlib oggvorbis gtk motif opengl cdr acpi acpi4linux apache2 dvd faad fax fbcon imap kerberos maildir md5sum nptl pcmcia php pnp sse tiff usb xml -apm -arts -cups -kde -libg++ -mikmod -nls -qt -spell -gtkhtml -gdbm -tcltk -guile -esd -gnome -mozilla" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe" CXXFLAGS="-march=pentium3 -O3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j3" AUTOCLEAN="yes" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" FEATURES="sandbox ccache buildpkg"
I also got this bunch of errors on 'emerge sync'. ---- Performing Global Updates: /usr/portage/profiles/updates/3Q-2003 (Could take a couple minutes if you have a lot of binary packages.) .='update pass' *='binary update' @='/var/db move' ......................................................@!!! Cannot update binary: Destination exists. !!! app-admin/gentoolkit-0.1.30 -> app-portage/gentoolkit-0.1.30 ..@!!! Cannot update binary: Destination exists. !!! app-admin/mirrorselect-0.7-r1 -> app-portage/mirrorselect-0.7-r1 !!! Cannot update binary: Destination exists. !!! app-admin/mirrorselect-0.6 -> app-portage/mirrorselect-0.6 !!! Cannot update binary: Destination exists. !!! app-admin/mirrorselect-0.7 -> app-portage/mirrorselect-0.7 !!! Cannot update binary: Destination exists. !!! app-admin/mirrorselect-0.8 -> app-portage/mirrorselect-0.8 !!! Cannot update binary: Destination exists. !!! app-admin/mirrorselect-0.81 -> app-portage/mirrorselect-0.81 ..@!!! Cannot update binary: Destination exists. !!! sys-apps/epm-0.8.4 -> app-portage/epm-0.8.4 ..@!!! Cannot update binary: Destination exists. !!! app-admin/splat-0.06 -> app-portage/splat-0.06 .@!!! Cannot update binary: Destination exists. !!! app-admin/ufed-0.32 -> app-portage/ufed-0.32 !!! Cannot update binary: Destination exists. !!! app-admin/ufed-0.33 -> app-portage/ufed-0.33 !!! Cannot update binary: Destination exists. !!! app-admin/ufed-0.34 -> app-portage/ufed-0.34 ... ** Skipping packages. Run 'fixpackages' or set it in FEATURES to fix the tbz2's in the packages directory. Note: This can take a very long time. ----
`emerge -C gentoolkit ; emerge sync` and you should be fine
The binary collisions are there because you made packages without fixing your existing ones... How you did that is a good question though. Delete all the files in /usr/portage/packages that match the first filename given. They should all be symlinks.
Hello. I've done as vapier and carpaski suggested and things seem to be fine. So please feel free to close this bug. I do not set fixpackages in FEATURES as that makes emerge sync take a very long time and since I don't use the packages very often I only run fixpackages manually once every week or so.
nick: this really is not a symptom of what you suggested ... i had it happen on a box of mine where i had made a gentoolkit binary package ... when the update script ran i got those errors ... removing the binary script made things work
*** Bug 27419 has been marked as a duplicate of this bug. ***
*** Bug 30340 has been marked as a duplicate of this bug. ***
Just had this once again today: ---- Performing Global Updates: /usr/portage/profiles/updates/4Q-2003 (Could take a couple minutes if you have a lot of binary packages.) .='update pass' *='binary update' @='/var/db move' ..............@!!! Cannot update binary: Destination exists. !!! sys-apps/tar-1.13.25-r3 -> app-arch/tar-1.13.25-r3 ..@!!! Cannot update binary: Destination exists. !!! sys-apps/bzip2-1.0.2-r2 -> app-arch/bzip2-1.0.2-r2 .@!!! Cannot update binary: Destination exists. !!! sys-apps/gzip-1.3.3-r2 -> app-arch/gzip-1.3.3-r2 ..@!!! Cannot update binary: Destination exists. !!! sys-apps/sharutils-4.2.1-r6 -> app-arch/sharutils-4.2.1-r6 . ---- I don't have fixpackages in features and am using -r15 of portage.
Since I was having a lot of problems with fixpackages and binary package collisions I've separated that aspect from here out into bug 33556 for clarity. Hope that's okay. If not, please adjust as you wish.
*** Bug 33556 has been marked as a duplicate of this bug. ***
i dont know how you guys want to handle this ... it's a problem because sometimes when people moved packages they didnt delete the old ones ... in this case, tar was moved to app-arch but sys-apps still existed and this 'bug' was triggered ...
I can't update world at the moment since portage is still looking for sys-apps/bzip2 which does not exist and has moved to app-arch/bzip2. Any quick fix for this other than to copy the bzip2 dir to sys-apps?
dhruba, it's the portage metadata cache, which you need to regenerate: rm -rf /var/cache/edb/dep/* && emerge regen and that should sort out your emerge world problem
*** Bug 35911 has been marked as a duplicate of this bug. ***
This bug seems to be about like four different issues. Closing it until someone can point out the exact issue this report is about.
Closing due to old age