Re: Re: the problem about the install of rpm-python?

Paul Nasrat <[email protected]> Fri, 16 Sep 2005 10:33:05 -0400
Newsgroups gmane.linux.redhat.rpm.python
Organization Red Hat, Inc.
Message-ID <[email protected]>
On Fri, 2005-09-16 at 22:19 +0800, Xiaoting Hua wrote:
> yeah, but i feel it's difficult to install createrepo in debian

It's just python!  The issue you have is lack of a modern RPM package
availble in debian.

Debian policy doesn't like elfutils license.  

http://wiki.debian.net/?DFSGLicenses

RPM uses elfutils thus you won't see a recent version of RPM in debian
itself.

There is nothing from stopping you doing one of the following:

1) Creating a chroot of a RPM based distro - eg fedora
2) Packaging elfutils and a recent rpm for your personal use as debs
3) Choose to mirror from a master that has the repodata

It is possible to write an rpm-python api compatible wrapper to the
extent createrepo uses or a reimplementation that parses the rpm headers
from the packages itself.  

Paul