[Bug 978587] Re: apt should ensure .deb are not corrupted before handing them to dpkg

Julian Andres Klode 978587 at bugs.launchpad.net
Sat May 29 18:29:51 UTC 2021


** Changed in: apt (Ubuntu)
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/978587

Title:
  apt should ensure .deb are not corrupted before handing them to dpkg

Status in apt package in Ubuntu:
  Invalid

Bug description:
  Upon upgrading to libreoffice-core 3.5.2 version, I stumbled upon what
  seems to be a bad download issue:

  Preparing to replace libreoffice-core 1:3.5.1-1ubuntu5 (using .../libreoffice-core_1%3a3.5.2-2ubuntu1_amd64.deb) ...
  rmdir: failed to remove `/var/lib/libreoffice/basis3.4/program/': No such file or directory
  rmdir: failed to remove `/var/lib/libreoffice/basis3.4': No such file or directory
  Unpacking replacement libreoffice-core ...
  dpkg-deb (subprocess): data: internal bzip2 read error: 'DATA_ERROR'
  dpkg-deb: error: subprocess <decompress> returned error exit status 2
  dpkg: error processing /var/cache/apt/archives/libreoffice-core_1%3a3.5.2-2ubuntu1_amd64.deb (--unpack):
   subprocess dpkg-deb --fsys-tarfile returned error exit status 2

  I was asked to file a bug about it, as it might be possible for dpkg
  to recover from that more gracefully.

  Further information upon requests.

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



More information about the foundations-bugs mailing list