parse arch-qualified Provides correctly
authorHelmut Grohne <helmut@subdivi.de>
Mon, 9 Mar 2015 17:11:10 +0000 (18:11 +0100)
committerDavid Kalnischkies <david@kalnischkies.de>
Mon, 16 Mar 2015 17:01:47 +0000 (18:01 +0100)
commitb209edfa318e89df31a2dcae82c3d72b48c1e77f
tree0d8557cef6f3cd8207c5561ec2d57a529e4b51fd
parentfe1f85118e0787ef5df28a045fd12d9133424b3f
parse arch-qualified Provides correctly

The underlying problem is that libapt-pkg does not correctly parse these
provides. Internally, it creates a version named "baz:i386" with
architecture amd64. Of course, such a package name is invalid and thus
this version is completely inaccessible. Thus, this bug should not cause
apt to accept a broken situation as valid. Nevertheless, it prevents
using architecture qualified depends.

Closes: 777071
apt-pkg/deb/deblistparser.cc