Package: yum
Version: 3.2.12-1.1
Followup-For: Bug #490368

I confirmed that it is python-pyme 0.8.0-1 which killed yum.  Manually
downgrading to python-pyme 0.7.0-4 fixes the problem.  Before downgrading
python-pym, 'import yum' in python gives:

Python 2.5.2 (r252:60911, Jun 25 2008, 17:58:32) 
[GCC 4.3.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import yum
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/var/lib/python-support/python2.5/yum/__init__.py", line 40, in <module>
    import rpmsack
  File "/var/lib/python-support/python2.5/yum/rpmsack.py", line 22, in <module>
    import misc
  File "/var/lib/python-support/python2.5/yum/misc.py", line 19, in <module>
    import pyme.gpgme
ImportError: No module named gpgme

The release notes for python-pyme 0.8.0 at
http://sourceforge.net/project/shownotes.php?group_id=104883&release_id=588323
state:

  * Change name of the internal GPGME wrapper package
    from 'gpgme' to 'pygpgme' to avoid conflict with
    gpgme.dll library on Windows.

So it looks like yum.misc (and other places) will have to be patched slightly
to replace 'pyme.gpgme' with 'pyme.pygpgme' if yum is to work correctly with
python-pyme 0.8.0.
 --scott

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages yum depends on:
ii  python                     2.5.2-1       An interactive high-level object-o
ii  python-celementtree        1.0.5-10      Light-weight toolkit for XML proce
ii  python-libxml2             2.6.32.dfsg-2 Python bindings for the GNOME XML 
ii  python-pyme                0.7.0-4       Python interface to the GPGME GnuP
ii  python-rpm                 4.4.2.3-1     Python bindings for RPM
ii  python-sqlite              1.0.1-7       python interface to SQLite 2
ii  python-sqlitecachec        1.1.2-1       A fast metadata parser for YUM
ii  python-support             0.8.4         automated rebuilding support for P
ii  python-urlgrabber          3.1.0-4       A high-level cross-protocol url-gr
ii  rpm                        4.4.2.3-1     Red Hat package manager

yum recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to