SAVING DOWNLOADs FROM REPOS

Taking care of your Linux box.
Post Reply
lemon
Naik
Posts: 80
Joined: Wed Aug 07, 2002 8:00 pm
Location: karachi
Contact:

SAVING DOWNLOADs FROM REPOS

Post by lemon »

AOA
i was installing FC 6 on couple of individual systems and i had to update everyone of them individually using yum and it took a lot of time to get all the updates so is there a way to save those files locally and then install them locally ??
Thnx
Wasay Ahmed
B.E. CE SSUET
MBA IBA
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Post by lambda »

what is in your /var/cache/yum directory?
lemon
Naik
Posts: 80
Joined: Wed Aug 07, 2002 8:00 pm
Location: karachi
Contact:

Post by lemon »

thnx lambda but how can i make sure that yum gets all the updates from a local cache
first should i just copy the /var/cache/yum folder onto other computers and run yum update ??

Note: i dont want to create a local repo server i just want to take updates portably and install them whenever and where ever i choos

Thnx a lot
Wasay Ahmed
B.E. CE SSUET
MBA IBA
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Post by lambda »

i guess you could nfs mount /var/cache/yum/updates or whatever you need on the other machines.
barlas
Naib Subedar
Posts: 315
Joined: Mon Jun 30, 2003 11:07 am
Location: Lahore, Pakistan
Contact:

Post by barlas »

lemon wrote:first should i just copy the /var/cache/yum folder onto other computers and run yum update ??
Wouldn't that work too? That is copying all packages to /var/cache/yum of target machine and then running yum?
Aqeel Zafar
lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Post by lambda »

i think it should work. he could use rsync to copy them over.
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Post by LinuxFreaK »

Dear barlas,
Salam,

Its working for him but now he is confused with how he can copy them to all computer. Better solution is to mount NFS/SMB share which has been suggested by lambda.

Best Regards.
Farrukh Ahmed
barlas
Naib Subedar
Posts: 315
Joined: Mon Jun 30, 2003 11:07 am
Location: Lahore, Pakistan
Contact:

Post by barlas »

I was just curious and I thought he have only 2 systems. In that case copying is not much of a problem, though making NFS share would still be a better choice as it would save from duplication of data/waste of space :)
Aqeel Zafar
Post Reply