Control: reassign -1 apt

Hi!

[ APT maintainers, the quick summary is that on an apt removal run,
  dpkg fails notifying an installed package is not installed, please
  see the bug report for more details and attached files, etc. ]

On Fri, 2012-08-31 at 16:43:19 +0200, Vincent Lefevre wrote:
> On 2012-08-31 16:03:04 +0200, Guillem Jover wrote:
> > Could you send send also the dpkg log, apt history and term log for
> > that session, and the problematic dpkg status file? (you might want
> > to sanitize the status file, or you can send it privately to me
> > otherwise). I'm taking a look, but those would be of much help.
> 
> Here are the files. The status file doesn't seem to contain anything
> private, and the machine is behind a firewall and no longer used to
> access the Internet, so that I don't think there isn't much risk...

Thanks much! Ok, I think I've spotted the problem. dpkg errors out
with a message saying that it cannot remove the docbook-mathml package.
But when invoked from the command line, as in:

  «dpkg --remove docbook-mathml»

everything works as expected. So there's something else going on, and
checking the apt logs, reveal that apt is treating docbook-mathml
which does not have any architecture as a native powerpc package, and
my guess is that apt is arch-qualifying the package on the dpkg command
line, which dpkg does not like, because it does not match with the
installed package:

  «dpkg --remove docbook-mathml:powerpc»

So it would seem to me the arch-qualifying logic in apt is not right,
it really only ever needs to arch-qualify if:

  * dpkg supports --assert-multi-arch
  AND
  * the package is Multi-Arch:same

Because M-A:same packages are guaranteed to always have a valid
architecture, something that cannot be expected from non-M-A:same
packages due to legacy reasons.

thanks,
guillem


--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to