>>> Completed installing hplip-1.6.10 into /var/tmp/portage/net-print/hplip-1.6.10/image/ man: strip: x86_64-pc-linux-gnu-strip --strip-unneeded usr/libexec/cups/backend/hp usr/sbin/hpiod usr/bin/hpijs usr/lib64/python2.4/site-packages/pcardext.so usr/lib64/python2.4/site-packages/cupsext.so usr/lib64/libhpip.so.0.0.1 removing executable bit: /usr/lib64/libhpip.la * checking 1085 files for package collisions 1000 files checked ... existing file /usr/share/cups/model/foomatic-ppds is not owned by this package * spent 0.671696901321 seconds checking for file collisions * This package is blocked because it wants to overwrite * files belonging to other packages (see messages above). * If you have no clue what this is all about report it * as a bug for this package on http://bugs.gentoo.org package net-print/hplip-1.6.10 NOT merged Searching all installed packages for file collisions... Press Ctrl-C to Stop * net-print/foomatic-filters-ppds-20060720: '/usr/share/cups/model/foomatic-ppds'
/usr/share/cups/model/foomatic-ppds is supposed to be a symlink, not a file. Post the output of 'ls -l /usr/share/cups/model/foomatic-ppds'
It is a symlink: ls -l /usr/share/cups/model/foomatic-ppds -> lrwxrwxrwx 1 root root 14 Oct 20 13:39 /usr/share/cups/model/foomatic-ppds -> /usr/share/ppd/
emerge --info, please
Sorry. Here it is. # emerge --info Portage 2.1.2_rc1-r2 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r1 x86_64) ================================================================= System uname: 2.6.18-gentoo-r1 x86_64 AMD Turion(tm) 64 Mobile Technology MT-32 Gentoo Base System version 1.12.5 Last Sync: Thu, 02 Nov 2006 10:50:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.3.5-r3, 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r2, 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -msse3 -Os -pipe -fomit-frame-pointer -Wall" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=athlon64 -msse3 -Os -pipe -fomit-frame-pointer -Wall" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y" FEATURES="autoconfig ccache collision-protect distlocks maketest metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox" GENTOO_MIRRORS="http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.llarian.net/ http://gentoo.mirrors.easynews.com/linux/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://gentoo.llarian.net/pub/gentoo" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/etc/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="amd64 X a52 aac aalib acl acpi alsa apache2 apm arts audiofile berkdb bitmap-fonts blas bonobo boundschecking bzip2 cairo calendar caps cdinstall cdparanoia cdr clamav cli cracklib crypt cups curl curlwrappers dbm dbus dga dhcp dio directfb dlloader dlopen doc dri dvd dvdr dvdread eds elibc_glibc emacs emacs-w3 emboss encode esd fam fastcgi fbcon ffmpeg fftw firefox flac flash flatfile fortran ftp gb gcj gd gdbm gif ginac glibc-omitfp gmp gnome gpm gstreamer gtk gtk2 guile hal iconv idn imagemagick imap inifile innodb input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog java javascript jbig jikes jpeg jpeg2k junit kde kdeenablefinal kdehiddenvisibility kernel_linux lash ldap lesstif libg++ libgda libwww linguas_en lm_sensors lua lucene mad mailwrapper mbox mcal mhash mikmod milter mime ming mp3 mpeg mpi mpm-worker msession mysql mysqli nas ncurses nls nocd nptl nptlonly nsplugin ocaml odbc ogg openal opengl oracle oracle7 osc oss pam pcmcia pcntl pcre pdf perl png posix postgres ppds pppd profile python qt3 qt4 quicktime readline reflection ruby samba sasl sdl seamonkey session sharedext skey slang smartcard snmp soap sockets socks5 spell spl sqlite sqlite3 sse3 ssl startup-notification svg symlink sysvipc szip tcl tcpd tdb threads tidy tk tokenizer truetype truetype-fonts type1 type1-fonts udev unicode userland_GNU verbose vhosts video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i810 video_cards_mga video_cards_neomagic video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo videos vorbis wddx wifi wmf xemacs xface xine xinetd xml xml2 xmlrpc xorg xprint xsl xv xvid zlib" Unset: CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
portage folks, this was supposedly fixed in >=2.1.2_pre1 (Bug 80846, comment #25); doesn't look like it's the case though.
The only way we can completely fix this kind of thing is with reference counting of files during the unmerge phase (bug 16162). Otherwise, the symlink might get unmerged when one of the two packages is uninstalled. The patch for bug 80846 solved a different type of collision. For example, the case were /lib64 is a symlink to /lib (or vice versa) and the path of an installed file is ambiguous. In that case, portage is smart enough to know that a particular package owns a file regardless of the path that's listed in CONTENTS (it compares inode numbers instead of paths).
(In reply to comment #6) OK, much more clear now, thanks. Lets dupe this against Bug 16162 then?
Yeah, good idea. ;) *** This bug has been marked as a duplicate of 16162 ***