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

André Guerreiro aguerreiro1985 at gmail.com
Tue Mar 10 03:53:23 PDT 2009


Already found the rpm commit that solves this issue:
http://rpm.org/gitweb?p=rpm.git;a=commit;h=3448b552964a526641d2e85b4ed27ebe3465f100.

Thanks to Panu as usual :)


2009/3/5 André Guerreiro wrote:
>
> 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.


More information about the Apt-Rpm mailing list