OpenVZ Forum


Home » General » Support » vzyum x86_64
vzyum x86_64 [message #889] Wed, 18 January 2006 10:39 Go to next message
bards1888 is currently offline  bards1888
Messages: 10
Registered: January 2006
Junior Member
I downloaded vzyum-2.4.0-11.noarch.rpm and tried to install it on my centos 4.2 86_64 box, it complains with;

[root@services ~]# rpm -Uvh vzyum-2.4.0-11.noarch.rpm
warning: vzyum-2.4.0-11.noarch.rpm: V3 DSA signature: NOKEY, key ID a7a1d4b6
error: Failed dependencies:
cElementTree.so is needed by vzyum-2.4.0-11.noarch



I have the necessary shared lib here;

root@services ~]# locate cElementTree.so
/usr/lib64/python2.3/site-packages/cElementTree.so

I also tried rebuilding with the src.rpm and it still does the same, then I tried rpmbuild --target x86_64. All failed.

Any ideas ?


Bards.
Re: vzyum x86_64 [message #890 is a reply to message #889] Wed, 18 January 2006 10:46 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

This is a bug in vzyum.spec -- it should actually require cElementTree.so(64bit) if compiled for x86_64.

For now, you can install the rpm with --nodeps option.

I'm not sure although that it will work right out of the box.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: vzyum x86_64 [message #891 is a reply to message #890] Wed, 18 January 2006 11:01 Go to previous messageGo to next message
bards1888 is currently offline  bards1888
Messages: 10
Registered: January 2006
Junior Member
kir wrote on Wed, 18 January 2006 20:46

This is a bug in vzyum.spec -- it should actually require cElementTree.so(64bit) if compiled for x86_64.

So should I change the spec file ?

For now, you can install the rpm with --nodeps option.

I'm not sure although that it will work right out of the box.


Are you saying it might not work even if I install with nodeps ?

Thanks for the quick response.
Re: vzyum x86_64 [message #892 is a reply to message #891] Wed, 18 January 2006 11:05 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Quote:

Are you saying it might not work even if I install with nodeps?


Right. So just try it Smile


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: vzyum x86_64 [message #920 is a reply to message #892] Wed, 18 January 2006 15:59 Go to previous messageGo to next message
cahya_s is currently offline  cahya_s
Messages: 17
Registered: January 2006
Junior Member
kir wrote on Wed, 18 January 2006 06:05


Right. So just try it Smile


I just try it, result:
If I exec vzpkgcache, get error message:

# vzpkgcache
Creating cache for fedora-core-4-i386-default 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/rp m/_rpmmodule.so: cannot open shared object file: No such file or directory

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.1 (#1, May 16 2005, 15:15:14)
[GCC 4.0.0 20050512 (Red Hat 4.0.0-5)]

If you cannot solve this problem yourself, please send this
message to <yum@lists.linux.duke.edu>.

ERROR: yum failed with 1 exit code
Re: vzyum x86_64 [message #921 is a reply to message #920] Wed, 18 January 2006 17:52 Go to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

It looks like you haven't commented out setting PYTHONPATH in /usr/share/vzpkg/cache-os script.

Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Previous Topic: vzrpm x86_64
Next Topic: yum update
Goto Forum:
  


Current Time: Sun Jul 21 07:31:52 GMT 2024

Total time taken to generate the page: 0.02321 seconds