dpkg fails with status parsing error after upgrade to dpkg 1.16.3

Bug #1015616 reported by Philip Muškovac
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
dpkg (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Preparing to replace dpkg 1.16.1.2ubuntu8 (using .../dpkg_1.16.3ubuntu2_amd64.deb) ...
Unpacking replacement dpkg ...
Processing triggers for man-db ...
dpkg: error: parsing file '/var/lib/dpkg/status' near line 18628 package 'libcanberra-gtk-module:i386':
 mixed non-coinstallable and coinstallable package instances present
dpkg-query: error: parsing file '/var/lib/dpkg/status' near line 18628 package 'libcanberra-gtk-module:i386':
 mixed non-coinstallable and coinstallable package instances present
debsums: dpkg-query --admindir=/var/lib/dpkg --showformat=${Package}

${PackageSpec}

${binary:Package}

${Version}

${Status}

${Conffiles}

${Replaces}

 --show failed (exit status 2)
E: Problem executing scripts DPkg::Post-Invoke 'if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi'

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: dpkg 1.16.3ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-24.39-generic 3.2.16
Uname: Linux 3.2.0-24-generic x86_64
ApportVersion: 2.2.3-0ubuntu5
Architecture: amd64
Date: Wed Jun 20 16:59:38 2012
InstallationMedia: Kubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20111007)
ProcEnviron:
 SHELL=/bin/bash
 TERM=screen
 PATH=(custom, user)
 LANG=en_US.UTF-8
 LANGUAGE=en_US.UTF-8
SourcePackage: dpkg
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Philip Muškovac (yofel) wrote :
summary: - debsums fails with dpkg-query error after upgrade to dpkg 1.16.3
+ dpkg fails with status parsing error after upgrade to dpkg 1.16.3
Revision history for this message
Philip Muškovac (yofel) wrote :

Actually, now dpkg fails to do anything:
$ sudo dpkg --configure -a
dpkg: error: parsing file '/var/lib/dpkg/status' near line 18628 package 'libcanberra-gtk-module:i386':
 mixed non-coinstallable and coinstallable package instances present

Revision history for this message
Philip Muškovac (yofel) wrote :

The status file would be useful to have I guess...

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in dpkg (Ubuntu):
status: New → Confirmed
Revision history for this message
3vi1 (launchpad-net-eternaldusk) wrote :

Sometimes the bleeding edge hurts. For me, it's failing to parse the file after libsdl-net1.2:i386, with the same message.

Revision history for this message
3vi1 (launchpad-net-eternaldusk) wrote :

I was able to workaround the issue by adding "Multi-Arch: same" to the amd64 package entries of libsdl-net and libsdl-mixer in the /var/lib/dpkg/status file.

I was then able to install the new dpkg and proceed normally. You might want to try the same for libcanberra-gtk-module,

Revision history for this message
Philip Muškovac (yofel) wrote :

Worked, thanks!

Revision history for this message
Zeus (zeus-jay) wrote :

This worked for me with libesd0:i386 as well

Thanks

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.