Hi,
I tried to upgrade mysql first (even tho I am on 5.1 (getting new version is good)) and i got this;
[root@lucky src]# sh mysql.sh
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 298, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 115, in main
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 229, in getOptionsConfig
self.conf
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 911, in <lambda>
conf = property(fget=lambda self: self._getConfig(),
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 300, in _getConf ig
startupconf = config.readStartupConfig(fn, root)
File "/usr/lib/python2.6/site-packages/yum/config.py", line 896, in readStartu pConfig
startupconf.releasever = _getsysver(startupconf.installroot, startupconf.dis troverpkg)
File "/usr/lib/python2.6/site-packages/yum/config.py", line 1047, in _getsysve r
hdr = idx.next()
StopIteration
mkdir: cannot create directory `/home/backup': File exists
-- Warning: Skipping the data of table mysql.event. Specify the --events option explicitly.
Stopping mysqld: [ OK ]
Retrieving http://mirror.webtatic.com/yum/el6/latest.rpm
warning: /var/tmp/rpm-tmp.UUfq6b: Header V4 DSA/SHA1 Signature, key ID cf4c4ff9: NOKEY
error: Failed dependencies:
redhat-release >= 6 is needed by webtatic-release-6-9.noarch
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 298, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 115, in main
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 229, in getOptionsConfig
self.conf
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 911, in <lambda>
conf = property(fget=lambda self: self._getConfig(),
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 300, in _getConf ig
startupconf = config.readStartupConfig(fn, root)
File "/usr/lib/python2.6/site-packages/yum/config.py", line 896, in readStartu pConfig
startupconf.releasever = _getsysver(startupconf.installroot, startupconf.dis troverpkg)
File "/usr/lib/python2.6/site-packages/yum/config.py", line 1047, in _getsysve r
hdr = idx.next()
StopIteration
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 298, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 115, in main
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 229, in getOptionsConfig
self.conf
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 911, in <lambda>
conf = property(fget=lambda self: self._getConfig(),
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 300, in _getConf ig
startupconf = config.readStartupConfig(fn, root)
File "/usr/lib/python2.6/site-packages/yum/config.py", line 896, in readStartu pConfig
startupconf.releasever = _getsysver(startupconf.installroot, startupconf.dis troverpkg)
File "/usr/lib/python2.6/site-packages/yum/config.py", line 1047, in _getsysve r
hdr = idx.next()
StopIteration
/bin/sed: can't read /etc/yum.repos.d/webtatic.repo: No such file or directory
Stopping mysqld: [ OK ]
Starting mysqld: [ OK ]
mysql_upgrade: unknown option '--upgrade-system-tables'
MySQL has been upgraded
MySQL backup can be found in /home/backup/
Now whenever I tried to upgrade CWP and Apache this thing keep coming out;
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 298, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 115, in main
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 229, in getOptionsConfig
self.conf
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 911, in <lambda>
conf = property(fget=lambda self: self._getConfig(),
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 300, in _getConf ig
startupconf = config.readStartupConfig(fn, root)
File "/usr/lib/python2.6/site-packages/yum/config.py", line 896, in readStartu pConfig
startupconf.releasever = _getsysver(startupconf.installroot, startupconf.dis troverpkg)
File "/usr/lib/python2.6/site-packages/yum/config.py", line 1047, in _getsysve r
hdr = idx.next()
StopIteration
Thus making my upgrade unsuccessful.
Tried yum clean all but the same thing came out..
Thank you in advance..
Leo