RPM Community Forums

Mailing List Message of <rpm-devel>

rpm5 and apt-rpm: Almost working

From: Bernhard Rosenkränzer <bero@arklinux.org>
Date: Fri 18 Jul 2008 - 14:09:20 CEST
Message-Id: <200807181409.43736.bero@arklinux.org>
Hi,
I finally got around to fixing various problems with apt-rpm when used with 
rpm5 -- the last being "apt-get update" hanging because of a bug in 
rpm4compat.h.

Now it gets the lists and starts resolving dependencies, but it complains 
about the rpm internal dependencies for loads of installed packages:


The following packages have unmet dependencies:
  ImageMagick: Depends: VersionedDependencies (<= 3.0.3-1) but it is not 
installable
               Depends: PayloadFilesHavePrefix (<= 4.0-1) but it is not 
installable
               Depends: CompressedFileNames (<= 3.0.4-1) but it is not 
installable
               Depends: PayloadIsBzip2 (<= 3.0.5-1) but it is not installable
  apr: Depends: PayloadIsLzma (<= 4.4.6-1) but it is not installable
[...]

Of course, the crude hack approach to get it up and running is adding
Provides: VersionedDependencies = 3.0.3-1
Provides: PayloadFilesHavePrefix = 4.0-1
....

to the rpm5 spec file, but I prefer to stay off junk like that. Before digging 
deeper, does anyone have any ideas why apt is seeing those bogus requirements 
instead of the correct rpmlib(PayloadIsBzip2) <= 3.0.5-1 type deps? (The 
packages are ok, rpm --requires shows the correct deps.)

ttyl
bero
Received on Fri Jul 18 14:16:24 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.