Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
I have a Redhat Enterprise 4 workstation which cannot be connected to the internet. I have a subscription to Redhat and I can get the new ISOs but I'd rather update than have to rebuild the system again. I know that Fedora allows you to build your own repositories (which I have done) but you can't download the updated packages for Redhat Enterprise (or at least I haven't figured out how yet). Has anyone been able to build a repository for Redhat Enterprise and build a repository CD/DVD for local upgrades?
I am just trying to update, for example from baseline Redhat Enterprise 4 to Redhat Enterprise 4 Update 4. Remember, I cannot hook the computer to the internet, so "uptodate" won't work under its normal configuration. I would like to construct a local repository to point the "uptodate" program instead of the internet. I was thinking of taking the RPMs from the ISO CDs and trying to build a repository but I don't know what the chances of success will be.
You can configure sources in:
/etc/sysconfig/rhn/sources
It has an example line for using local directory as repository. I did it once to save from having to run up2date downloads on multiple servers but seem to have lost the config.
The relevant lines in sources file:
### an local directory full of packages
### format
#dir my-favorite-rpms-i386-9 /var/spool/RPMS/
It may be able to setup an intranet repository as well but I haven't done that. There is a man page for up2date that talks about configuration as well.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.