Gentoo Archives: gentoo-user

From: Paul Hartman <paul.hartman+gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] 'emerge -e world' question
Date: Tue, 13 Jan 2009 16:37:20
Message-Id: 58965d8a0901130837h7fec31a9xe8d39b3e24581e9@mail.gmail.com
In Reply to: Re: [gentoo-user] 'emerge -e world' question by Paul Hartman
1 On Tue, Jan 13, 2009 at 10:20 AM, Paul Hartman
2 <paul.hartman+gentoo@×××××.com> wrote:
3 > On Tue, Jan 13, 2009 at 9:52 AM, Alan McKinnon <alan.mckinnon@×××××.com> wrote:
4 >> On Tuesday 13 January 2009 17:44:37 Paul Hartman wrote:
5 >>> Hi,
6 >>>
7 >>> I normally do "emerge -uDvN @world" (or in other words "emerge
8 >>> --update --deep --verbose --newuse @world"). Right now, it tells me
9 >>> this:
10 >>>
11 >>> Total: 0 packages, Size of downloads: 0 kB
12 >>>
13 >>> I also --depclean on a regular basis to remove any unneeded packages.
14 >>> Right now, it tells me this:
15 >>>
16 >>> No packages selected for removal by depclean
17 >>>
18 >>> Based on those two commands, I'm led to believe I have a fully updated
19 >>> system. So, then, I am curious why when I do "emerge -e @world" it
20 >>> tells me this:
21 >>>
22 >>> Total: 1432 packages (9 upgrades, 2 downgrades, 14 new, 1407
23 >>> reinstalls, 1 interactive), Size of downloads: 76,235 kB
24 >>>
25 >>> How is that possible? Where do those upgrades, downgrades and new
26 >>> packages come from? What is missing from my traditional "-uDvN"
27 >>> command that is causing me to miss some of those updates?
28 >>
29 >> read the man page.
30 >>
31 >> Especially the bit about bdeps - these are usually not included
32 >> in 'emerge -uND world' but will be included when you use -e
33 >
34 > Well, I've read about that before and am using the default bdep
35 > behavior but I guess I don't understand it entirely.
36 >
37 > I've isolated basically all of the new/changed packages down to
38 > openoffice-3.0.0 -- if I do "emerge -vtp openoffice" it shows me this:
39 >
40 > [ebuild R ] app-office/openoffice-3.0.0 USE="binfilter cups dbus
41 > gtk java kde ldap mono nsplugin opengl pam -debug -eds -gnome
42 > -gstreamer -odk -templates" LINGUAS="en en_US -af -ar -as_IN -be_BY
43 > -bg -bn -br -bs -ca -cs -cy -da -de -dz -el -en_GB -en_ZA -eo -es -et
44 > -fa -fi -fr -ga -gl -gu_IN -he -hi_IN -hr -hu -it -ja -km -ko -ku -lt
45 > -lv -mk -ml_IN -mr_IN -nb -ne -nl -nn -nr -ns -or_IN -pa_IN -pl -pt
46 > -pt_BR -ru -rw -sh -sk -sl -sr -ss -st -sv -sw_TZ -ta_IN -te_IN -tg
47 > -th -ti_ER -tn -tr -ts -uk -ur_IN -ve -vi -xh -zh_CN -zh_TW -zu"
48 > 10,552 kB
49 >
50 > So, apparently openoffice has ~10 megabytes of unfetched files even
51 > though I have not deleted any openoffice distfiles since I emerged it
52 > in November. That would make me think maybe the ebuild has changed
53 > without a version number change. Checking the date on the ebuild it is
54 > January 11 2009. However, the date on
55 > /var/db/pkg/app-office/openoffice-3.0.0/openoffice-3.0.0.ebuild is
56 > November 3 2008. A diff of the files shows some material changes
57 > (downloading newer builds from go-oo.org etc). So in this particular
58 > case I think my suspicion about the ebuild changing without a version
59 > number revision might be right.
60 >
61 > When I do "emerge -Dtp openoffice" it shows this:
62 >
63 > Calculating dependencies ... done!
64 > [ebuild R ] app-office/openoffice-3.0.0
65 > [nomerge ] dev-perl/Archive-Zip-1.26
66 > [ebuild UD] virtual/perl-File-Spec-3.29 [3.2701]
67 > [ebuild UD] perl-core/File-Spec-3.29 [3.2701]
68 > [nomerge ] dev-perl/Archive-Zip-1.26
69 > [nomerge ] perl-core/File-Spec-3.29 [3.2701]
70 > [nomerge ] perl-core/Module-Build-0.31
71 > [ebuild N ] virtual/perl-ExtUtils-ParseXS-2.19
72 > [ebuild N ] perl-core/ExtUtils-ParseXS-2.19
73 > [ebuild N ] virtual/perl-Module-Build-0.31
74 > [ebuild N ] perl-core/Module-Build-0.31
75 > [ebuild N ] virtual/perl-Archive-Tar-1.42
76 > [ebuild N ] perl-core/Archive-Tar-1.42 USE="bzip2"
77 > [ebuild N ] dev-perl/IO-Compress-Bzip2-2.015
78 > [ebuild N ] dev-perl/Compress-Raw-Bzip2-2.015 USE="-test"
79 > [ebuild N ] perl-core/Package-Constants-0.02
80 > [ebuild N ] dev-perl/IO-String-1.08
81 > [ebuild N ] virtual/perl-IO-Zlib-1.09
82 > [ebuild N ] dev-perl/yaml-0.68
83 > [nomerge ] virtual/perl-IO-Zlib-1.09
84 > [ebuild N ] perl-core/IO-Zlib-1.09
85 > [nomerge ] perl-core/File-Spec-3.29 [3.2701]
86 > [ebuild N ] virtual/perl-ExtUtils-CBuilder-0.24
87 >
88 > I'm still not entirely clear on why those appear with --deep
89 > openoffice but not --deep world. If they are build-time deps, wouldn't
90 > they be included when I emerge openofifce without --deep? If they are
91 > related to dev-perl/Archive-Zip-1.26 (as it appears), which is
92 > installed, why don't they get touched by @world? Maybe I just can't
93 > wrap my brain around how it works, please have patience with me.
94 > thanks :)
95 >
96 > Paul
97 >
98
99 I've found that emerge -vtp @downgrade presents me with almost the
100 same list (sans openoffice):
101
102 [ebuild UD] virtual/perl-File-Spec-3.29 [3.2701] 0 kB
103 [ebuild UD] perl-core/File-Spec-3.29 [3.2701] 128 kB
104 [nomerge ] perl-core/File-Spec-3.29 [3.2701]
105 [nomerge ] perl-core/Module-Build-0.31
106 [ebuild N ] virtual/perl-ExtUtils-ParseXS-2.19 0 kB
107 [ebuild N ] perl-core/ExtUtils-ParseXS-2.19 0 kB
108 [ebuild N ] virtual/perl-Module-Build-0.31 0 kB
109 [ebuild N ] perl-core/Module-Build-0.31 204 kB
110 [ebuild N ] virtual/perl-Archive-Tar-1.42 0 kB
111 [ebuild N ] perl-core/Archive-Tar-1.42 USE="bzip2" 48 kB
112 [ebuild N ] dev-perl/IO-Compress-Bzip2-2.015 74 kB
113 [ebuild N ] dev-perl/Compress-Raw-Bzip2-2.015 USE="-test" 138 kB
114 [ebuild N ] perl-core/Package-Constants-0.02 3 kB
115 [ebuild N ] dev-perl/IO-String-1.08 0 kB
116 [ebuild N ] virtual/perl-IO-Zlib-1.09 0 kB
117 [ebuild N ] dev-perl/yaml-0.68 91 kB
118 [nomerge ] virtual/perl-IO-Zlib-1.09
119 [ebuild N ] perl-core/IO-Zlib-1.09 0 kB
120 [nomerge ] perl-core/File-Spec-3.29 [3.2701]
121 [ebuild N ] virtual/perl-ExtUtils-CBuilder-0.24 0 kB
122
123 I think File-Spec-3.29 is really an upgrade from 3.2701 (which is
124 really 3.27.01) but portage sees 29 < 2701 so that's why it never got
125 included in my updates.
126
127 Things are becoming clearer :)
128
129 Thanks,
130 Paul