apt makes wrong resolver choice when foreign arch repo included
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
In a fresh raring chroot adding foreign-arch armhf then apt-get installing crossbuild-
But if a repo arch-qualified for another arch (arm64) is added, and apt-get update run, installing crossbuild-
The reason for this is not clear. Here is a summary of what I've found so far.
apt-get install crossbuild-
crossbuild-
apt-get install dpkg-cross
dpkg-cross : Depends: libdebian-
apt-get install libdebian-
works, but tries to remove: libidn11 libssl1.0.0 libudev0 multiarch-support wget
(and replace multiarch-
doing apt-get install crossbuild-
So the question is why is apt prefering the solution of not installing crossbuild-
I did
apt-get -oDebug:
and got the attached apt-debug file
I've also attached a script log of the session demonstrating that crossbuild-
I think this can be reproduced by doing
sbuild-createchroot for raring on amd64 box
adding this repo to apt config:
deb [arch=arm64] http://
deb-src http://
and doing the above tests, as documented in the script log attached
the problem seems to revolve around apt starting by considering multiarch-
script log of session demonstarting that it works until the arm64 repo is added, then it doesn't until multiarch- support: amd64 is explicitly specified