OpenVZ Forum


Home » General » Support » Error while using vzpkgcache (maybe understanding-problem)
Error while using vzpkgcache (maybe understanding-problem) [message #38839] Wed, 10 February 2010 11:54 Go to next message
Rex_GER is currently offline  Rex_GER
Messages: 6
Registered: February 2010
Junior Member
Hey guys,

a few weeks ago i heard from OpenVZ and wanted to test it; i used the Guide "step by step" ( http://wiki.openvz.org/Install_OpenVZ_on_a_x86_64_system_Cen tos-Fedora) and got it working on a 64Bit Server.

A few days ago i wanted to test it on a 32Bit Server, so i installed CentOS 5.4, openVZ, made the changes in the configuration files which are necessary to start OpenVZ and all that's fine.

Then (I'm a total Linux/OpenVZ beginner) i missed the Templates and so on for creating a container, but noticed soon that the tool-installation script for x86_64 which was noticed in the Wiki-Guide i referred above made everything for me. So i installed the following .rpm-file vztmpl-centos-5-2.0-3.i386 (http://forum.openvz.org/index.php?t=getfile&id=415&) which i found in the script.
After that i started vzpkgcache and got following lines which I don't understand (i only know that it isn't working and no templates were created).

root@openvz1 ~]# vzpkgcache
Creating cache for centos-5-i386-minimal OS template
Setting up Install Process
Setting up repositories
centos5-vz-addons                                        |  951 B     00:00     
centos5-updates-released                                 |  951 B     00:00     
centos5-base                                             | 1.1 kB     00:00     
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for crontabs to pack into transaction set.
crontabs-1.10-8.noarch.rpm                               | 3.9 kB     00:00     
http://mirror.netcologne.de/centos/5.3/os/i386/CentOS/crontabs-1.10-8.noarch.rpm: [Errno -1] Header is not complete.
Trying other mirror.
Error: failure: CentOS/crontabs-1.10-8.noarch.rpm from centos5-base: [Errno 256] No more mirrors to try.
ERROR: yum failed with 1 exit code
Creating cache for centos-5-i386-default OS template
Setting up Install Process
Setting up repositories
centos5-vz-addons                                        |  951 B     00:00     
centos5-updates-released                                 |  951 B     00:00     
centos5-base                                             | 1.1 kB     00:00     
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for stunnel to pack into transaction set.
stunnel-4.15-2.el5.1.i386.rpm                            |  12 kB     00:00     
http://mirror.netcologne.de/centos/5.3/os/i386/CentOS/stunnel-4.15-2.el5.1.i386.rpm: [Errno -1] Header is not complete.
Trying other mirror.
Error: failure: CentOS/stunnel-4.15-2.el5.1.i386.rpm from centos5-base: [Errno 256] No more mirrors to try.
ERROR: yum failed with 1 exit code
[root@openvz1 ~]# yum list *stunnel*
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: ftp.hosteurope.de
 * base: ftp.hosteurope.de
 * extras: ftp.hosteurope.de
 * openvz-kernel-rhel5: mirrors.ircam.fr
 * openvz-utils: mirrors.ircam.fr
 * updates: ftp.hosteurope.de
Installed Packages
stunnel.i386                                                                         4.15-2.el5.1                                                                         installed
[root@openvz1 ~]# yum list *crontabs*
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: centos.intergenia.de
 * base: mirror.netcologne.de
 * extras: centos.intergenia.de
 * openvz-kernel-rhel5: openvz.copahost.com
 * openvz-utils: openvz.copahost.com
 * updates: centos.intergenia.de
Error: No matching Packages to list
[root@openvz1 ~]# 

Re: Error while using vzpkgcache (maybe understanding-problem) [message #38859 is a reply to message #38839] Sat, 13 February 2010 10:58 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hello,

I'm a little bit confused because of the
http://mirror.netcologne.de/
I've downloaded vztmpl-centos-5-2.0-3.i386 with help of the link that you provided earlier but there is no netcologne.de in
/vz/template/centos/5/i386/config/yum.conf file. Have you changed that file? As far as I understand repositories are described in that file.
Re: Error while using vzpkgcache (maybe understanding-problem) [message #38864 is a reply to message #38859] Sat, 13 February 2010 12:11 Go to previous messageGo to next message
Rex_GER is currently offline  Rex_GER
Messages: 6
Registered: February 2010
Junior Member
Hey thank you for your reply so far!


I changed the yum.conf cause i read on such articles i found via google that maybe the repository which is configured is "broken" but i replaced the conf-file after that try with the backup i made before. There's still the same error :S

(Maybe someone could tell me a repository where these errors won't appear? Could this be my solution?)
Re: Error while using vzpkgcache (maybe understanding-problem) [message #38865 is a reply to message #38864] Sat, 13 February 2010 12:27 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Can it be something like that?
https://lists.dulug.duke.edu/pipermail/yum/2005-July/006996. html

http://serverfault.com/questions/28559/centos-yum-errno-1-he ader-is-not-complete-trying-other-mirror
Re: Error while using vzpkgcache (maybe understanding-problem) [message #38866 is a reply to message #38839] Sat, 13 February 2010 13:29 Go to previous message
Rex_GER is currently offline  Rex_GER
Messages: 6
Registered: February 2010
Junior Member
Thank you maratrus for the hint!!!

I wil check it on Monday when I am back at the office.


Kind Regards!

[Updated on: Mon, 15 February 2010 09:39]

Report message to a moderator

Previous Topic: firewall
Next Topic: Errors Displayed in strace Output
Goto Forum:
  


Current Time: Fri Aug 02 21:22:47 GMT 2024

Total time taken to generate the page: 0.03123 seconds