← Back to team overview

touch-packages team mailing list archive

[Bug 1363257] Re: string matching for dpkg I/O errors in dpkgpm.cc is out of date

 

This bug was fixed in the package apt - 1.0.1ubuntu2.6

---------------
apt (1.0.1ubuntu2.6) trusty-proposed; urgency=medium

  * apt-pkg/deb/dpkgpm.cc:
    - update string matching for dpkg I/O errors. (LP: #1363257)
    - properly parse the dpkg status line so that package name is properly set
      and an apport report is created. Thanks to Anders Kaseorg for the patch.
      (LP: #1353171)
 -- Brian Murray <brian@xxxxxxxxxx>   Wed, 08 Oct 2014 14:01:41 -0700

** Changed in: apt (Ubuntu Trusty)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1363257

Title:
  string matching for dpkg I/O errors in dpkgpm.cc is out of date

Status in “apt” package in Ubuntu:
  Fix Released
Status in “apt” source package in Trusty:
  Fix Released

Bug description:
  The following error strings are no longer returned by dpkg:

     io_errors.push_back(string("failed to read on buffer copy for %s"));
     io_errors.push_back(string("failed in write on buffer copy for %s"));
     io_errors.push_back(string("short read on buffer copy for %s"));

  Subsequently, apport package installation failures are being created
  for these types of crashes and they should not be.  Additionally,
  there is a new error returned by dpkg ("unexpected end of file or
  stream" as seen in bug 1361489) which should also be blocked.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1363257/+subscriptions


References