Displaying 2 results from an estimated 2 matches for "yumvar".
2005 Jul 20
4
Yum/rpm error (rpmdb versioning issue?)
...usr/share/yum/yummain.py", line 163, in main
(log, errorlog, filelog, conf, cmds) = parseCmdArgs(args)
File "/usr/share/yum/yummain.py", line 75, in parseCmdArgs
conf=yumconf(configfile=yumconffile)
File "/usr/share/yum/config.py", line 155, in __init__
self.yumvar['releasever'] = self._getsysver()
File "/usr/share/yum/config.py", line 285, in _getsysver
idx = ts.dbMatch('provides', self.distroverpkg)
TypeError: rpmdb open failed
Trying to rebuild the rpm database results in a similar error. Any
suggestions would be greatly...
2013 Aug 23
1
yum update after update from 6.3 to 6.4 - problems with epel repository.
...rch=$basearch
failovermethod=priority
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#gpgkey=http://download.fedora.redhat.com/pub/epel/RPM-GPG-KEY-EPEL-5
exclude=mongodb*
enabled=1
gpgcheck=0
Yum variables are ok:
# python -c 'import yum, pprint; yb = yum.YumBase();
pprint.pprint(yb.conf.yumvar, width=1)'
Loaded plugins: fastestmirror
{'arch': 'ia32e',
'basearch': 'x86_64',
'releasever': '6',
'uuid': 'd42ce92e-d28b-4637-8365-2cf02892ee58'}
But yum exits with error:
# yum --disablerepo='*' --enablerepo='epe...