OpenVZ Forum


Home » General » Support » vzpkgcache on Fedora 7 template
vzpkgcache on Fedora 7 template [message #31151] Thu, 19 June 2008 14:45 Go to next message
johan_hammy is currently offline  johan_hammy
Messages: 99
Registered: December 2005
Member
[root@Char webvz.1.5]# vzpkgcache fedora-7-i386-minimal
Creating cache for fedora-7-i386-minimal OS template
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   /usr/share/vzpkgtools/vzrpm44/lib/python2.4/site-packages/rpm/_rpmmodule.so: wrong ELF class: ELFCLASS32

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.4.3 (#1, Mar 14 2007, 19:01:42)
[GCC 4.1.1 20070105 (Red Hat 4.1.1-52)]

If you cannot solve this problem yourself, please go to
the yum faq at:
  http://wiki.linux.duke.edu/YumFaq


ERROR: yum failed with 1 exit code


However, vzyum updates existing VEs just fine.
Re: vzpkgcache on Fedora 7 template [message #31253 is a reply to message #31151] Sun, 22 June 2008 23:53 Go to previous messageGo to next message
johan_hammy is currently offline  johan_hammy
Messages: 99
Registered: December 2005
Member
This is my work around I saw in another post on here.

cp /usr/lib64/python2.4/site-packages/rpm/_rpmmodule.so /usr/share/vzpkgtools/vzrpm44/lib/python2.4/site-packages/rpm

Re: vzpkgcache on Fedora 7 template [message #31283 is a reply to message #31253] Tue, 24 June 2008 04:56 Go to previous message
dowdle is currently offline  dowdle
Messages: 261
Registered: December 2005
Location: Bozeman, Montana
Senior Member
vzyum and building your own OS Templates via vzpkgcache has become more problematic as time goes by. I simply install yum inside all of my containers.

--
TYL, Scott Dowdle
Belgrade, Montana, USA
Previous Topic: Correct Way to Manage System Time & VPS Time
Next Topic: Precreated templates
Goto Forum:
  


Current Time: Fri Nov 15 00:01:53 GMT 2024

Total time taken to generate the page: 0.03292 seconds