Public bug reported: I tried to install the g++ package, while downloading it fetched 3 Packages. But when it tried to install the second and the third package it throwed this exception " Sub-process /usr/bin/dpkg returned an error code (1)".
** Entire log of installation process:- npacking g++-4.6 (from .../g++-4.6_4.6.3-1ubuntu5_i386.deb) ... dpkg-deb (subprocess): data: internal gzip read error: '<fd:4>: invalid stored block lengths' dpkg-deb: error: subprocess <decompress> returned error exit status 2 dpkg: error processing /var/cache/apt/archives/g++-4.6_4.6.3-1ubuntu5_i386.deb (--unpack): short read on buffer copy for backend dpkg-deb during `./usr/share/doc/gcc-4.6-base/test-summaries/gcc.sum.gz' Errors were encountered while processing: /var/cache/apt/archives/g++-4.6_4.6.3-1ubuntu5_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) ProblemType: Package DistroRelease: Ubuntu 12.04 Package: g++-4.6 (not installed) ProcVersionSignature: Ubuntu 3.2.0-23.36-generic-pae 3.2.14 Uname: Linux 3.2.0-23-generic-pae i686 ApportVersion: 2.0.1-0ubuntu5 Architecture: i386 Date: Mon Jul 2 19:06:01 2012 DuplicateSignature: Unpacking g++-4.6 (from .../g++-4.6_4.6.3-1ubuntu5_i386.deb) ... dpkg-deb (subprocess): data: internal gzip read error: '<fd:4>: invalid stored block lengths' dpkg-deb: error: subprocess <decompress> returned error exit status 2 dpkg: error processing /var/cache/apt/archives/g++-4.6_4.6.3-1ubuntu5_i386.deb (--unpack): short read on buffer copy for backend dpkg-deb during `./usr/share/doc/gcc-4.6-base/test-summaries/gcc.sum.gz' ErrorMessage: short read on buffer copy for backend dpkg-deb during `./usr/share/doc/gcc-4.6-base/test-summaries/gcc.sum.gz' InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423) SourcePackage: gcc-4.6 Title: package g++-4.6 (not installed) failed to install/upgrade: short read on buffer copy for backend dpkg-deb during `./usr/share/doc/gcc-4.6-base/test-summaries/gcc.sum.gz' UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: gcc-4.6 (Ubuntu) Importance: Undecided Status: New ** Tags: apport-package i386 precise -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1020424 Title: package g++-4.6 (not installed) failed to install/upgrade: short read on buffer copy for backend dpkg-deb during `./usr/share/doc/gcc-4.6-base/test-summaries/gcc.sum.gz' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-4.6/+bug/1020424/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs