LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   cannot update machine using yum updates of another machine (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-update-machine-using-yum-updates-of-another-machine-686997/)

abhijitghube 11-28-2008 11:50 PM

cannot update machine using yum updates of another machine
 
I have installed centos 5 on my machine and updated that machine using ( yum update ) command ,but my problem is that how can I update my other machines using that updates??????? ,Because every time it is not possible to download packages(Because it is around 1GB),so how can I use that updates???


I know that it should be prasent in the /var/cache/yum directory so did the tar file of it and melt it on the other machine but after that how to update it locally

lazlow 11-28-2008 11:53 PM

Have a look at the yum-downloadonly package. Once you have the packages you can redistribute them locally.

baig 11-29-2008 12:46 AM

if you have already downloaded updates.. i think they should be present in /ver/cache/yum like something...

make a tar file of all present in yum cache and then distribute..

abhijitghube 11-29-2008 06:18 AM

Quote:

Originally Posted by baig (Post 3358434)
if you have already downloaded updates.. i think they should be present in /ver/cache/yum like something...

make a tar file of all present in yum cache and then distribute..



but how to distribute it locally

Total-MAdMaN 11-29-2008 07:37 AM

Quote:

Originally Posted by abhijitghube (Post 3358586)
but how to distribute it locally

Set up file sharing on the machines and set the initial downloader to be a repository for the other machines.

lazlow 11-29-2008 11:43 AM

Have a look at the createrepo package. It is used to setup a local yum repo(once you have the rpms).


All times are GMT -5. The time now is 06:14 AM.