View previous topic :: View next topic |
Author |
Message |
nolith n00b
Joined: 27 Jul 2003 Posts: 32 Location: Florence, Italy
|
Posted: Thu Feb 10, 2005 10:26 am Post subject: emerge world -- cpio-2.6-r1 collison detected |
|
|
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 |
|
|
moocha Watchman
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Thu Feb 10, 2005 10:58 am Post subject: |
|
|
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 |
|
|
amcnabb n00b
Joined: 14 May 2003 Posts: 10
|
Posted: Thu Feb 24, 2005 10:58 pm Post subject: |
|
|
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 |
|
|
moocha Watchman
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Fri Feb 25, 2005 4:21 am Post subject: |
|
|
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 |
|
|
amcnabb n00b
Joined: 14 May 2003 Posts: 10
|
Posted: Fri Feb 25, 2005 7:47 am Post subject: |
|
|
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 |
|
|
moocha Watchman
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Fri Feb 25, 2005 1:05 pm Post subject: |
|
|
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 |
|
|
robinp n00b
Joined: 26 Feb 2005 Posts: 8
|
Posted: Sun Feb 27, 2005 12:05 am Post subject: |
|
|
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 |
|
|
|