[Bug 840395] Re: package gcc-4.5 (not installed) failed to install/upgrade: short read on buffer copy for backend dpkg-deb during `./usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5/lto1'

GeoffOs 840395 at bugs.launchpad.net
Fri Sep 16 17:40:39 UTC 2011


sudo apt-get clean
and then
sudo apt-get update
sudo apt-get install gcc-4.5

resolved the issue.

Thanks.

** Changed in: gcc-4.5 (Ubuntu)
       Status: Incomplete => Fix Released

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

Title:
  package gcc-4.5 (not installed) failed to install/upgrade: short read
  on buffer copy for backend dpkg-deb during `./usr/lib/i386-linux-
  gnu/gcc/i686-linux-gnu/4.5/lto1'

Status in “gcc-4.5” package in Ubuntu:
  Fix Released

Bug description:
  $ sudo apt-get -f install gcc-4.5
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  The following packages were automatically installed and are no longer required:
    hellanzb libavutil49 python-kiwi lvm2 par2 chromium-browser-inspector openoffice.org-l10n-common libx264-85
    openoffice.org-l10n-en-gb python-yenc watershed libmpcdec3
  Use 'apt-get autoremove' to remove them.
  Suggested packages:
    gcc-4.5-multilib libmudflap0-4.5-dev gcc-4.5-doc gcc-4.5-locales libgcc1-dbg libgomp1-dbg libmudflap0-dbg
    binutils-gold
  The following NEW packages will be installed
    gcc-4.5
  0 upgraded, 1 newly installed, 0 to remove and 11 not upgraded.
  5 not fully installed or removed.
  Need to get 0 B/6,882 kB of archives.
  After this operation, 14.5 MB of additional disk space will be used.
  (Reading database ... 234350 files and directories currently installed.)
  Unpacking gcc-4.5 (from .../gcc-4.5_4.5.2-8ubuntu4_i386.deb) ...
  dpkg-deb (subprocess): failed to read on buffer copy for failed to write to pipe in copy: Input/output error
  dpkg-deb: error: subprocess paste returned error exit status 2
  dpkg: error processing /var/cache/apt/archives/gcc-4.5_4.5.2-8ubuntu4_i386.deb (--unpack):
   short read on buffer copy for backend dpkg-deb during `./usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5/lto1'
  Processing triggers for man-db ...
  Errors were encountered while processing:
   /var/cache/apt/archives/gcc-4.5_4.5.2-8ubuntu4_i386.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  geoff at helmuth:~$ sudo apt-get -f install gcc-4.5
  [sudo] password for geoff: 
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  The following packages were automatically installed and are no longer required:
    hellanzb libavutil49 python-kiwi lvm2 par2 chromium-browser-inspector openoffice.org-l10n-common libx264-85
    openoffice.org-l10n-en-gb python-yenc watershed libmpcdec3
  Use 'apt-get autoremove' to remove them.
  Suggested packages:
    gcc-4.5-multilib libmudflap0-4.5-dev gcc-4.5-doc gcc-4.5-locales libgcc1-dbg libgomp1-dbg libmudflap0-dbg
    binutils-gold
  The following NEW packages will be installed
    gcc-4.5
  0 upgraded, 1 newly installed, 0 to remove and 11 not upgraded.
  5 not fully installed or removed.
  Need to get 0 B/6,882 kB of archives.
  After this operation, 14.5 MB of additional disk space will be used.
  (Reading database ... 234350 files and directories currently installed.)
  Unpacking gcc-4.5 (from .../gcc-4.5_4.5.2-8ubuntu4_i386.deb) ...
  dpkg-deb (subprocess): failed to read on buffer copy for failed to write to pipe in copy: Input/output error
  dpkg-deb: error: subprocess paste returned error exit status 2
  dpkg: error processing /var/cache/apt/archives/gcc-4.5_4.5.2-8ubuntu4_i386.deb (--unpack):
   short read on buffer copy for backend dpkg-deb during `./usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5/lto1'
  Processing triggers for man-db ...
  Errors were encountered while processing:
   /var/cache/apt/archives/gcc-4.5_4.5.2-8ubuntu4_i386.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  ProblemType: Package
  DistroRelease: Ubuntu 11.04
  Package: gcc-4.5 (not installed)
  ProcVersionSignature: Ubuntu 2.6.38-11.48-generic 2.6.38.8
  Uname: Linux 2.6.38-11-generic i686
  Architecture: i386
  Date: Sat Sep  3 15:04:46 2011
  DpkgTerminalLog:
   Unpacking gcc-4.5 (from .../gcc-4.5_4.5.2-8ubuntu4_i386.deb) ...
   dpkg-deb (subprocess): failed to read on buffer copy for failed to write to pipe in copy: Input/output error
   dpkg-deb: error: subprocess paste returned error exit status 2
   dpkg: error processing /var/cache/apt/archives/gcc-4.5_4.5.2-8ubuntu4_i386.deb (--unpack):
    short read on buffer copy for backend dpkg-deb during `./usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5/lto1'
  ErrorMessage: short read on buffer copy for backend dpkg-deb during `./usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5/lto1'
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
  SourcePackage: gcc-4.5
  Title: package gcc-4.5 (not installed) failed to install/upgrade: short read on buffer copy for backend dpkg-deb during `./usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5/lto1'
  UpgradeStatus: Upgraded to natty on 2011-08-28 (5 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.5/+bug/840395/+subscriptions




More information about the foundations-bugs mailing list