public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] portage-2.2 + collision protect
@ 2008-11-14 22:46 Markos Chandras
  2008-11-14 23:07 ` Paul Hartman
  0 siblings, 1 reply; 9+ messages in thread
From: Markos Chandras @ 2008-11-14 22:46 UTC (permalink / raw
  To: gentoo-user

Hello,

I ve upgraded to portage-2.2 . From that time i am having a problem. When 
portage finds a collision between two files during the merge time , it complains 
and doesnt merge the new package. The weird thing is that i do not have 
collision-protect under FEATURES on /etc/make.conf file

Any idea how to deal with that?

Thanks
-- 
Markos Chandras



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] portage-2.2 + collision protect
  2008-11-14 22:46 Markos Chandras
@ 2008-11-14 23:07 ` Paul Hartman
  2008-11-14 23:20   ` Markos Chandras
  0 siblings, 1 reply; 9+ messages in thread
From: Paul Hartman @ 2008-11-14 23:07 UTC (permalink / raw
  To: gentoo-user

On Fri, Nov 14, 2008 at 4:46 PM, Markos Chandras
<markos.chandras@gmail.com> wrote:
> Hello,
>
> I ve upgraded to portage-2.2 . From that time i am having a problem. When
> portage finds a collision between two files during the merge time , it complains
> and doesnt merge the new package. The weird thing is that i do not have
> collision-protect under FEATURES on /etc/make.conf file
>
> Any idea how to deal with that?

Check to see which other package owns the collided file. If none, it's
probably safe to delete it & emerge the new package (which will
replace that file anyway). That's what I do.

Paul



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] portage-2.2 + collision protect
  2008-11-14 23:07 ` Paul Hartman
@ 2008-11-14 23:20   ` Markos Chandras
  2008-11-14 23:24     ` Paul Hartman
  0 siblings, 1 reply; 9+ messages in thread
From: Markos Chandras @ 2008-11-14 23:20 UTC (permalink / raw
  To: gentoo-user; +Cc: Paul Hartman

On Saturday 15 November 2008 01:07:33 Paul Hartman wrote:
> On Fri, Nov 14, 2008 at 4:46 PM, Markos Chandras
>
> <markos.chandras@gmail.com> wrote:
> > Hello,
> >
> > I ve upgraded to portage-2.2 . From that time i am having a problem. 
When
> > portage finds a collision between two files during the merge time , it
> > complains and doesnt merge the new package. The weird thing is that i 
do
> > not have collision-protect under FEATURES on /etc/make.conf file
> >
> > Any idea how to deal with that?
>
> Check to see which other package owns the collided file. If none, it's
> probably safe to delete it & emerge the new package (which will
> replace that file anyway). That's what I do.
>
> Paul
This usually happens when I am trying to install slotted packages like 
amarok-1.94

I am using amarok-1.4.10 and I am trying to install amarok-1.94. They are on 
different slots but portage keeps complaining about collisions. Since I do not 
have collision-protect on FEATURES, portage MUST merge the package even if 
it warns me...
-- 
Markos Chandras



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] portage-2.2 + collision protect
  2008-11-14 23:20   ` Markos Chandras
@ 2008-11-14 23:24     ` Paul Hartman
  2008-11-15  8:40       ` Markos Chandras
  0 siblings, 1 reply; 9+ messages in thread
From: Paul Hartman @ 2008-11-14 23:24 UTC (permalink / raw
  To: Markos Chandras, gentoo-user

On Fri, Nov 14, 2008 at 5:20 PM, Markos Chandras
<markos.chandras@gmail.com> wrote:
> On Saturday 15 November 2008 01:07:33 Paul Hartman wrote:
>> On Fri, Nov 14, 2008 at 4:46 PM, Markos Chandras
>>
>> <markos.chandras@gmail.com> wrote:
>> > Hello,
>> >
>> > I ve upgraded to portage-2.2 . From that time i am having a problem.
> When
>> > portage finds a collision between two files during the merge time , it
>> > complains and doesnt merge the new package. The weird thing is that i
> do
>> > not have collision-protect under FEATURES on /etc/make.conf file
>> >
>> > Any idea how to deal with that?
>>
>> Check to see which other package owns the collided file. If none, it's
>> probably safe to delete it & emerge the new package (which will
>> replace that file anyway). That's what I do.
>>
>> Paul
> This usually happens when I am trying to install slotted packages like
> amarok-1.94
>
> I am using amarok-1.4.10 and I am trying to install amarok-1.94. They are on
> different slots but portage keeps complaining about collisions. Since I do not
> have collision-protect on FEATURES, portage MUST merge the package even if
> it warns me...

What about protect-owned, do you have that? It is like
collision-protect, but it blocks you from overwriting files KNOWN to
belong to other packages (where collisiion-protect will block any file
on disk, even if it has no owning-package)

There are also environment variables which explicitly protect/override
collision detection for directories, regardless of the features
setting.

Paul



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] portage-2.2 + collision protect
  2008-11-14 23:24     ` Paul Hartman
