[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: yum local { partial } mirror

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 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.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]