Comment 3 for bug 934112

Revision history for this message
Michal Suchanek (hramrach) wrote : Re: [Bug 934112] Re: dpkg aborts

2012/2/17 Raphaël Hertzog <email address hidden>:
> You fixed the problem a bit too quickly... now tell me how can I
> reproduce it?

Setting up dpkg (1.16.0.3ubuntu5) ...

# aptitude reinstall wine1.4{,-i386,-amd64} wine1.3
The following packages will be REINSTALLED:
  wine1.3 wine1.4 wine1.4-amd64
0 packages upgraded, 0 newly installed, 3 reinstalled, 0 to remove and
0 not upgraded.
Need to get 0 B/22.1 MB of archives. After unpacking 0 B will be used.
Preconfiguring packages ...
(Reading database ... 248413 files and directories currently installed.)
Preparing to replace wine1.4 1.4~rc2-0ubuntu2 (using
.../wine1.4_1.4~rc2-0ubuntu2_amd64.deb) ...
Unpacking replacement wine1.4 ...
Preparing to replace wine1.4-amd64 1.4~rc2-0ubuntu2 (using
.../wine1.4-amd64_1.4~rc2-0ubuntu2_amd64.deb) ...
Unpacking replacement wine1.4-amd64 ...
Preparing to replace wine1.3 1.4~rc2-0ubuntu2 (using
.../wine1.3_1.4~rc2-0ubuntu2_amd64.deb) ...
Unpacking replacement wine1.3 ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for gnome-menus ...
Processing triggers for desktop-file-utils ...
Processing triggers for man-db ...
dpkg: ../../src/packages.c:229: process_queue: Assertion `dependtry <=
4' failed.
E: Sub-process /usr/bin/dpkg exited unexpectedly
A package failed to install. Trying to recover:
dpkg: ../../src/packages.c:229: process_queue: Assertion `dependtry <=
4' failed.
Aborted

>
> You should have made a backup of all the important files in
> /var/lib/dpkg/ (at least status, possibly the content of the updates
> directory too, if not empty) when you were encountering the problem.
>

Now this is somewhat redudndant chasing a bug fixed in newer dpkg already.