[Yum] uncaught error - yum-0.9.3 and rpm-4.1-9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hmmm -- I pulled, built, and configured yum for my local 
desktop -- I tried a couple of transactions, and am getting 
uncaught errors with the JBJ locking issue test candidate

I quote the offending section in question at the bottom.

I scanned the list archives, and do not see that this has been 
addressed.  Is there a known issue?  Is there a workaround in 
CVS?

-- Russ Herrold

[herrold@oldnews SRPMS]$ man yum
[herrold@oldnews SRPMS]$ sudo yum clean all
Password:
Gathering package information from servers
Getting headers from: Red Hat Linux 8.0 base
Getting headers from: Red Hat Linux 8.0 updates
Traceback (most recent call last):
  File "/usr/bin/yum", line 24, in ?
    yummain.main(sys.argv[1:])
  File "yummain.py", line 144, in main
  File "clientStuff.py", line 139, in rpmdbNevralLoad
  File "clientStuff.py", line 130, in openrpmdb
AttributeError: 'module' object has no attribute 'opendb'
[herrold@oldnews SRPMS]$ locate clientStuff.py | grep yum
/home/herrold/redhat/BUILD/yum-0.9.3/clientStuff.py
/home/herrold/redhat/BUILD/yum-0.9.3/clientStuff.pyc
/home/herrold/redhat/BUILD/yum-0.9.3/clientStuff.pyo
/usr/lib/yum/clientStuff.pyc
[herrold@oldnews SRPMS]$ less /home/herrold/redhat/BUILD/yum-0.9.3/clientStuff.py
[herrold@oldnews SRPMS]$ joe /home/herrold/redhat/BUILD/yum-0.9.3/clientStuff.py
Processing '/etc/joe/joerc'...done
Processing '/etc/joe/joerc'...done

File /home/herrold/redhat/BUILD/yum-0.9.3/clientStuff.py not saved.
[herrold@oldnews SRPMS]$ rpm -qa | grep rpm
rpm-4.1-9
rpm-python-4.1-9
autorpm-1.9.9-1
rpmlint-0.38-5
rpm-build-4.1-9
[herrold@oldnews SRPMS]$ 

def openrpmdb(option=0, dbpath=None):
    dbpath = "/var/lib/rpm/"
    rpm.addMacro("_dbpath", dbpath)

    try:
        db = rpm.opendb(option)
    except rpm.error, e:
        raise RpmError(_("Could not open RPM database for 
reading. Perhaps it is


[herrold@oldnews SRPMS]$



[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux