Gentoo Archives: gentoo-dev

From: Denys Duchier <duchier@×××××××××.de>
To: gentoo-dev@g.o
Subject: [gentoo-dev] emerge -Up tetex wants to downgrade
Date: Mon, 28 Apr 2003 20:01:23
Message-Id: 86u1cio0hs.fsf@speedy.ps.uni-sb.de
1 Dear devs,
2
3 I asked this question on the gentoo-user list, but did not get any
4 useful answer. Can someone on the dev list please has a quick look:
5
6 "emerge -U" is not behaving as I would expect. I discovered this
7 while trying "emerge -Up world" to see what I needed to update.
8 Here is what I get:
9
10
11 % emerge -Up tetex
12 >>> --upgradeonly implies --update... adding --update to options.
13
14 These are the packages that I would merge, in order:
15
16 Calculating world dependencies ...done!
17 [ebuild UD] app-text/tetex-1.0.7-r12 [2.0-r1]
18
19
20 % ACCEPT_KEYWORDS="~x86" emerge -Up tetex
21 >>> --upgradeonly implies --update... adding --update to options.
22
23 These are the packages that I would merge, in order:
24
25 Calculating dependencies ...done!
26 [ebuild U ] app-shells/bash-2.05b-r4 [2.05b-r3]
27 [ebuild U ] dev-util/dialog-0.9_beta20030308-r1 [0.9_beta20020814]
28 [ebuild U ] app-text/tetex-2.0.2 [2.0-r1]
29
30
31 --upgradeonly (-U) is documented as follows:
32
33 "Updates packages, but excludes updates that would result in a
34 lower version of the package being installed. SLOTs are considered
35 at a basic level."
36
37 I have no idea what the last sentence is supposed to mean, but the
38 first sentence promises exactly what I want: namely to not
39 downgrade... but that's not what emerge delivers. Is that an error of
40 documentation, of implementation, or of interpretation on my part?
41
42 Without such an option (with the semantics that I want), it is
43 extremely inconvenient to upgrade your system, while not downgrading
44 the select few ~x86 packages that you have emerged.
45
46 Any insights?
47
48 Cheers,
49
50 --
51 Dr. Denys Duchier
52 Équipe Calligramme
53 LORIA, Nancy, FRANCE
54
55 --
56 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] emerge -Up tetex wants to downgrade Daniel Armyr <daniel.armyr@××××.se>
Re: [gentoo-dev] emerge -Up tetex wants to downgrade Patrick Kursawe <phosphan@g.o>