Summary: | portage-2.1.4_rc9 - KeyError: 'app-crypt/gnupg-1.4.7-r1' on emerge --update gnupg | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Matt Keys <mk6032> |
Component: | Core | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | InVCS |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 200044 | ||
Attachments: | in case of blockers, bail out earlier to avoid later problems |
Description
Matt Keys
2007-12-12 13:50:24 UTC
emerge --info please. (In reply to comment #1) > emerge --info please. > zeus ~ # emerge --info Portage 2.1.4_rc9 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r9 i686) ================================================================= System uname: 2.6.22-gentoo-r9 i686 Pentium III (Coppermine) Timestamp of tree: Wed, 12 Dec 2007 13:30:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p17-r1 dev-lang/python: 2.4.4-r6, 2.5.1-r4 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.10-r5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r2 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -mtune=pentium3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="" CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -mtune=pentium3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distcc distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo " MAKEOPTS="-j4" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl apic berkdb bitmap-fonts cli cmov cracklib crypt cups cx8 de dri fortran fpu fxsr gdbm gpm iconv ipv6 isdnlog mca mce midi mmx msr mtrr mudflap ncurses nls nptl nptlonly nvidia openmp pae pam pat pcre perl pge pppd pse pse36 python readline reflection sep session spl sse ssl tcpd truetype-fonts tsc type1-fonts unicode usb vme win32codecs x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY zeus ~ # (In reply to comment #0) > zeus / # emerge --update gnupg > Calculating dependencies... done! > Traceback (most recent call last): > File "/usr/bin/emerge", line 6640, in <module> > retval = emerge_main() > File "/usr/bin/emerge", line 6634, in emerge_main > myopts, myaction, myfiles, spinner) > File "/usr/bin/emerge", line 6054, in action_build > mydepgraph.saveNomergeFavorites() > File "/usr/bin/emerge", line 3470, in saveNomergeFavorites > self.mydbapi[root].aux_get(pkg_key, self._mydbapi_keys))) > File "/usr/lib/portage/pym/portage.py", line 5923, in aux_get > raise KeyError(mycpv) > KeyError: 'app-crypt/gnupg-1.4.7-r1' I'm not yet sure what would trigger this case. Since `emerge -pv gnupg` didn't trigger it, it seems that it is being triggered by the addition of the --update option. It might be useful to see the output of `emerge -pv --update gnupg`. Created attachment 138375 [details, diff]
in case of blockers, bail out earlier to avoid later problems
If this patch is saved as /tmp/blockers.patch, then it can be applied as follows:
patch /usr/lib/portage/bin/emerge < /tmp/blockers.patch
(In reply to comment #3) > I'm not yet sure what would trigger this case. Since `emerge -pv gnupg` didn't > trigger it, it seems that it is being triggered by the addition of the --update > option. It might be useful to see the output of `emerge -pv --update gnupg`. > zeus / # emerge -pv --update gnupg These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] dev-libs/libgpg-error-1.6 [1.5] USE="nls" 374 kB [ebuild N ] app-crypt/pinentry-0.7.3 USE="ncurses -caps -gtk -qt3" 408 kB [ebuild U ] net-misc/curl-7.17.1 [7.16.4] USE="ipv6 ssl -ares -gnutls -idn -kerberos -ldap -nss -test" 1,682 kB [ebuild U ] dev-libs/libgcrypt-1.4.0 [1.2.4] USE="nls -bindist -idea" 943 kB [ebuild U ] dev-libs/libassuan-1.0.2-r1 [0.6.10] 270 kB [ebuild U ] sys-libs/glibc-2.7-r1 [2.6.1] USE="nls -debug -gd -glibc-compat20% -glibc-omitfp (-hardened) (-multilib) -profile (-selinux) -vanilla" 16,216 kB [ebuild U ] app-crypt/gnupg-2.0.7 [1.4.7-r1] USE="nls -bzip2 -doc% -ldap -openct% -pcsc-lite% (-selinux) -smartcard (-bindist%) (-curl%) (-ecc%) (-idea%) (-readline%*) (-static%) (-usb%) (-zlib%*)" LINGUAS="(-ru%)" 3,526 kB [ebuild U ] app-crypt/gnupg-1.9.94 [1.9.21] USE="nls -X -doc% -gpg2-experimental -ldap -openct% -pcsc-lite% (-selinux) -smartcard" 3,781 kB [blocks B ] <=app-crypt/gnupg-2.0.1 (is blocking app-crypt/gnupg-2.0.7) Total: 8 packages (7 upgrades, 1 new, 1 block), Size of downloads: 27,194 kB zeus / # (In reply to comment #4) > Created an attachment (id=138375) [edit] > in case of blockers, bail out earlier to avoid later problems > > If this patch is saved as /tmp/blockers.patch, then it can be applied as > follows: > > patch /usr/lib/portage/bin/emerge < /tmp/blockers.patch > zeus ~ # patch /usr/lib/portage/bin/emerge < /root/blockers.patch patching file /usr/lib/portage/bin/emerge zeus ~ # emerge --update gnupg Calculating dependencies... done! * Error: the <=app-crypt/gnupg-2.0.1 package conflicts with another * package; the two packages cannot be installed on the same system * together. Please use 'emerge --pretend' to determine blockers. For more information about Blocked Packages, please refer to the following section of the Gentoo Linux x86 Handbook (architecture is irrelevant): http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked zeus ~ # emerge -pv gnupg These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] dev-libs/libassuan-1.0.2-r1 [0.6.10] 270 kB [ebuild N ] app-crypt/pinentry-0.7.3 USE="ncurses -caps -gtk -qt3" 408 kB [ebuild U ] app-crypt/gnupg-2.0.7 [1.4.7-r1] USE="nls -bzip2 -doc% -ldap -openct% -pcsc-lite% (-selinux) -smartcard (-bindist%) (-curl%) (-ecc%) (-idea%) (-readline%*) (-static%) (-usb%) (-zlib%*)" LINGUAS="(-ru%)" 3,526 kB [blocks B ] <=app-crypt/gnupg-2.0.1 (is blocking app-crypt/gnupg-2.0.7) Total: 3 packages (2 upgrades, 1 new, 1 block), Size of downloads: 4,202 kB zeus ~ # This has been released in 2.1.4_rc10. (In reply to comment #6) We talked on irc and sorted everything out. |