vzpkgcache [message #501] |
Mon, 12 December 2005 16:04  |
johan_hammy
Messages: 99 Registered: December 2005
|
Member |
|
|
Is there anything I can do to get CentOS to update? Looking at it, I don't even see that directory available in their tree.
[root@OpenVZ ~]# vzpkgcache
Updating cache for centos-4-i386-minimal OS template
Setting up repositories
centos4-vz-addons 100% |=========================| 951 B 00:00
centos4-base 100% |=========================| 1.1 kB 00:00
centos4-updates-released 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 120 kB 00:52
http://beta.centos.org/centos/4/os/i386/repodata/primary.xml.gz: [Errno 4] Socket Error: timed out
Trying other mirror.
Error: failure: repodata/primary.xml.gz from centos4-base: [Errno 256] No more mirrors to try.
ERROR: Command yum check-update failed with 1 exit code
Updating cache for centos-4-i386-default OS template
Setting up repositories
centos4-vz-addons 100% |=========================| 951 B 00:00
centos4-base 100% |=========================| 1.1 kB 00:00
centos4-updates-released 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 408 kB 02:50
http://beta.centos.org/centos/4/os/i386/repodata/primary.xml.gz: [Errno 4] Socket Error: timed out
Trying other mirror.
Error: failure: repodata/primary.xml.gz from centos4-base: [Errno 256] No more mirrors to try.
ERROR: Command yum check-update failed with 1 exit code
Updating cache for fedora-core-4-i386-minimal OS template
Setting up repositories
fc4-updates-released 100% |=========================| 951 B 00:00
fc4-vz-addons 100% |=========================| 951 B 00:00
fc4-base 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
No updates are available
Updating cache for fedora-core-4-i386-default OS template
Setting up repositories
fc4-updates-released 100% |=========================| 951 B 00:00
fc4-vz-addons 100% |=========================| 951 B 00:00
fc4-base 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
No updates are available
Updating cache for fedora-core-3-i386-minimal OS template
Setting up repositories
fc3-vz-addons 100% |=========================| 951 B 00:00
fc3-base 100% |=========================| 1.1 kB 00:00
fc3-updates-released 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
No updates are available
Updating cache for fedora-core-3-i386-default OS template
Setting up repositories
fc3-vz-addons 100% |=========================| 951 B 00:00
fc3-base 100% |=========================| 1.1 kB 00:00
fc3-updates-released 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
No updates are available
[Updated on: Mon, 12 December 2005 16:05] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
Re: vzpkgcache [message #530 is a reply to message #529] |
Wed, 14 December 2005 14:34  |
johan_hammy
Messages: 99 Registered: December 2005
|
Member |
|
|
Problem solved...
I opened /vz/template/centos/4/i386/config/yum.conf and added\edited the rety and timeout values. I had been working in /etc/yum.conf to no avail until I noticed yum referencing this file when working. I increased the timeout to 300 and the retries to 200. She worked the first time I tried it afterwards.
|
|
|