Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge world -- cpio-2.6-r1 collison detected
View unanswered posts
View posts from last 24 hours

 
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo for Mac OS X (Portage for Mac OS X)
View previous topic :: View next topic  
Author Message
nolith
n00b
n00b


Joined: 27 Jul 2003
Posts: 32
Location: Florence, Italy

PostPosted: Thu Feb 10, 2005 10:26 am    Post subject: emerge world -- cpio-2.6-r1 collison detected Reply with quote

After emerge world
Quote:
>>> Completed installing cpio-2.6-r1 into /var/tmp/portage/cpio-2.6-r1/image/

* checking 22 files for package collisions
existing file /usr/share/man/man1/cpio.1 is not owned by this package
* spent 0.643768787384 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 https://bugs.gentoo.org

package app-arch/cpio-2.6-r1 NOT merged

No package files given... Grabbing a set.


Is it normal?
Tnx
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Thu Feb 10, 2005 10:58 am    Post subject: Reply with quote

Not really, but you can either manually delete the offending file /usr/share/man/man1/cpio.1.gz (which obviously belongs to cpio) and remerge, or remerge with collision checking turned off (see FEATURES in /etc/make.conf.example for a reference on what to turn off).
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
amcnabb
n00b
n00b


Joined: 14 May 2003
Posts: 10

PostPosted: Thu Feb 24, 2005 10:58 pm    Post subject: Reply with quote

I'm having the same problem. Obviously we could tell Gentoo to clobber MacOS files, or we could clobber them ourselves, but that seems like a pretty lame idea.

It looks like sys-arch/cpio-2.6 is in the packages.provided. Is there a reason Portage isn't respecting the packages.provided, or is there a way to fix it? I've even tried changing the packages.provided line to read sys-arch/cpio-2.6-r1 but even that didn't work.

moocha wrote:
Not really, but you can either manually delete the offending file /usr/share/man/man1/cpio.1.gz (which obviously belongs to cpio) and remerge, or remerge with collision checking turned off (see FEATURES in /etc/make.conf.example for a reference on what to turn off).
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Fri Feb 25, 2005 4:21 am    Post subject: Reply with quote

amcnabb wrote:
It looks like sys-arch/cpio-2.6 is in the packages.provided. Is there a reason Portage isn't respecting the packages.provided, or is there a way to fix it? I've even tried changing the packages.provided line to read sys-arch/cpio-2.6-r1 but even that didn't work.

Which isn't surprising, considering that the name is app-arch/cpio.
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
amcnabb
n00b
n00b


Joined: 14 May 2003
Posts: 10

PostPosted: Fri Feb 25, 2005 7:47 am    Post subject: Reply with quote

moocha wrote:
Which isn't surprising, considering that the name is app-arch/cpio.


I apologize for my crippling typo in the forum posting. The line I added to the package.provided which didn't take effect was in fact "app-arch/cpio-2.6-r2". I'm able to avoid the problem with an inject, but that seems like a dirtier solution. I'm more interested in knowing why package.provided is being ignored.
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Fri Feb 25, 2005 1:05 pm    Post subject: Reply with quote

The name has to be /etc/portage/profile/package.provided, and the permissions need to be 0644, owner root:root.
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
robinp
n00b
n00b


Joined: 26 Feb 2005
Posts: 8

PostPosted: Sun Feb 27, 2005 12:05 am    Post subject: Reply with quote

To fix its easiest to just disable collision-protect temporarily. Its just a manpage thast conflilcting because of a portage bug.
Code:
FEATURES="-collision-protect" emerge -v cpio

Apples cpio lives in /bin
portage installs it to /usr/bin

Will hopefully be fixed in the next version of portage.

(Words stolen from Kito's mouth)
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo for Mac OS X (Portage for Mac OS X) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum