Hello folks
I've been doing my best to minimalise my iNet usage and have tired both
running a networked yum cache over nfs and also mirroring my yum cache
via rsync between machines - all with keepcache=1 in /etc/yum.conf on
the "master" machine.
Either way I'm getting "Caching enabled but no local cache of..." errors.
Any ideas where I'm going wrong?
Copied below are the outputs from the NFS and then rsync tries.
Thanks all.
Regards,
Morgan..
##########################
[morgan@morgansmachine ~]$ ssh root@xxxxxxxxxxxxx
root@xxxxxxxxxxxxx's password:
Last login: Sun May 4 15:49:27 2008 from morgansmachine.lan
[root@morgansoldmachine ~]# mount -t nfs4 192.168.1.40:/ /mnt/nfs4
[root@morgansoldmachine ~]# mount --bind /mnt/nfs4/yum /var/cache/yum
[root@morgansoldmachine ~]# cd /var/cache/yum/updates/packages
[root@morgansoldmachine packages]# ls -s
total 376664
76 adminutil-1.1.6-1.fc8.i386.rpm
296 audit-1.6.8-4.fc8.i386.rpm
...
720 yelp-2.20.0-9.fc8.i386.rpm
32 yum-presto-0.4.5-1.fc8.noarch.rpm
[root@morgansoldmachine packages]# cd ~
[root@morgansoldmachine ~]# yum -C update
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package nspluginwrapper.i386 0:0.9.91.5-18.fc8 set to be updated
---> Package hplip.i386 0:2.8.2-1.fc8 set to be updated
...
---> Package audit-libs.i386 0:1.7.2-5.fc8 set to be updated
---> Package deskbar-applet.i386 0:2.21.91-1.fc8 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================
Package Arch Version Repository
Size
=============================================================================
Installing:
kernel i686 2.6.24.5-85.fc8 updates
17 M
Updating:
BackupPC noarch 3.1.0-2.fc8 updates
597 k
NetworkManager i386 1:0.7.0-0.6.7.svn3370.fc8 updates
681 k
...
xorg-x11-server-Xorg i386 1.3.0.0-44.fc8 updates
2.9 M
yelp i386 2.20.0-9.fc8 updates
710 k
Removing:
kernel i686 2.6.23.15-137.fc8 installed
45 M
Installing for dependencies:
cupsddk-drivers i386 1.2.3-3.fc8 updates
110 k
Transaction Summary
=============================================================================
Install 2 Package(s)
Update 113 Package(s)
Remove 1 Package(s)
Total download size: 332 M
Is this ok [y/N]: y
Downloading Packages:
Error Downloading Packages:
ustr - 1.0.4-6.fc8.i386: Caching enabled but no local cache of
//var/cache/yum/updates/packages/ustr-1.0.4-6.fc8.i386.rpm from updates
nss_db - 2.2-40.fc8.i386: Caching enabled but no local cache of
//var/cache/yum/updates/packages/nss_db-2.2-40.fc8.i386.rpm from updates
...
krb5-libs - 1.6.2-14.fc8.i386: Caching enabled but no local cache of
//var/cache/yum/updates/packages/krb5-libs-1.6.2-14.fc8.i386.rpm from
updates
libsmbclient - 3.0.28a-0.fc8.i386: Caching enabled but no local cache
of //var/cache/yum/updates/packages/libsmbclient-3.0.28a-0.fc8.i386.rpm
from updates
You have new mail in /var/spool/mail/root
[root@morgansoldmachine ~]#
##########################
[root@morgansmachine ~]# rsync -avzAXH /var/cache/yum
192.168.1.109:/var/cache/yum
root@xxxxxxxxxxxxx's password:
building file list ... done
...
sent 1078413186 bytes received 8802 bytes 498001.38 bytes/sec
total size is 1198884511 speedup is 1.11
[root@morgansmachine ~]# yum -C update
Loading "protect-packages" plugin
Loading "presto" plugin
Loading "fastestmirror" plugin
Loading "changelog" plugin
Setting up and reading Presto delta metadata
No Presto metadata available for adobe
No Presto metadata available for dirsrv-noarch
No Presto metadata available for livna
No Presto metadata available for idmcommon-noarch
No Presto metadata available for idmcommon
No Presto metadata available for dribble
No Presto metadata available for dirsrv
No Presto metadata available for updates
No Presto metadata available for fedora
Setting up Update Process
No Packages marked for Update
[root@morgansmachine ~]# ssh 192.168.1.109
root@xxxxxxxxxxxxx's password:
Last login: Sat May 10 20:51:03 2008 from morgansmachine.lan
[root@morgansoldmachine ~]# yum -C update
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package codeina.noarch 0:0.10.1-7.fc8 set to be updated
---> Package nspluginwrapper.i386 0:0.9.91.5-18.fc8 set to be updated
...
---> Package system-config-printer.i386 0:0.7.74.13-1.fc8 set to be updated
---> Package libxml2-python.i386 0:2.6.32-1.fc8 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================
Package Arch Version Repository
Size
=============================================================================
Installing:
kernel i686 2.6.25.4-10.fc8 updates
18 M
Updating:
BackupPC noarch 3.1.0-2.fc8 updates
597 k
NetworkManager i386 1:0.7.0-0.6.7.svn3370.fc8 updates
681 k
...
41 k
yum-utils noarch 1.1.14-4.fc8 updates
59 k
Removing:
kernel i686 2.6.23.15-137.fc8 installed
45 M
Installing for dependencies:
cupsddk-drivers i386 1.2.3-3.fc8 updates
110 k
perl-Convert-ASN1 noarch 0.21-2.fc8.1 fedora
42 k
Transaction Summary
=============================================================================
Install 3 Package(s)
Update 171 Package(s)
Remove 1 Package(s)
Total download size: 445 M
Is this ok [y/N]: y
Downloading Packages:
Error Downloading Packages:
selinux-policy-targeted - 3.0.8-109.fc8.noarch: Caching enabled but
no local cache of
//var/cache/yum/updates/packages/selinux-policy-targeted-3.0.8-109.fc8.noarch.rpm
from updates
ustr - 1.0.4-6.fc8.i386: Caching enabled but no local cache of
//var/cache/yum/updates/packages/ustr-1.0.4-6.fc8.i386.rpm from updates
...
wv - 1.2.4-4.fc8.i386: Caching enabled but no local cache of
//var/cache/yum/updates/packages/wv-1.2.4-4.fc8.i386.rpm from updates
bzip2 - 1.0.4-13.fc8.i386: Caching enabled but no local cache of
//var/cache/yum/updates/packages/bzip2-1.0.4-13.fc8.i386.rpm from updates
[root@morgansoldmachine ~]#
--
Getting errors: "There are problems with the signature" (or similar)?
Update your system by installing certificates from CAcert Inc, see here:
http://wiki.cacert.org/wiki/BrowserClients?#head-259758ec5ba51c5205cfb179cf60e0b54d9e378b
Or, if Internet Explorer is your default browser, simply click this link:
http://www.cacert.org/index.php?id=17
Morgan Read
NEW ZEALAND
<mailto:mstuffATreadDOTorgDOTnz>
fedora: Freedom Forever!
http://fedoraproject.org/wiki/Overview
"By choosing not to ship any proprietary or binary drivers, Fedora does
differ from other distributions. ..."
Quote: Max Spevik
http://interviews.slashdot.org/article.pl?sid=06/08/17/177220
RMS on fedora:
http://fedoraproject.org/wiki/FreeSoftwareAnalysis/FSF
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxxxxx
https://lists.dulug.duke.edu/mailman/listinfo/yum