Updating dependencies on local YUM repository
I created a local repository for YUM update using CentOS iso. What is the best way to include new updates and dependencies in the local repository when there are new updates coming out?
Example I am running into: The server hosting the local repository doesn't have access to the internet. There are new dependencies for the zip package. I want to make sure clients can get these latest dependencies when they run yum update |
When you looked at setting up your own YUM repo did you look at Nexus as a proxy for YUM?
https://blog.sonatype.com/nexus-repository-manager-3.5 Perhaps you can explain why your YUM repo does not have Internet access and describe where in your network setup you do have Internet access. |
Internet access is on my desktop. I am planning to transfer the dependencies to my local repository manually
|
If your desktop is accessible to your internal network and the outside world:
You might look at installing Nexus on your desktop and creating a proxy for the various external repos that you need to make available. On a server inside your private LAN, install Nexus as a YUM repo and give it access to your desktop Nexus as its upstream YUM proxy. This will give your team access to YUM while your workstation is shutdown. This should propagate updates from the wider world to your repo and from your repo to the inside world. I have never tried anything like this and have never used Nexus as a YUM repo since that is a new feature. You might want to ask about this in the Sonatype community before investing a lot of time in testing this. |
From the yum man page
Quote:
Of course for this to make sense, the download machine needs same OS as the target. I suppose you could(?) temporarily use a different set of repo files to force a match, but I'm not convinced ... alternately, get an updated DVD or similar. |
All times are GMT -5. The time now is 03:02 PM. |