@ 2008-11-15  8:40       ` Markos Chandras
  2008-11-15 12:27         ` Neil Bothwick
  0 siblings, 1 reply; 9+ messages in thread
From: Markos Chandras @ 2008-11-15  8:40 UTC (permalink / raw
  To: Paul Hartman; +Cc: gentoo-user

On Saturday 15 November 2008 01:24:18 Paul Hartman wrote:
> On Fri, Nov 14, 2008 at 5:20 PM, Markos Chandras
>
> <markos.chandras@gmail.com> wrote:
> > On Saturday 15 November 2008 01:07:33 Paul Hartman wrote:
> >> On Fri, Nov 14, 2008 at 4:46 PM, Markos Chandras
> >>
> >> <markos.chandras@gmail.com> wrote:
> >> > Hello,
> >> >
> >> > I ve upgraded to portage-2.2 . From that time i am having a problem.
> >
> > When
> >
> >> > portage finds a collision between two files during the merge time , it
> >> > complains and doesnt merge the new package. The weird thing is 
that i
> >
> > do
> >
> >> > not have collision-protect under FEATURES on /etc/make.conf file
> >> >
> >> > Any idea how to deal with that?
> >>
> >> Check to see which other package owns the collided file. If none, it's
> >> probably safe to delete it & emerge the new package (which will
> >> replace that file anyway). That's what I do.
> >>
> >> Paul
> >
> > This usually happens when I am trying to install slotted packages like
> > amarok-1.94
> >
> > I am using amarok-1.4.10 and I am trying to install amarok-1.94. They 
are
> > on different slots but portage keeps complaining about collisions. Since
> > I do not have collision-protect on FEATURES, portage MUST merge the
> > package even if it warns me...
>
> What about protect-owned, do you have that? It is like
> collision-protect, but it blocks you from overwriting files KNOWN to
> belong to other packages (where collisiion-protect will block any file
> on disk, even if it has no owning-package)
>
> There are also environment variables which explicitly protect/override
> collision detection for directories, regardless of the features
> setting.
>
> Paul
This is my FEATURES line

FEATURES="parallel-fetch buildpkg candy fixpackages ccache sandbox"

Could some of these be responsible for the collision problem?
-- 
Markos Chandras



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] portage-2.2 + collision protect
  2008-11-15  8:40       ` Markos Chandras
@ 2008-11-15 12:27         ` Neil Bothwick
  2008-11-15 14:05           ` Markos Chandras
  0 siblings, 1 reply; 9+ messages in thread
From: Neil Bothwick @ 2008-11-15 12:27 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 582 bytes --]

On Sat, 15 Nov 2008 10:40:25 +0200, Markos Chandras wrote:

> > > I do not have collision-protect on FEATURES, portage MUST merge the
> > > package even if it warns me...  

> This is my FEATURES line
> 
> FEATURES="parallel-fetch buildpkg candy fixpackages ccache sandbox"

You don't have -collision-protect either, so it could be on by default in
your profile. What do you get from

emerge --info | grep FEATURES


-- 
Neil Bothwick

Why is it that when you transport something by car it's called shipment,
but when you transport it by ship it's called cargo?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] portage-2.2 + collision protect
  2008-11-15 12:27         ` Neil Bothwick
