Thursday, January 17, 2013

yum yum - upgrade OL 5.8 to 5.9

I found Oracle Linux 5.9 post. After I heard Red Hat Enterprise Linux 5.9 GA Announcement last week. However, I pointed to Oracle Linux. I had to upgrade my test system.
You can read Oracle Linux 5.9 Release Notes and you can upgrade by using yum command-line.
[root@linux ~]# rpm -qf /etc/oracle-release

[root@linux ~]# uname -r
[root@linux ~]#
[root@linux ~]# cd /etc/yum.repos.d

[root@linux yum.repos.d]# wget
--2013-01-17 10:38:40--
Connecting to||:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4220 (4.1K) [text/plain]
Saving to: `public-yum-el5.repo'

100%[======================================================================================================>] 4,220       15.7K/s   in 0.3s

2013-01-17 10:38:41 (15.7 KB/s) - `public-yum-el5.repo' saved [4220/4220]

[root@linux ~]# vi public-yum-el5.repo
[root@linux ~]# yum upgrade
[root@linux ~]# yum upgrade
[root@linux ~]# reboot

[root@linux ~]# rpm -qf /etc/oracle-release
[root@linux ~]# uname -r

However, if you ran "yum upgrade" and error "[Errno 4] IOError: <urlopen error>". You might try again or fix by regenerate the metadata cache (link) and run "yum upgrade" again.


No comments: