[SOLVED] How do I update RedHat 5.1 x86_64 iso with latest RPM's
Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How do I update RedHat 5.1 x86_64 iso with latest RPM's
Hi,
I have a RedHat 5.1 x86_64 iso image which we're going to use to kickstart 100+ servers. As these 100 servers are to be built over a couple of months, I don't want to run a Post-Kickstart 'yum update' as this will leave servers on different RPM versions.
What I'd like to do is update the ISO with all the latest RPM's, and then roll this out as the source of my kickstart's.
Has anyone any experience with this or can you suggest an alternative method?
Why don't you download the relevant rpms to a server, and create a repo on that server, and do a yum update from your own server? That way you'll have control of all versioning.
BillyMayDay, thanks for your options. I tried the createrepo option and either I'm too thick to understand it (probably) or I had something missing in the install but couldn't get it to work.
What I did to get it working is:
Built a client from my (out of date) iso image.
install the yum-readonly package
Run a 'yum update --readonly', this downloads the packages from RHN but doesn't install them, just stores them in the /var/cache/yum/<distro>/packages directory.
I put the new packages onto an NFS Server (I.e. not the client).
Altered %post to mount the NFS area to /mnt, and to Run 'rpm -U /mnt/*' then umount /mnt
When the host rebooted I registered the client and 'yum update all' returned no packages!
Whole Kickstart took about 30 minutes, which is great!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.