Hi!

On Thu, 2012-06-07 at 12:40:59 +0200, Adam Borowski wrote:
> Package: dpkg
> Version: 1.16.3
> Severity: grave
> Justification: renders package unusable

> After an interrupted dpkg run, any subsequent invocation fails with:
> 
> dpkg: error: libc6-dev:armel <none> (Multi-Arch: no) is not co-installable
> with libc6-dev which has multiple installed instances
> 
> This affects not only -i, --purge, --unpack but even -l or dpkg-query.
> 
> The last two relevant entries of dpkg/updates (there's over a hundred
> entries after that, none mentioning libc6-dev) are:

> ,--====[ /var/lib/dpkg/updates/0006
> Package: libc6-dev
> Status: unknown ok not-installed
> Priority: optional
> Section: libdevel
> Architecture: armel
> `----

> After manually appending "Multi-Arch: same" to the file in dpkg/updates (for
> libc6-dev:armel and for another package from the same run), dpkg let me 
> proceed.
> This suggests a fix: don't remove the field until possibly some time later.

Hrm, I thought I had handled that case in the code correctly, but
apparently not. :/ It's really a problem that the update log is only
ever used on some interrupted runs, as that makes reliably testing it
quite difficult, I should add a way to test it in the future.

> (I have a btrfs snapshot of the system, in case more information is needed.)

No need, and thanks for the report, will be fixed in 1.16.4, being
finished right now.

thanks,
guillem



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to