/usr/bin/dpkg:6:do_internerr:deb_reassemble:process_archive:archivefiles:main

Bug #1601998 reported by errors.ubuntu.com bug bridge on 2016-07-11
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dpkg (Ubuntu)
Undecided
Unassigned
Xenial
Medium
Brian Murray

Bug Description

[Impact]
There are a ton of crash reports in the Error Tracker from dpkg about dpkg-split which cause dpkg to abort. It'd be good to get this resolved in Ubuntu 16.04.

[Test Case]
Verify that the new version of dpkg does not appear in the Error Tracker.
One might also try the following:

1) dpkg -i /tmp/cats
2) Observe dpkg-split aborting e.g.

dpkg-split: error: error reading /tmp/cats: Is a directory
dpkg:../../src/unpack.c:123:deb_reassemble: internal error: unexpected exit status 2 from dpkg-split
Aborted (core dumped)

With the version of the package in -proposed that should not happen.

[Regression Potential]
Little as we are just changing the error handling mechanism.

The Ubuntu Error Tracker has been receiving reports about a problem regarding dpkg. This problem was most recently seen with version 1.18.4ubuntu1.1, the problem page at https://errors.ubuntu.com/problem/fbab11d5ffef5f64e1affa33c6e5bf0330075104 contains more details.

description: updated
Changed in dpkg (Ubuntu):
status: New → Fix Released
Changed in dpkg (Ubuntu Xenial):
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Brian Murray (brian-murray)
description: updated

Hello errors.ubuntu.com, or anyone else affected,

Accepted dpkg into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/dpkg/1.18.4ubuntu1.3 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in dpkg (Ubuntu Xenial):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-xenial
Simon Déziel (sdeziel) wrote :

Verification worked on Xenial:

# mkdir /tmp/cats
# dpkg -i /tmp/cats
dpkg-split: error: error reading /tmp/cats: Is a directory
dpkg:../../src/unpack.c:123:deb_reassemble: internal error: unexpected exit status 2 from dpkg-split
Aborted

# apt-get dist-upgrade
...
Setting up libdpkg-perl (1.18.4ubuntu1.3) ...
Setting up dpkg-dev (1.18.4ubuntu1.3) ...
...

# dpkg -i /tmp/cats
dpkg-split: error: error reading /tmp/cats: Is a directory
dpkg: error processing archive /tmp/cats (--install):
 subprocess dpkg-split returned error exit status 2
Errors were encountered while processing:
 /tmp/cats

tags: added: verification-done verification-done-xenial
removed: verification-needed verification-needed-xenial
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dpkg - 1.18.4ubuntu1.3

---------------
dpkg (1.18.4ubuntu1.3) xenial; urgency=medium

  * Use ohshit() instead of internerr() for unhandled dpkg-split exit
    codes. (i.e. do not abort). Closes: #812679, LP: #1601998

 -- Brian Murray <email address hidden> Fri, 20 Oct 2017 16:14:06 -0700

Changed in dpkg (Ubuntu Xenial):
status: Fix Committed → Fix Released

The verification of the Stable Release Update for dpkg has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

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

Other bug subscribers