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.
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 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.
Quote: Are you saying it might not work even if I install with nodeps? Right. So just try it
kir wrote on Wed, 18 January 2006 06:05 Right. So just try it 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
It looks like you haven't commented out setting PYTHONPATH in /usr/share/vzpkg/cache-os script.