Gentoo Archives: gentoo-server

From: Aaron Walker <ka0ttic@g.o>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] upgradeonly deprecated in portage
Date: Sat, 23 Oct 2004 23:17:49
Message-Id: 417AE695.7050908@gentoo.org
In Reply to: [gentoo-server] upgradeonly deprecated in portage by Ben Munat
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Ben Munat wrote:
5 | Hello,
6 |
7 | Does anyone know what the story is with the deprecation of the
8 | --upgradeonly option on emerge? The emerge man page says:
9 |
10 | "This option is deprecated and shouldn't be used anymore. Please use the
11 | /etc/portage/package.* files from now on."
12 |
13 | but it doesn't say what these package.* files are supposed to be. None
14 | of my gentoo systems have any package.* files in the /etc/portage
15 | directory.
16 |
17 | Also the announcement page on the gentoo site talks about several other
18 | new features, but doesn't discuss this deprecation.
19 |
20 | I am using a few packages that are masked and I don't want portage to
21 | revert to an earlier version. The --upgradeonly switch was nice and
22 | easy... don't know why the devs had to screw with that.
23 |
24 | Ben
25
26 Another user asked this same question the other day on the gentoo-portage-dev
27 ML. A portage dev responded:
28
29 |1) emerge --upgradeonly
30 |>
31 |> Why is this deprecated? I think it is endeed a useful feature.
32 |> I'm not sure that the files /etc/portage/package* are a good (esay-to-use)
33 |> replacement for it.
34
35 Downgrades happen when:
36 * a package's versioning changes and it is actually an upgrade,
37 * a package is broken and dangerous, or
38 * masking has been bypassed in some way.
39
40 In the first two cases, you want the change to happen. In the
41 third, /etc/portage/package* serves you much better.
42
43 HTH
44 - --
45 ~ Michelle: You should be chief.
46 ~ Fry: What do I need, ulcers?
47
48 Aaron Walker - Gentoo Developer [ Gentoo/BSD / cron / shell-tools ]
49 ka0ttic@g.o http://dev.gentoo.org/~ka0ttic/
50 -----BEGIN PGP SIGNATURE-----
51 Version: GnuPG v1.2.6 (GNU/Linux)
52 Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
53
54 iD8DBQFBeuaVC3poscuANHARAi7fAKCk3t4hMZXID7khrHHsiCU9uQclugCbBGYO
55 +jCdIRNK4pxAB5xJU6R1g74=
56 =h6FN
57 -----END PGP SIGNATURE-----