yum local { partial } mirror

Tim ignored_mailbox at yahoo.com.au
Sat Jul 21 06:16:12 UTC 2007


Timothy Murphy
>> 1. Soft-link /var/cache/yum on each machine to /common/yum ,
>> where /common is NFS-shared by all my computers.

David Timms:
> You might find locking issue if multiple machines try to access the 
> central cached repodata at the same time, since each machine stores
> its yum lock file on it's local disk, ie a different location. This is
> likely to lead to corruption of the downloaded metadata IMHO.

If trying that approach, I'd be more inclined to share the various
different .../packages/ and .../headers/ sub-directories, but keeping
the different parent directories local.

> A normal yum update will use already downloaded packages in the 
> /var/cache/yum/fedora/packages dir {as long as the package has the 
> correct checksum according to the repodata}. This saves yum needing to
> download the header as well {AFAICT}. 

I thought the headers were used in resolving dependencies?

-- 
[tim at bigblack ~]$ uname -ipr
2.6.21-1.3228.fc7 i686 i386

Using FC 4, 5, 6 & 7, plus CentOS 5.  Today, it's FC7.

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.






More information about the users mailing list