Yum on Debian 4
I had another admin take my place while I was on vacation for 4 weeks. When I got back apt-get had been removed and it appears he tried to install YUM.
Now Yum doesnt work and I can get apt-get back. HELP! Below is the message I am getting when trying to use yum.
yum update
Warning, could not load sqlite, falling back to pickle
rpmdb: unable to initialize mutex: Function not implemented
rpmdb: /var/lib/rpm/__db.001: unable to initialize environment lock: Function not implemented
error: db4 error(38) from dbenv->open: Function not implemented
rpm: To install rpm packages on Debian systems, use alien. See README.Debian.
error: cannot open Packages index using db3 - Function not implemented (38)
error: cannot open Packages database in /var/lib/rpm
Traceback (most recent call last):
File "/usr/bin/yum", line 27, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 75, in main
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 170, in getOptionsConfig
self.doConfigSetup(fn=opts.conffile, root=root)
File "/var/lib/python-support/python2.4/yum/__init__.py", line 82, in doConfigSetup
self.conf = config.yumconf(configfile=fn, root=root)
File "/var/lib/python-support/python2.4/yum/config.py", line 271, in __init__
self.yumvar['releasever'] = self._getsysver()
File "/var/lib/python-support/python2.4/yum/config.py", line 383, in _getsysver
idx = ts.dbMatch('provides', self.getConfigOption('distroverpkg'))
TypeError: rpmdb open failed
|