Skip to content

Gentoo Linux: "Package NOT merged due to file collisions" problem and solution

When trying to get the latest sys-libs/timezone-data on a somewhat old system, I got the following error:
[list of nearly all files the package was about to install]
- Package 'sys-libs/timezone-data-2008i' NOT merged due to file
- collisions. If necessary, refer to your elog messages for the whole
- content of the above message.


According to equery, it looks like those files were installed by glibc:
# equery b /usr/share/zoneinfo/CET
sys-libs/glibc-2.3.4.20041102-r1 (/usr/share/zoneinfo/CET)


So I tried
# COLLISION_IGNORE="/usr/share/zoneinfo" emerge -av timezone-data
which showed less errors but still gave me:
 - sys-libs/glibc-2.3.4.20041102-r1
- /usr/bin/tzselect
- /usr/sbin/zdump
- /usr/sbin/zic


I ended up with
# COLLISION_IGNORE="/usr" emerge -av timezone-data
which worked well.

I looked at the ebuilds and saw that newer glibc packages depend on sys-libs/timezone-data, so upgrading glibc should solve the problem too. I've submitted bug 258802 since I didn't find the info anywhere else.
  • Twitter
  • Bookmark Gentoo Linux: "Package NOT merged due to file collisions" problem and solution at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Gentoo Linux: "Package NOT merged due to file collisions" problem and solution
  • Mixx Gentoo Linux: "Package NOT merged due to file collisions" problem and solution
  • Bloglines Gentoo Linux: "Package NOT merged due to file collisions" problem and solution
  • Technorati Gentoo Linux: "Package NOT merged due to file collisions" problem and solution
  • Fark this: Gentoo Linux: "Package NOT merged due to file collisions" problem and solution
  • Bookmark Gentoo Linux: "Package NOT merged due to file collisions" problem and solution at YahooMyWeb
  • Bookmark Gentoo Linux: "Package NOT merged due to file collisions" problem and solution at Furl.net
  • Bookmark Gentoo Linux: "Package NOT merged due to file collisions" problem and solution at reddit.com
  • Bookmark Gentoo Linux: "Package NOT merged due to file collisions" problem and solution at blinklist.com
  • Bookmark Gentoo Linux: "Package NOT merged due to file collisions" problem and solution at Spurl.net
  • Bookmark Gentoo Linux: "Package NOT merged due to file collisions" problem and solution at NewsVine
  • Bookmark Gentoo Linux: "Package NOT merged due to file collisions" problem and solution at Simpy.com
  • Bookmark Gentoo Linux: "Package NOT merged due to file collisions" problem and solution at blogmarks
  • Bookmark Gentoo Linux: "Package NOT merged due to file collisions" problem and solution with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca

Trackbacks

Homunculus on : Ignoring file collisions on Gentoo distributions

Show preview
I recently converted from Ubuntu to Debian to Sabayon, the latter being a Gentoo-based distribution with support for binary packages. Best of two worlds, I thought. It really is great, too. Everything works out of the box. Being Gentoo-based, there are...

Comments

Display comments as Linear | Threaded

ben wolfson on :

Upgrading glibc doesn't actually work, because glibc depends on timezone-data. You can't install the new glibc without doing the COLLISION_IGNORE trick.

The author does not allow comments to this entry

Add Comment

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

Form options