I have trouble to emerge just about anything.... gnys@x1000 / $ sudo emerge fluxbox Calculating dependencies /Traceback (most recent call last): File "/usr/bin/emerge", line 5073, in ? retval = emerge_main() File "/usr/bin/emerge", line 5068, in emerge_main myopts, myaction, myfiles, spinner) File "/usr/bin/emerge", line 4403, in action_build mydepgraph = depgraph(settings, trees, myopts, myparams, spinner) File "/usr/bin/emerge", line 888, in __init__ vardb.aux_get(pkg, self._mydbapi_keys)))) File "/usr/bin/emerge", line 772, in _aux_get_wrapper self._portdb.aux_get(pkg, self._portdb_keys))) File "/usr/lib/portage/pym/portage.py", line 5499, in aux_get dbkey=mydata, tree="porttree", mydbapi=self) File "/usr/lib/portage/pym/portage.py", line 3286, in doebuild dbkey.update(izip(auxdbkeys, mybytes.split("\n"))) AttributeError: keys gnys@x1000 / $ emerge --info Portage 2.1.2_rc4-r1 (default-linux/x86/2006.1/desktop, gcc-3.4.4, glibc-2.3.4.20040808-r1, 2.6.9-rc4-nitro1 i686) ================================================================= System uname: 2.6.9-rc4-nitro1 i686 Intel(R) Pentium(R) M processor 1400MHz Gentoo Base System version 1.5.3 Last Sync: Thu, 28 Dec 2006 16:30:01 +0000 dev-java/java-config: 1.2.11 dev-lang/python: 2.3.4 dev-python/pycrypto: 2.0.1-r5 sys-devel/autoconf: 2.59-r5 sys-devel/automake: 1.8.5-r1 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/gcc-config: 1.3.6-r2 sys-devel/libtool: 1.5.2-r5 virtual/os-headers: 2.6.8.1-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -pipe -O2 -fomit-frame-pointer -frename-registers -fprefetch-loop-arrays -falign-functions=64 -mmmx -msse2 -msse" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="-march=pentium-m -pipe -O2 -fomit-frame-pointer -frename-registers -fprefetch-loop-arrays -falign-functions=64 -mmmx -msse2 -msse" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer prelink sandbox sfperms strict"GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib acpi acpi4linux alsa alsa_cards_intel8x0 alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2 avi berkdb bidi bitmap-fonts bluetooth bonobo cairo cdparanoia cdr cli composite cracklib crypt cups curl dbus dga directfb divx4linux dlloader dri dv dvd dvdr dvdread eds elibc_glibc emboss encode esd ethereal evo fam fbcon firefox flash foomaticdb fortran gd gdbm ggi gif gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal i8x0 iconv imlib input_devices_synaptics ipv6 irmc isdnlog jpeg kernel_linux libg++ libwww lirc live lzo mad mikmod mmx mmx2 mozdevelop mozilla moznocompose moznomail mozsvg mozxmlterm mp3 mpeg nas ncurses network nls no_wxgtk1 nojoystick nptl nptlonly ogg oggvorbis opengl opie oss pam pcmcia pcre pda pdflib perl php png pnp postgres ppds pppd python qt3 qt4 quicktime radoen readline reflection rtc samba sasl sdl session slang spell spl sse sse2 ssl svga tcpd tiff truetype truetype-fonts trusted type1-fonts udev unicode usb userland_GNU video_cards_radeon vorbis wavelan win32codecs wmf wxwindows x86 xine xinerama xlib xml xml2 xorg xosd xprint xv xvid xvmc yv12 zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
(In reply to comment #0) > File "/usr/lib/portage/pym/portage.py", line 3286, in doebuild > dbkey.update(izip(auxdbkeys, mybytes.split("\n"))) > AttributeError: keys Apparently your python is broken since a dict object is always supposed to have a keys attribute. You'll have to manually reinstall python somehow (without portage).
There must be a better solution. I mean, the problem occured _only_ after upgrading portage. Clearly the problem is with portage, no?
The problem seems to deal with dependency calculation. So, you can still emerge --nodeps ... and with that you can downgrade to portage-2.1.2_rc3 ... this version seems to work.
Oh, I see the problem now. That update() call can only take an iterable in python 2.4.
Created attachment 104878 [details, diff] for python-2.3 compatibility, don't use an iterable for dict.update() This is fixed in svn r5409.
I did upgrade dev-lang/python, and then i dont get the previous error-message. But when i try to update world, i get some blocked dependencies =) Well it seems to work, so i take my new problems back to the forum, and send you a great thanks for the help. //Gnys
This has been released in 2.1.2_rc4-r2.