1 |
On Tue, Jan 13, 2009 at 11:10:44AM -0600, Paul Hartman wrote: |
2 |
> On Tue, Jan 13, 2009 at 10:57 AM, Willie Wong <wwong@×××××××××.edu> wrote: |
3 |
> > Hum, I seem to have made an erroneous assumption. |
4 |
> > |
5 |
> > On Tue, Jan 13, 2009 at 11:38:05AM -0500, Willie Wong wrote: |
6 |
> >> The problem with this last one is not --deep. It is --update. |
7 |
> > |
8 |
> > Nevermind, I looked at the changelogs for openoffice and |
9 |
> > dev-perl/Archive-Zip, and frankly, I am pretty sure what I said was |
10 |
> > completely wrong in this situation. And also, frankly, I am becoming |
11 |
> > as confused as you are about your problem. |
12 |
> |
13 |
> I "downgraded" to File-Spec-3.29 (actually an upgrade) which in turn |
14 |
> emerged/updated the rest of that bunch of perl-related packages. Now |
15 |
> I'm re-emerging openoffice-3.0.0 since it appears to be using a newer |
16 |
> set of the go-oo.org patches (despite the lack of version number |
17 |
> change). Plus it is always fun to see how long it takes to build one |
18 |
> of the biggest packages there is. I have emerged it twice in the past, |
19 |
> the first was 1hr33m the second was 1hr55m, so I hope this one won't |
20 |
> exceed 2h. |
21 |
|
22 |
I don't find that explanation satisfactory. (The one about upgrade vs |
23 |
downgrades.) -u expands to --update means to install the *best |
24 |
available version*, not the *highest version number available*. If an |
25 |
ebuild goes from x86 to being hardmasked, --update should downgrade. |
26 |
If an ebuild of insanely high version number gets removed, --update |
27 |
should downgrade. |
28 |
|
29 |
I can explain why emerge openoffice and emerge --deep openoffice are |
30 |
different. emerge --deep openoffice basically does something similar |
31 |
to emerge --oneshot <everything openoffice has in its dependency>. |
32 |
So every package in the dependency tree will be considered, and if not |
33 |
at the *best* version it will be updated. Compare to emerge openoffice |
34 |
where only if a change of ebuild in openoffice changes the dependency |
35 |
will trigger installation of new or updated versions of dependencies. |
36 |
(Basically, you already have a version of whatever perl class it |
37 |
wants, and the ebuild specifies >= some really low version, so the |
38 |
dependency is satisfied and won't be considered in the emerge.) |
39 |
|
40 |
What I can't explain is why emerge --update --deep world misses the |
41 |
update! dev-perl/Archive-Zip is (correct me if I am wrong: I didn't |
42 |
see it mentioned in the changelogs so I assume it was not changed) in |
43 |
the dependency tree of both the Nov 3 and the January versions of |
44 |
openoffice. So --deep should traverse down there and find that one of |
45 |
its dependencies requires an update. At least that's what I expect |
46 |
based on "man emerge". |
47 |
|
48 |
Best, |
49 |
|
50 |
W |
51 |
-- |
52 |
Willie W. Wong wwong@××××××××××××××.edu |
53 |
408 Fine Hall, Department of Mathematics, Princeton University, Princeton |
54 |
A mathematician's reputation rests on the number of bad proofs he has given. |