*SOLVED* Installing vzyum on Debian Sarge host? [message #5110] |
Fri, 11 August 2006 16:12 |
jbwiv
Messages: 15 Registered: August 2006
|
Junior Member |
|
|
guys, I'm trying to run Fedora VE on top of Debian Sarge, using the precreated Fedora templates, but yum is not there in the VE installed. How can I add yum to my VEs? I see vzyum but it appears to only work on Red Hat, and my host OS is Debian...
I downloaded the vzyum tarball and extracted it, but it does not include a vzyum binary...the only executable I find is in:
/usr/share/vzyum/bin/yum
When I try to run this, I get:
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
No module named rpm
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.3.5 (#2, Sep 4 2005, 22:01:42)
[GCC 3.3.5 (Debian 1:3.3.5-13)]
If you cannot solve this problem yourself, please send this
message to <yum@lists.linux.duke.edu>.
Is there something I'm doing wrong? Can anyone tell me how to add yum to an Fedora VE if I'm running Debian in the host?
Thanks!
jbwiv
[Updated on: Mon, 21 August 2006 06:51] by Moderator Report message to a moderator
|
|
|
SOLVED Re: Installing vzyum on Debian Sarge host? [message #5113 is a reply to message #5110] |
Sat, 12 August 2006 00:19 |
jbwiv
Messages: 15 Registered: August 2006
|
Junior Member |
|
|
I'll answer my own question.
To fix this, I had do install the following (I converted them to .deb files with alien -d):
ii vzpkg-2.7.0 18.noarch-2 Converted Slackware tgz package
ii vzquota 3.0.8-1dso2 server virtualization solution - quota tools
ii vzrpm43-4.3.3 7_nonptl.6.i386-2 Converted Slackware tgz package
ii vzrpm43-python-4.3.3 7_nonptl.6.i386-2 Converted Slackware tgz package
ii vzrpm44-4.4.1 22.5.i386-2 Converted Slackware tgz package
ii vzrpm44-python-4.4.1 22.5.i386-2 Converted Slackware tgz package
ii vztmpl-centos-4-2.0 2.i386-2 Converted Slackware tgz package
ii vztmpl-fedora-core-5-2.0 2.i386-2 Converted Slackware tgz package
ii vzyum-2.4.0 11.noarch-2 Converted Slackware tgz package
Notice those vztmpl files...important to have to get package metadata. THEN, you have to run vzpkgcache <os>...like:
# vzpkgcache centos-4
Finally, you should be able to run vzyum. However, this depends on your python install...in my case, I had to run it a couple of times, see what failed, and then install additional python modules (urlgrabber, libxml, etc).
Hope this helps you.
jbwiv
|
|
|