RHEL5 up2date Missing / Broken. YUM Won't Run

Mindwatering Incorporated

Author: Tripp W Black

Created: 01/07/2009 at 10:20 AM

 

Category:
Linux
Configuration

Issue:
Upgraded RHEL4 to RHEL5. up2date icon in gnome missing. up2date command doesn't exist in the CLI (command line terminal window). The up2date page is gone. Yum is installed but errors out with message that system not registered with RHN occur.

Solution:
You cannot install up2date on RHEL5 from 4 distro. You download it from RHN but it won't install. There's a conflict with the RHN tools package.
This is actually good news. RPM is thankfully dead! Give up and let's fix the system to use yum.

Run:
1. rhn_register --nox (there's 2 dashes before nox)
2. Go through the wizard and enter your login info.
3. At the end it will tell you that your key existed and could not be used. It will then tell you that it created a new profile instead.

Now login via Firefox to the RHN and delete the old profile leaving just the new one. (They will both have the same DNS name (e.g joshua.mindwatering.com), so delete the one that should be the inactive and older one.

Now go back to a terminal and install/upgrade the system by using yum.

Notes:
When you run yum, it has a plug-in for the RHN. It will automatically add the 3 rhel 5 repositories to itself. Next just run the desired command. If you want to get your system updated to latest packages, simply run:
#yum update

_______________

yum Notes:
If you've not used yum. Here are basic commands:
# yum install packagename.rpm

To install a package group:
#yum groupinstall "package name"

To update packages:
#yum update

previous page

×