@ 2008-11-15 14:05           ` Markos Chandras
  0 siblings, 0 replies; 9+ messages in thread
From: Markos Chandras @ 2008-11-15 14:05 UTC (permalink / raw
  To: gentoo-user; +Cc: Neil Bothwick

On Saturday 15 November 2008 14:27:49 Neil Bothwick wrote:
> On Sat, 15 Nov 2008 10:40:25 +0200, Markos Chandras wrote:
> > > > I do not have collision-protect on FEATURES, portage MUST merge the
> > > > package even if it warns me...
> >
> > This is my FEATURES line
> >
> > FEATURES="parallel-fetch buildpkg candy fixpackages ccache sandbox"
>
> You don't have -collision-protect either, so it could be on by default in
> your profile. What do you get from
>
> emerge --info | grep FEATURES

Ah that got me some extra features

FEATURES="buildpkg candy ccache distlocks fixpackages parallel-fetch 
preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"

So , as you can see protect-owned is on as you told me before

What if I add under FEATURES , -protect-owned? . Could this solve my problem?


-- 
Markos Chandras



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] portage-2.2 + collision protect
@ 2008-11-15 14:23 Neil Bothwick
  2008-11-15 14:39 ` Markos Chandras
  0 siblings, 1 reply; 9+ messages in thread
From: Neil Bothwick @ 2008-11-15 14:23 UTC (permalink / raw
  Cc: gentoo-user, Neil Bothwick

[-- Attachment #1: Type: text/plain, Size: 665 bytes --]



Yes, in the same way that disconnecting the warning lamp fixes the low oil 
pressure problem in your car :(

-- 
Neil Bothwick
 
On 15 Nov 2008, 2:06 PM, "Markos Chandras" <markos.chandras@gmail.com> 
wrote:

On Saturday 15 November 2008 14:27:49 Neil Bothwick wrote: > On Sat, 15 Nov 
2008 10:40:25 +0200, Mar...
Ah that got me some extra features

FEATURES="buildpkg candy ccache distlocks fixpackages parallel-fetch
preserve-libs protect-owned sandbox sfperms strict unmerge-orphans 
userfetch"

So , as you can see protect-owned is on as you told me before

What if I add under FEATURES , -protect-owned? . Could this solve my 
problem?


--
Markos Chandras


[-- Attachment #2: Type: text/html, Size: 909 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] portage-2.2 + collision protect
  2008-11-15 14:23 [gentoo-user] portage-2.2 + collision protect Neil Bothwick
@ 2008-11-15 14:39 ` Markos Chandras
  0 siblings, 0 replies; 9+ messages in thread
From: Markos Chandras @ 2008-11-15 14:39 UTC (permalink / raw
  To: gentoo-user; +Cc: Neil Bothwick

On Saturday 15 November 2008 16:23:51 Neil Bothwick wrote:
> Yes, in the same way that disconnecting the warning lamp fixes the low oil
> pressure problem in your car :(

I agree that this is a wrong way to fix it. First of all am gonna fill a bug 
about amarok and I ll act accordingly 

Thanks

-- 
Markos Chandras



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-11-15 14:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-15 14:23 [gentoo-user] portage-2.2 + collision protect Neil Bothwick
2008-11-15 14:39 ` Markos Chandras
  -- strict thread matches above, loose matches on Subject: below --
2008-11-14 22:46 Markos Chandras
2008-11-14 23:07 ` Paul Hartman
2008-11-14 23:20   ` Markos Chandras
2008-11-14 23:24     ` Paul Hartman
2008-11-15  8:40       ` Markos Chandras
2008-11-15 12:27         ` Neil Bothwick
2008-11-15 14:05           ` Markos Chandras

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox