LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 11-28-2008, 11:50 PM   #1
abhijitghube
LQ Newbie
 
Registered: Mar 2008
Posts: 12
Blog Entries: 1

Rep: Reputation: 0
Unhappy 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

Last edited by abhijitghube; 11-29-2008 at 06:18 AM.
 
Old 11-28-2008, 11:53 PM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 171Reputation: 171
Have a look at the yum-downloadonly package. Once you have the packages you can redistribute them locally.
 
Old 11-29-2008, 12:46 AM   #3
baig
Member
 
Registered: Nov 2008
Location: وادی ھنزہ
Distribution: Solaris 5.10, Debian Server 5.2, CentOS 5.6
Posts: 226
Blog Entries: 3

Rep: Reputation: 38
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..
 
Old 11-29-2008, 06:18 AM   #4
abhijitghube
LQ Newbie
 
Registered: Mar 2008
Posts: 12
Blog Entries: 1

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by baig View Post
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
 
Old 11-29-2008, 07:37 AM   #5
Total-MAdMaN
Member
 
Registered: May 2008
Distribution: Gentoo
Posts: 306

Rep: Reputation: 34
Quote:
Originally Posted by abhijitghube View Post
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.
 
Old 11-29-2008, 11:43 AM   #6
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

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


Reply

Tags
how, update, yum


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
yum update AND package updater find no updates Berwhale Linux - Newbie 14 11-24-2008 04:43 AM
why has ubunto stopped updates on my machine? itbod Linux - Newbie 7 05-08-2008 10:32 AM
yum update not getting updates glowe Linux - Software 7 02-24-2007 10:53 PM
yum check-update says no updates when there are updates? MarkEHansen Linux - General 7 12-29-2006 05:16 PM
yum update hung, now cant find updates Mehuge Fedora 2 06-28-2006 08:14 AM


All times are GMT -5. The time now is 05:10 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration