Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Cc: java@g.o
Subject: Re: [gentoo-portage-dev] Problems with the new "no downgrades"
Date: Tue, 08 Apr 2008 16:20:00
Message-Id: 47FB9B35.90101@gentoo.org
In Reply to: [gentoo-portage-dev] Problems with the new "no downgrades" by Vlastimil Babka
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Vlastimil Babka wrote:
5 > *portage-2.1.5_rc1 (04 Apr 2008)
6 >
7 > 04 Apr 2008; Zac Medico <zmedico@g.o> +portage-2.1.5_rc1.ebuild:
8 > 2.1.5_rc1 release. In the event that a previously installed package has
9 > since been masked, emerge will no longer perform an automatic downgrade
10 > as part of a "world" update. You should either unmask such packages or
11 > else explicitly re-merge them in order to have them dowgraded to an
12 > unmasked version. Bug #216231 tracks all bugs fixed since 2.1.4.x.
13 >
14 > Assuming it's because of bug 197810, but that only talks about packages
15 > masked by corruption. But is it really so good to apply this also to
16 > keyword/package.mask or even ebuild being removed?
17 >
18 > For example, we had swt-3.3.1.1 in SLOT="3" and released swt-3.4_pre6
19 > with SLOT="3". Later realized it's not backwards compatible enough and
20 > released swt-3.4_pre6-r1 in SLOT="3.4" removing the 3.4_pre6 ebuild. So
21 > I would expect the slot 3 to downgrade back to 3.3.1.1 (especially if
22 > something pulls slot 3 via slot dep). (Note that we can't use slotmove
23 > because changing slot in java package means also changing where it's
24 > installed and expected.) Now thanks to this change, downgrade won't
25 > happen. I think it's not good.
26 >
27 > VB
28
29 Some others were complaining about this in #gentoo-dev and now what
30 I want to do is revert the behavior so that it's more like it used
31 to be. The "masked by corruption" case from bug 197810 is special
32 (the installed package is not actually masked) and it will be
33 handled without changing the behavior in other cases.
34
35 Zac
36 -----BEGIN PGP SIGNATURE-----
37 Version: GnuPG v2.0.9 (GNU/Linux)
38
39 iEYEARECAAYFAkf7mzMACgkQ/ejvha5XGaM9MwCglI1FIn/DfixjFsiz8uy97XsM
40 LJ8AoJmgn4YZbt4vcdQ51G/PkUdDHM7u
41 =CbCl
42 -----END PGP SIGNATURE-----
43 --
44 gentoo-portage-dev@l.g.o mailing list