[Yum] python "rpm" module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I want to make a debian package of 'yum'.
The goal is not to manage Debian with yum: I just need to host a yum
repository on a debian server, and I need some utils embeded in yum.
(the equivalents of dpkg-scanpackages ans dpkg-scansources).

The problem is yum cant import a "rpm" module:

root-debian# yum
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

I looked at the packages.debian.org website and thought
"python2.x-rpm" would be my solution but after install:


root-debian# updatedb; locate rpm.py
/usr/lib/python2.2/distutils/command/bdist_rpm.py
/usr/lib/python2.2/distutils/command/bdist_rpm.pyc
/usr/lib/python2.2/distutils/command/bdist_rpm.pyo
/usr/lib/python2.3/distutils/command/bdist_rpm.py
/usr/lib/python2.3/distutils/command/bdist_rpm.pyc
/usr/lib/python2.3/distutils/command/bdist_rpm.pyo
/usr/lib/python2.4/distutils/command/bdist_rpm.py
/usr/lib/python2.4/distutils/command/bdist_rpm.pyc
/usr/lib/python2.4/distutils/command/bdist_rpm.pyo

So that I see rpm.py does not exist.
Would you know where and how could I install this one?
Should I really look for a "rpm.py" file?
Thank you.

-- 
Administration & Formation ? l'administration
de serveurs d?di?s:
http://www.google.fr/search?q=aspo+infogerance+serveur


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux