LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 09-01-2009, 01:45 AM   #1
LinuxLover
Member
 
Registered: Feb 2004
Distribution: Solaris 10/11 , RHEL 6 ,AIX 7.1
Posts: 188

Rep: Reputation: 32
centos yum update


I installed the 3 Centos 5.3 servers and and update one server via
yum -y update

This took ~1 hr. Now I want to update remaining two machines as well but don't want to waste time and bandwidth to update them.

How can I point my two servers to get updates i already downloaded and installed on 1st server?

Also at what location it saves these rpms?
 
Old 09-01-2009, 03:51 AM   #2
robertjinx
Member
 
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 585

Rep: Reputation: 58
Try to go to: /var/cache/yum and then

find . -name "*.rpm" -print

but I believe you'll find all the rpm's in /var/cache/yum/updates/packages, but I'm not 100% sure.
 
Old 09-01-2009, 04:07 AM   #3
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
Quote:
Originally Posted by robertjinx View Post
but I believe you'll find all the rpm's in
/var/cache/yum/updates/packages, but I'm not 100% sure.
I can confirm that. However I doubt that yum has kept the downloaded files, since the default behaviour is to delete them after the installation. To keep downloaded packages you have to edit the file /etc/yum.conf and in the [main] section add the code:
Code:
keepcache=1
@LinuxLover: following the suggestion above you can keep at least the package from one of the two remaining machines, then update the last one by setting a local update repository.
 
  


Reply


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
Centos- Loading default keymap after a yum update... sblantipodi Linux - Server 0 07-17-2009 06:18 AM
problem with Yum update-install-list on CentOS 5.2 reyhaneh.emi Linux - Newbie 4 05-23-2009 03:56 AM
problem with Yum update-install-list on CentOS 5.2 reyhaneh.emi Linux - Software 1 05-20-2009 02:25 PM
RHEL 5.2 yum update with CentOS 5.2 repositories- possible? damunzy Linux - Enterprise 4 08-12-2008 02:30 AM
update centos 4 rc1 to centos 4 trou yum? maxut cAos 2 03-04-2005 02:36 AM


All times are GMT -5. The time now is 03:42 AM.

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