* [gentoo-user] upgrade/downgrade portage loop
@ 2006-02-02 4:42 Grant
2006-02-02 4:57 ` Richard Fish
0 siblings, 1 reply; 5+ messages in thread
From: Grant @ 2006-02-02 4:42 UTC (permalink / raw
To: Gentoo mailing list
Hello, I have the following in package.keywords:
xfce-base/libxfce4mcs
xfce-base/libxfcegui4
xfce-base/libxfce4util
They need to be in there for xfmedia. Whenever I run 'emerge -avDuN
world' portage wants to either upgrade or downgrade between the two
most recent ~x86 versions of the packages. Does anyone know how to
fix this?
- Grant
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] upgrade/downgrade portage loop
2006-02-02 4:42 [gentoo-user] upgrade/downgrade portage loop Grant
@ 2006-02-02 4:57 ` Richard Fish
2006-02-03 15:58 ` Grant
0 siblings, 1 reply; 5+ messages in thread
From: Richard Fish @ 2006-02-02 4:57 UTC (permalink / raw
To: gentoo-user
On 2/1/06, Grant <emailgrant@gmail.com> wrote:
> Hello, I have the following in package.keywords:
>
> xfce-base/libxfce4mcs
> xfce-base/libxfcegui4
> xfce-base/libxfce4util
>
> They need to be in there for xfmedia. Whenever I run 'emerge -avDuN
> world' portage wants to either upgrade or downgrade between the two
> most recent ~x86 versions of the packages. Does anyone know how to
> fix this?
Use package.mask to mask out the more recent version.
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] upgrade/downgrade portage loop
2006-02-02 4:57 ` Richard Fish
@ 2006-02-03 15:58 ` Grant
2006-02-03 16:45 ` Richard Fish
0 siblings, 1 reply; 5+ messages in thread
From: Grant @ 2006-02-03 15:58 UTC (permalink / raw
To: gentoo-user
> > Hello, I have the following in package.keywords:
> >
> > xfce-base/libxfce4mcs
> > xfce-base/libxfcegui4
> > xfce-base/libxfce4util
> >
> > They need to be in there for xfmedia. Whenever I run 'emerge -avDuN
> > world' portage wants to either upgrade or downgrade between the two
> > most recent ~x86 versions of the packages. Does anyone know how to
> > fix this?
>
> Use package.mask to mask out the more recent version.
>
> -Richard
I have wpa_supplicant in package.keywords too. It has four ~x86
packages that are more recent than the latest x86 package and it
doesn't get caught in an upgrade/downgrade loop. Why is this
happening with the xfce-base stuff?
- Grant
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] upgrade/downgrade portage loop
2006-02-03 15:58 ` Grant
@ 2006-02-03 16:45 ` Richard Fish
2006-02-04 18:54 ` Grant
0 siblings, 1 reply; 5+ messages in thread
From: Richard Fish @ 2006-02-03 16:45 UTC (permalink / raw
To: gentoo-user
On 2/3/06, Grant <emailgrant@gmail.com> wrote:
> > > Hello, I have the following in package.keywords:
> > >
> > > xfce-base/libxfce4mcs
> > > xfce-base/libxfcegui4
> > > xfce-base/libxfce4util
> > >
> > > They need to be in there for xfmedia. Whenever I run 'emerge -avDuN
> > > world' portage wants to either upgrade or downgrade between the two
> > > most recent ~x86 versions of the packages. Does anyone know how to
> > > fix this?
> >
> > Use package.mask to mask out the more recent version.
> >
>
> I have wpa_supplicant in package.keywords too. It has four ~x86
> packages that are more recent than the latest x86 package and it
> doesn't get caught in an upgrade/downgrade loop. Why is this
> happening with the xfce-base stuff?
>
It happens because of a long-time bug in portage that doesn't handle
some dependancy cases very well.
In this case:
pkg A depends on pkg C > version X
pkg B depends on pkg C < version Y
the current version of pkg C is >= Y, and X is < Y.
If for example X is 1.0, Y is 1.2, and the current version is 1.3,
then portage will oscillate between merging pkg C 1.0 and 1.3.
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] upgrade/downgrade portage loop
2006-02-03 16:45 ` Richard Fish
@ 2006-02-04 18:54 ` Grant
0 siblings, 0 replies; 5+ messages in thread
From: Grant @ 2006-02-04 18:54 UTC (permalink / raw
To: gentoo-user
> > > > Hello, I have the following in package.keywords:
> > > >
> > > > xfce-base/libxfce4mcs
> > > > xfce-base/libxfcegui4
> > > > xfce-base/libxfce4util
> > > >
> > > > They need to be in there for xfmedia. Whenever I run 'emerge -avDuN
> > > > world' portage wants to either upgrade or downgrade between the two
> > > > most recent ~x86 versions of the packages. Does anyone know how to
> > > > fix this?
> > >
> > > Use package.mask to mask out the more recent version.
> > >
> >
> > I have wpa_supplicant in package.keywords too. It has four ~x86
> > packages that are more recent than the latest x86 package and it
> > doesn't get caught in an upgrade/downgrade loop. Why is this
> > happening with the xfce-base stuff?
> >
>
> It happens because of a long-time bug in portage that doesn't handle
> some dependancy cases very well.
>
> In this case:
>
> pkg A depends on pkg C > version X
> pkg B depends on pkg C < version Y
> the current version of pkg C is >= Y, and X is < Y.
>
> If for example X is 1.0, Y is 1.2, and the current version is 1.3,
> then portage will oscillate between merging pkg C 1.0 and 1.3.
Got it, thanks!
- Grant
> -Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-02-04 18:59 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-02 4:42 [gentoo-user] upgrade/downgrade portage loop Grant
2006-02-02 4:57 ` Richard Fish
2006-02-03 15:58 ` Grant
2006-02-03 16:45 ` Richard Fish
2006-02-04 18:54 ` Grant
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox