]> git.saurik.com Git - apt.git/commit
pkgcachegen: Account for remapping when parsing depends from NewPackage
authorJulian Andres Klode <jak@debian.org>
Wed, 26 Aug 2015 21:26:54 +0000 (23:26 +0200)
committerJulian Andres Klode <jak@debian.org>
Thu, 27 Aug 2015 09:05:12 +0000 (11:05 +0200)
commit05c001c8dbcf327a77f1e4183900cad9b321d3f9
treef36a5ac1067fbdd2c2265283b7fe8369cef05859
parent864fe99c3628585ba2081650e441ab15e4ee7bae
pkgcachegen: Account for remapping when parsing depends from NewPackage

In both the Ver and Dep variables, we need to account for remapping,
as otherwise we would still reference the old bug.

Reproduction environment:

* An i386 system with amd64 foreign architecture
* A sources.list with
deb http://snapshot.debian.org/archive/debian/20150826T102846Z/ unstable main
deb http://snapshot.debian.org/archive/debian/20150826T102846Z/ experimental main

Thanks: Jakub Wilk for the bug report and the backtraces
Closes: #796999
apt-pkg/pkgcachegen.cc