OpenVZ Forum


Home » General » Support » vzpkgcache behind proxy
icon9.gif  Re: vzpkgcache behind proxy [message #7944 is a reply to message #7029] Tue, 31 October 2006 09:51 Go to previous messageGo to previous message
rookie is currently offline  rookie
Messages: 12
Registered: October 2006
Location: CH
Junior Member
Hi!

My yum.conf (proxy with authentication):

# more /vz/template/centos/4/i386/config/yum.conf
[main]
cachedir=/vz/template/centos/4/i386/yum-cache/
# Ugly hack to make yum disregard /etc/yum.repos.d/*repo files
# from both the host system and from inside VPS
reposdir=/dev/null
# Fix for bug #78 - we do not want to install dummy,
# we want to upgrade it.
installonlypkgs=''
proxy=http://proxy.myhome.ch:3128/
proxy_username=rookie.myhome
proxy_password=ProxyPWD


[centos4-vz-addons]
name=OpenVZ add-ons for CentOS 4 - i386
baseurl=file:///vz/template/centos/4/i386/vz-addons/
enabled=1
gpgcheck=0

[centos4-base]
name=CentOS 4 - i386 - Base
baseurl=http://mirror.centos.org/centos/4/os/i386/
enabled=1
gpgcheck=1

[centos4-updates-released]
name=CentOS 4 - i386 - Released Updates
baseurl=http://mirror.centos.org/centos/4/updates/i386/
enabled=1
gpgcheck=1



So i try vzpkgcache:

# vzpkgcache centos-4
Creating cache for centos-4-i386-default OS template
Setting up Install Process
Setting up repositories
centos4-vz-addons 100% |=========================| 951 B 00:00
centos4-base 100% |=========================| 1.1 kB 00:00
http://mirror.centos.org/centos/4/updates/i386/repodata/repo md.xml: [Errno 14] HTTP Error 400: Bad Request
Trying other mirror.
Cannot open/read repomd.xml file for repository: centos4-updates-released
failure: repodata/repomd.xml from centos4-updates-released: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from centos4-updates-released: [Errno 256] No more mirrors to try.
ERROR: yum failed with 1 exit code

any idea?
 
Read Message
Read Message
Read Message icon9.gif
Read Message
Previous Topic: Transparent Squid in VE
Next Topic: *SOLVED* Memory errors
Goto Forum:
  


Current Time: Tue Jul 09 10:21:20 GMT 2024

Total time taken to generate the page: 0.03100 seconds