Yum NFS mounted/shared cache directories?

Dr. Diesel dr.diesel at gmail.com
Thu Sep 25 23:10:26 UTC 2008


Perhaps not a bug or maybe requires a feature request.  I'm attempting to
host my /var/cache/yum directory on a NFS to share with several other
machines.  I've tired doing with by simply changing the location in yum.conf
and also by creating a symbolic link to the directory with no succes, yum
just stops here with no error:

[root at localhost ~]# yum -y update
Loaded plugins: fastestmirror, refresh-packagekit
Determining fastest mirrors
 * livna: rpm.livna.org
 * fedora: mirror.anl.gov
 * updates-newkey: mirror.steadfast.net
 * updates-newkey-source: mirror.steadfast.net
 * updates: mirror.steadfast.net
livna                                                            | 2.1
kB     00:00
fedora                                                           | 2.4
kB     00:00
updates-newkey                                                   | 2.3
kB     00:00
updates-newkey-source                                            | 2.1
kB     00:00
updates

It will sit here pretty much forever without output, at least for the ~15 I
waited, but did create the following directory structure:

[root at localhost ~]# ls -R /main/uploads/yum
/main/uploads/yum:
fedora  livna  timedhosts.txt  updates  updates-newkey
updates-newkey-source

/main/uploads/yum/fedora:
cachecookie  mirrorlist.txt  packages  primary.sqlite  repomd.xml

/main/uploads/yum/fedora/packages:

/main/uploads/yum/livna:
cachecookie  packages  primary.sqlite  repomd.xml

/main/uploads/yum/livna/packages:

/main/uploads/yum/updates:
cachecookie  mirrorlist.txt  packages  primary.sqlite  repomd.xml

/main/uploads/yum/updates/packages:

/main/uploads/yum/updates-newkey:
cachecookie  mirrorlist.txt  packages  primary.sqlite  repomd.xml

/main/uploads/yum/updates-newkey/packages:

/main/uploads/yum/updates-newkey-source:
cachecookie  mirrorlist.txt  packages  primary.sqlite  repomd.xml

/main/uploads/yum/updates-newkey-source/packages:
[root at localhost ~]#

Is this intentional or possibility a bug?

I realize creating a yum repo is fairly easy but I was hoping to only cache
the packages that my machines use, not the entire repo.

Any help or suggestions?

Thanks
Andy


-- 
projecthuh.com
All of my bits are free, are yours?  Fedoraproject.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20080925/f6e4fcb8/attachment.htm>


More information about the fedora-devel-list mailing list