1 |
On Monday 04 July 2011 14:47:47 Roman Zilka did opine thusly: |
2 |
> Hi once again, |
3 |
> |
4 |
> am I missing something or are these bugs? If bugs, do you think I |
5 |
> should file them through bugzilla? |
6 |
> |
7 |
> |
8 |
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
9 |
> |
10 |
> |
11 |
> # emerge -uDN --with-bdeps y world |
12 |
> Calculating dependencies... done! |
13 |
> |
14 |
> >>> Auto-cleaning packages... |
15 |
> >>> |
16 |
> >>> No outdated packages were found on your system. |
17 |
|
18 |
So a routine world update says nothing needs to be done right now. |
19 |
|
20 |
> # emerge -uN -D 100 --with-bdeps y world |
21 |
> Calculating dependencies... done! |
22 |
> |
23 |
> >>> Auto-cleaning packages... |
24 |
> >>> |
25 |
> >>> No outdated packages were found on your system. |
26 |
|
27 |
I expect this to be the same, it will halt after a depth of 100 (a |
28 |
gigantic depth just btw) |
29 |
|
30 |
> |
31 |
> # emerge -ep world |
32 |
> .......... shows mostly remerges, but also 6 new merges, for example |
33 |
> sys-devel/autogen and virtual/pam. Shouldn't there be no new merges |
34 |
> here? Let's re-check. |
35 |
> |
36 |
> |
37 |
> # equery d virtual/pam |
38 |
> * These packages depend on virtual/pam: |
39 |
> net-mail/mailbase-1 (pam ? virtual/pam) |
40 |
> net-misc/openssh-5.8_p1-r1 (pam ? virtual/pam) |
41 |
> sys-apps/openrc-0.8.3-r1 (pam ? virtual/pam) |
42 |
> sys-apps/shadow-4.1.4.3 (pam ? virtual/pam) |
43 |
> sys-auth/consolekit-0.4.4 (pam ? virtual/pam) |
44 |
> x11-apps/xdm-1.1.10-r1 (pam ? virtual/pam) |
45 |
> x11-misc/xlockmore-5.31 (pam ? virtual/pam) |
46 |
|
47 |
-ep is not the same as -avuND! |
48 |
|
49 |
The former is what happens if you tell portage to consider nothing to |
50 |
be merged yet. It will try and rebuild every possible thing you might |
51 |
ever need considering your setup. |
52 |
|
53 |
The latter is simply everything that needs to be done now. With that, |
54 |
build deps and virtuals can be omitted as they do not need to be |
55 |
rebuilt to satisfy the current emerge. |
56 |
|
57 |
Make sense? |
58 |
|
59 |
> |
60 |
> |
61 |
> # emerge -pq virtual/pam |
62 |
> [ebuild N ] virtual/pam-0 |
63 |
> |
64 |
> |
65 |
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
66 |
> |
67 |
> |
68 |
> # emerge -uDN --with-bdeps y --autounmask y world |
69 |
> Calculating dependencies... done! |
70 |
> |
71 |
> >>> Auto-cleaning packages... |
72 |
> >>> |
73 |
> >>> No outdated packages were found on your system. |
74 |
> |
75 |
> # grep skype /var/lib/portage/world |
76 |
> net-im/skype |
77 |
> |
78 |
> |
79 |
> # emerge -p --autounmask y skype |
80 |
> |
81 |
> These are the packages that would be merged, in order: |
82 |
> |
83 |
> Calculating dependencies... done! |
84 |
> [ebuild U ~] net-im/skype-2.2.0.35-r1 [2.1.0.81] |
85 |
> USE="-hardened%" |
86 |
> |
87 |
> The following keyword changes are necessary to proceed: |
88 |
> #required by skype (argument) |
89 |
> |
90 |
> >=net-im/skype-2.2.0.35-r1 ~amd64 |
91 |
> |
92 |
> NOTE: This --autounmask behavior can be disabled by setting |
93 |
> EMERGE_DEFAULT_OPTS="--autounmask=n" in make.conf. |
94 |
> |
95 |
> |
96 |
> # grep KEYWORDS /usr/portage/net-im/skype/skype-2.* |
97 |
> /usr/portage/net-im/skype/skype-2.1.0.81.ebuild:KEYWORDS="~amd64 |
98 |
> ~x86" |
99 |
> /usr/portage/net-im/skype/skype-2.2.0.25.ebuild:KEYWORDS="~amd64 |
100 |
> ~x86" |
101 |
> /usr/portage/net-im/skype/skype-2.2.0.35-r1.ebuild:KEYWORDS="~amd64 |
102 |
> ~x86" .......... Shouldn't 'emerge -uDN world' pull in |
103 |
> skype-2.2.0.35-r1 too, as per the autounmask functionality? |
104 |
|
105 |
autounmask is not the same as autounmask-write, and neither means to |
106 |
automatically install the absolute latest version in the tree. |
107 |
|
108 |
The former will tell you what you need to do to satisfy deps, and the |
109 |
current stable skype might suit. You haven't unmasked skype and |
110 |
portage does not need to unmask anything to satisfy a world update. So |
111 |
it is quite happy leaving things as they are. |
112 |
|
113 |
If you want latest skype, you have two approaches: |
114 |
|
115 |
Keyword it manually, |
116 |
Run an unstable system. |
117 |
|
118 |
Portage will not all of it's own do anything to violate you |
119 |
ACCEPT_KEYWORDS setting - that one trumps everything when automation |
120 |
kicks in. |
121 |
|
122 |
In short, portage is working as designed and your understanding is |
123 |
faulty. |
124 |
|
125 |
|
126 |
|
127 |
> |
128 |
> |
129 |
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
130 |
> |
131 |
> |
132 |
> I'm using latest stable portage for this - 2.1.10.3. ~arch is |
133 |
> 2.1.10.4 and I haven't tried it, but its changelog doesn't suggest |
134 |
> any changes in relevant areas. |
135 |
> |
136 |
> |
137 |
> # cat /etc/portage/package.keywords |
138 |
> =sys-boot/grub-1.97.1 ** |
139 |
> =app-emulation/wine-1.3.15 ~amd64 |
140 |
> |
141 |
> |
142 |
> # cat /etc/portage/package.mask |
143 |
> <sys-boot/grub-1.0 |
144 |
> |
145 |
> |
146 |
> # cat /etc/portage/package.use |
147 |
> media-libs/libsdl joystick |
148 |
> dev-python/PyQt4 webkit |
149 |
> dev-libs/libxml2 python |
150 |
> dev-lang/perl ithreads |
151 |
> media-plugins/audacious-plugins scrobbler |
152 |
> |
153 |
> |
154 |
> # emerge --info |
155 |
> Portage 2.1.10.3 (default/linux/amd64/10.0/desktop, gcc-4.4.5, |
156 |
> glibc-2.12.2-r0, 2.6.38-gentoo-r6 x86_64) |
157 |
> ================================================================= |
158 |
> System uname: |
159 |
> Linux-2.6.38-gentoo-r6-x86_64-AMD_Athlon-tm-_X2_Dual-Core_QL-65-wit |
160 |
> h-gentoo-2.0.2 Timestamp of tree: Sun, 03 Jul 2011 18:15:01 +0000 |
161 |
> app-shells/bash: 4.1_p9 |
162 |
> dev-lang/python: 2.7.1-r1, 3.1.3-r1 |
163 |
> dev-util/cmake: 2.8.4-r1 |
164 |
> dev-util/pkgconfig: 0.25-r2 |
165 |
> sys-apps/baselayout: 2.0.2 |
166 |
> sys-apps/openrc: 0.8.3-r1 |
167 |
> sys-apps/sandbox: 2.4 |
168 |
> sys-devel/autoconf: 2.68 |
169 |
> sys-devel/automake: 1.9.6-r3, 1.11.1 |
170 |
> sys-devel/binutils: 2.20.1-r1 |
171 |
> sys-devel/gcc: 4.4.5 |
172 |
> sys-devel/gcc-config: 1.4.1-r1 |
173 |
> sys-devel/libtool: 2.2.10 |
174 |
> sys-devel/make: 3.82 |
175 |
> sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers) |
176 |
> sys-libs/glibc: 2.12.2 |
177 |
> Repositories: gentoo |
178 |
> ACCEPT_KEYWORDS="amd64 x86" |
179 |
> ACCEPT_LICENSE="*" |
180 |
> CBUILD="x86_64-pc-linux-gnu" |
181 |
> CFLAGS="-O2 -pipe -fomit-frame-pointer -mtune=athlon64-sse3 |
182 |
> -march=athlon64-sse3 -mmmx -msse -msse2 -msse3 -m3dnow" |
183 |
> CHOST="x86_64-pc-linux-gnu" |
184 |
> CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" |
185 |
> CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d |
186 |
> /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release |
187 |
> /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo |
188 |
> /etc/texmf/language.dat.d /etc/texmf/language.def.d |
189 |
> /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe |
190 |
> -fomit-frame-pointer -mtune=athlon64-sse3 -march=athlon64-sse3 |
191 |
> -mmmx -msse -msse2 -msse3 -m3dnow" DISTDIR="/tmp/distfiles" |
192 |
> FEATURES="assume-digests binpkg-logs collision-protect distlocks |
193 |
> ebuild-locks fixlafiles fixpackages news nodoc noinfo |
194 |
> parallel-fetch protect-owned sandbox severe sfperms strict |
195 |
> unknown-features-warn unmerge-logs unmerge-orphans userfetch |
196 |
> usersync" FFLAGS="" |
197 |
> GENTOO_MIRRORS="http://gentoo.mirror.web4u.cz/ |
198 |
> http://gentoo.mirror.dkm.cz/pub/gentoo/ |
199 |
> ftp://gentoo.mirror.web4u.cz/ |
200 |
> ftp://gentoo.mirror.dkm.cz/pub/gentoo/ http://gentoo.supp.name/" |
201 |
> LANG="en_US.UTF-8" |
202 |
> LC_ALL="en_US.UTF-8" |
203 |
> LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--as-needed" |
204 |
> LINGUAS="en cs ja" |
205 |
> MAKEOPTS="-j2" |
206 |
> PKGDIR="/usr/portage/packages" |
207 |
> PORTAGE_CONFIGROOT="/" |
208 |
> PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times |
209 |
> --compress --force --whole-file --delete --stats --timeout=180 |
210 |
> --exclude=/distfiles --exclude=/local --exclude=/packages" |
211 |
> PORTAGE_TMPDIR="/tmp" |
212 |
> PORTDIR="/usr/portage" |
213 |
> PORTDIR_OVERLAY="" |
214 |
> SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" |
215 |
> USE="3dnow X a52 aac acpi alsa amd64 bash-completion berkdb branding |
216 |
> bzip2 cairo cddb cdr cjk cli consolekit cracklib crypt css dbus dri |
217 |
> dts dv dvd dvdr encode exif fam ffmpeg flac ftp gdbm gdu geoip gif |
218 |
> gnutls gsm gtk gzip iconv icq icu idn imap javascript jbig jpeg |
219 |
> jpeg2k latex lcms ldap libnotify lzma mad matroska mbox mime mmx |
220 |
> mng modules mp3 mp4 mpeg mplayer mudflap multilib musepack |
221 |
> musicbrainz ncurses nls nocd nptl nptlonly ogg opengl oscar pam |
222 |
> pango pcre pdf png pppd qt3support qt4 quicktime raw readline |
223 |
> recode sdl session shorten smp sockets sound speex spell sse sse2 |
224 |
> ssl startup-notification svg sysfs syslog szip theora threads tiff |
225 |
> truetype udev unicode usb videos vim-syntax vorbis wavpack wifi |
226 |
> x264 xcb xml xorg xpm xscreensaver xv xvid zlib" |
227 |
> ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci |
228 |
> emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 |
229 |
> intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" |
230 |
> ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty |
231 |
> extplug file hooks iec958 ioplug ladspa lfloat linear meter |
232 |
> mmap_emul mulaw multi null plug rate route share shm softvol" |
233 |
> APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon |
234 |
> authn_dbm authn_default authn_file authz_dbm authz_default |
235 |
> authz_groupfile authz_host authz_owner authz_user autoindex cache |
236 |
> cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires |
237 |
> ext_filter file_cache filter headers include info log_config logio |
238 |
> mem_cache mime mime_magic negotiation rewrite setenvif speling |
239 |
> status unique_id userdir usertrack vhost_alias" |
240 |
> CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita |
241 |
> tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq |
242 |
> load memory rrdtool swap syslog" ELIBC="glibc" |
243 |
> GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin |
244 |
> garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver |
245 |
> oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip |
246 |
> tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" |
247 |
> KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 |
248 |
> lb216 lcdm001 mtxorb ncurses text" LINGUAS="en cs ja" |
249 |
> PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" |
250 |
> VIDEO_CARDS="radeon vesa fglrx" XTABLES_ADDONS="quota2 psd pknock |
251 |
> lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition |
252 |
> tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos |
253 |
> account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, |
254 |
> INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, |
255 |
> PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS |
256 |
-- |
257 |
alan dot mckinnon at gmail dot com |