Hi All,
I have deployed the cPanel-CentOS-6.4-x86_64.iso on a brand new VMware virtual machine located in a data centre, all is running well except for the fact that any yum command (including yum update) is throwing up the error below. Have tried to search and have done all sorts of reading for this but can't seem to get to the bottom of it.
Output is below, can anybody help with this please? From my reading it seems to be some sort of python error, but any solution I can find involves using yum to reinstall python modules which it won't let me do!
Anyone have any ideas?
I have deployed the cPanel-CentOS-6.4-x86_64.iso on a brand new VMware virtual machine located in a data centre, all is running well except for the fact that any yum command (including yum update) is throwing up the error below. Have tried to search and have done all sorts of reading for this but can't seem to get to the bottom of it.
Output is below, can anybody help with this please? From my reading it seems to be some sort of python error, but any solution I can find involves using yum to reinstall python modules which it won't let me do!
Code:
[email protected] [~]# yum update
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 285, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 105, in main
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 228, in getOptionsConfig
self.conf
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 891, in <lambda>
conf = property(fget=lambda self: self._getConfig(),
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 299, in _getConfig
startupconf = config.readStartupConfig(fn, root)
File "/usr/lib/python2.6/site-packages/yum/config.py", line 885, in readStartupConfig
startupconf.releasever = _getsysver(startupconf.installroot, startupconf.distroverpkg)
File "/usr/lib/python2.6/site-packages/yum/config.py", line 1036, in _getsysver
hdr = idx.next()
StopIteration
[email protected] [~]#
Last edited by a moderator: