HowTo: Upgrade Red Hat Enterprise Linux to v5.5

How do I upgrade to Redhat Enterprise Linux server to v.5.5 from 5.4 or earlier version?

The new update RHEL 5.5 release features new hardware platform enablement, expanded virtualization capabilities and enhanced interoperability. You can simply upgrade it using the yum command:

ADVERTISEMENTS

WARNING! Make a backup – it cannot be stressed enough how important it is to make a backup of your system before you do this.

Most of the actions listed in this post are written with the assumption that they will be executed by the root user running the bash or any other modern shell. Type the following commands
# uname -a
# yum update

Sample outputs:

Loaded plugins: downloadonly, protectbase, rhnplugin, security, verify
0 packages excluded due to repository protections
Skipping security plugin, no data
Setting up Update Process
Resolving Dependencies
Skipping security plugin, no data
--> Running transaction check
---> Package NetworkManager.x86_64 1:0.7.0-10.el5 set to be updated
---> Package NetworkManager-glib.x86_64 1:0.7.0-10.el5 set to be updated
---> Package OpenIPMI.x86_64 0:2.0.16-7.el5 set to be updated
---> Package OpenIPMI-libs.x86_64 0:2.0.16-7.el5 set to be updated
---> Package OpenIPMI-tools.x86_64 0:2.0.16-7.el5 set to be updated
---> Package acl.x86_64 0:2.2.39-6.el5 set to be updated
--> Processing Dependency: libpoppler.so.1()(64bit) for package: poppler-utils
---> Package python-dmidecode.x86_64 0:3.10.8-4.el5 set to be updated
--> Running transaction check
--> Processing Dependency: libevent-1.1a.so.1()(64bit) for package: memcached
---> Package poppler.x86_64 0:0.5.4-4.4.el5_4.11 set to be updated
.....
.......
..
epel/filelists_db                                                                                                                      | 4.1 MB     00:09     
ksplice-uptrack/filelists                                                                                                              | 2.3 kB     00:00     
rhel-x86_64-server-5/filelists                                                                                                         |  21 MB     00:03     
rhel-x86_64-server-vt-5/filelists                                                                                                      | 207 kB     00:
.....
.......
..
 valgrind                                         i386                    1:3.5.0-1.el5                          rhel-x86_64-server-5                   20 M
 valgrind                                         x86_64                  1:3.5.0-1.el5                          rhel-x86_64-server-5                   20 M
 vconfig                                          x86_64                  1.9-3                                  rhel-x86_64-server-5                   55 k
 wpa_supplicant                                   x86_64                  1:0.5.10-9.el5                         rhel-x86_64-server-5                  260 k
 yum                                              noarch                  3.2.22-26.el5                          rhel-x86_64-server-5                  1.0 M
 yum-rhn-plugin                                   noarch                  0.5.4-15.el5                           rhel-x86_64-server-5                   59 k
Removing:
 kernel                                           x86_64                  2.6.18-164.10.1.el5                    installed                              87 M
 kernel-devel                                     x86_64                  2.6.18-164.10.1.el5                    installed                              16 M
Installing for dependencies:
 libsmbclient                                     x86_64                  3.0.33-3.28.el5                        rhel-x86_64-server-5                  916 k
 python-dmidecode                                 x86_64                  3.10.8-4.el5                           rhel-x86_64-server-5                   89 k

Transaction Summary
=============================================================================================================================================================
Install      4 Package(s)         
Update     160 Package(s)         
Remove       2 Package(s)         

Total download size: 228 M
Is this ok [y/N]:
output truncated 

Reboot the server:
# reboot
Verify everything is working:
# uname -a
Sample outputs:

Linux www54.nixcraft.net.in 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:39 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

See /etc/redhat-release file, enter:
# cat /etc/redhat-release

Red Hat Enterprise Linux Server release 5.5 (Tikanga)

Verify that ports are open and all services are running:
# netstat -tulpn
# tail -f /var/log/messages
# tail -f /path/to/log/file

References:

man yum

🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source/DevOps topics:
CategoryList of Unix and Linux commands
File Managementcat
FirewallCentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNCentOS 8 Debian 10 Firewall Ubuntu 20.04

ADVERTISEMENTS
21 comments… add one
  • Anonymous Mar 31, 2010 @ 13:45

    what? yum update and that’s it???

  • 🐧 nixCraft Mar 31, 2010 @ 13:47

    Yes, all you’ve to do is type one single command and you are done.

  • Anonymous Mar 31, 2010 @ 14:08

    question then, if I’m running CentOS 5.2.. I can just keep yum updating all the way up to 5.5? I’ve always assumed you had to do much more work than that to go from release to release with CentOS. Is CentOS a ‘rolling release’?

  • 🐧 nixCraft Mar 31, 2010 @ 14:11

    CentOS will roll out them within 3-4 weeks time. Once rolled out simply type the same command.

    HTH

  • Mortified penguin Mar 31, 2010 @ 15:27

    Vivek, I think you should’ve mentioned that the yum update command works only if you have a valid RedHat Network subscription and if your repository list is configured properly… the command will never work if RHEL is not able to connect to Red Hat’s servers

    • est Jun 8, 2010 @ 22:26

      A coworker saids that by inserting apel,rpmforge and utterramblings repos they will take care of RHEL updates/upgrades without RHN support.
      Is that true?

      Thanks

  • 🐧 nixCraft Mar 31, 2010 @ 16:12

    We have 100s of server running nothing bur RHEL 4 and 5 with our own proxy server. Some of my clients have over 2k+ server running nothing but RHEL. Why anyone will install RHEL with RHN (which provides security update) is beyond me? If you cannot afford RHEL go for Centos.

    • Zaf May 5, 2010 @ 22:16

      Did you mean “without RHN” ? ;)

  • cnemelka Mar 31, 2010 @ 18:01

    This process is broken (again).

    Error: failed to retrieve repodata/filelists.xml.gz from rhel-x86_64-server-5
    error was [Errno -1] Metadata file does not match checksum

  • cnemelka Mar 31, 2010 @ 18:07

    Vivek:
    Not sure I understand your point.

    “We have 100s of server running nothing bur RHEL 4 and 5 with our own proxy server. Some of my clients have over 2k+ server running nothing but RHEL. Why anyone will install RHEL with RHN (which provides security update) is beyond me? If you cannot afford RHEL go for Centos.”

    Can you elaborate? Are you against installing RHEL with RHN?

  • Jalal Hajigholamali Apr 5, 2010 @ 2:51

    Hi,

    Can i use “apt-get” ?

  • Charlie Apr 20, 2010 @ 14:33

    Can I use apt-get?

    No. Unless you really like horribly broken systems that have two conflicting package management systems stepping all over each other.

    If you insist on using apt, you should run a dpkg based system like Debian or Ubuntu. If you are going to use an RPM based system like Centos, Red Hat, or SuSe use tools based on RPM.

  • Jalal Hajigholamali Apr 21, 2010 @ 2:49

    Hi,

    I Have installed Redhat 5.4, can i upgrade my server to CENTOS 5.5 ?
    Thanks

    • Zaf May 5, 2010 @ 22:15

      Nop. You remove RH and then install CentOS 5.5

  • MPerkins Jun 7, 2010 @ 14:40

    Will this method work even if upgrading between major versions (i.e. version 4 to version 5)?

    • Jalal Hajigholamali Jun 9, 2010 @ 3:26

      I think no problem and you can upgrade

  • kumar Jul 20, 2011 @ 20:07

    hi ,

    i use this (yum update)command this is automatically updated 5.4 to 5.6… but i want 5.5 .. any solution ?

  • Bilal Aug 24, 2011 @ 18:57

    hello…is it possible to purchase the 5.5 update package individually?…

    thanx

  • Prashant Sep 29, 2011 @ 6:19

    Hi,
    Can i upgrade my production server from RHEL4.4 to RHEL4.9 without affecting my running applications.

    Thanks,
    Prashant

  • SALIM Oct 4, 2011 @ 7:16

    how to upgrade redhat el4 to redhat el5 .
    i boot g
    from the el5 cd unfourtunatilry i didnt find upguarade option .. what we will do this situtaion kindly help us on this

  • Umair Dec 9, 2012 @ 12:10

    Dear I have following your tutorials for some time. And this is my first request. So please do it

    Please make tutorial on how to update

    1: Redhat 5.5 to Desired release

    2: Upgrade it to latest release let say 5.5 to 6

    Thanks

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.