Re: Python 2 vs. yup?


Subject: Re: Python 2 vs. yup?
From: Bryan Stillwell (bstill@terraplex.com)
Date: Thu Mar 08 2001 - 14:23:42 MST


On Wed, Mar 07, 2001 at 09:51:18PM -0500, Sam Moore wrote:
>Ah - so that's where it went. thanks.
>
>So... Did that - now I'm getting
>
>Reading RPM database... Traceback (most recent call last):
> File "/usr/sbin/yup", line 29, in ?
> yup.main()
> File "yup.py", line 183, in main
> File "yupdb.py", line 763, in ReadLocalList
>ImportError: No module named rpm
>
>Any pointers appreciated.

Ahh, it looks like you may have to recompile rpm as well, because the
rpm-python bindings were compiled against the older version of python
and installed into the old directory (/usr/lib/python1.5/site-packages/).
You may be able to move rpmmodule.so into the new python 2.0 path, but
you're best of rebuilding rpm and installing it.

Our version of rpm's srpm can be found here:
ftp://ftp.yellowdoglinux.com/pub/mirrors/yellowdog/updates/
  champion-1.2/SRPMS/rpm-3.0.5-9.6xa.src.rpm

Bryan

-- 
  Terra Soft Solutions, Inc.           | Software Engineer
  http://www.terrasoftsolutions.com/   | bstill@terraplex.com
  GPG fingerprint: 3608 4610 8C08 B8EB 0970  9686 8A93 386C 6116 EFE2



This archive was generated by hypermail 2a24 : Thu Mar 08 2001 - 14:23:43 MST