[Apt-Rpm] apt-rpm - rpm 4.6 trouble

André Guerreiro aguerreiro1985 at gmail.com
Thu Mar 5 03:55:10 PST 2009


I'm trying to run a git version of apt against rpm 4.6 and "apt-get update"
is consistently crashing in a librpm call:
rpmds dds = rpmdsSingle(RPMTAG_REQUIRENAME, "", DepVer, (raptDepFlags)
DepFlags);

Here's a piece of debug output:
apt-get: rpmds.c:522: rpmdsDupArgv: Assertion `argv[ac] != ((void *)0)'
failed.

Program received signal SIGABRT, Aborted.
#4  0xb7e0c492 in rpmdsDupArgv (argv=0xbfeb9258, argc=1) at rpmds.c:522
#5  0xb7e0cff6 in rpmdsSingle (tagN=RPMTAG_REQUIRENAME, N=0xb807a7cf "",
EVR=0x0, Flags=RPMSENSE_ANY) at rpmds.c:292
#6  0xb802fcd3 in rpmVersioningSystem::CheckDep (this=0xb809c33c,
PkgVer=0xb70abbff "4.12-1mdv2009.0", Op=0, DepVer=0x0)
    at rpm/rpmversion.cc:230

It seems like we can't pass a null DepVer even though
rpmVersioningSystem::CheckDep comment states:
If DepVer is 0 then we are comparing against a provides with no version.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laiskiainen.org/pipermail/apt-rpm-laiskiainen.org/attachments/20090305/264bf4f4/attachment-0002.htm>


More information about the Apt-Rpm mailing list