[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'

Brian Murray brian at ubuntu.com
Thu Sep 15 20:47:32 UTC 2011


Thank you for taking the time to report this bug and helping to make
Ubuntu better.  It seems that there was an error on your system when
trying to install a particular package.  Please execute the following
command, as it will clear your package cache, in a terminal:

sudo apt-get clean

Then try performing the update again.  This will likely resolve your
issue, but the failure can be caused by filesystem or memory corruption.
So please also run a fsck on your filesystem(s) and a memory test.  If
this does resolve your bug please set its status to Invalid.  Thanks in
advance!

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

** Tags added: short-read

-- 
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:
  Incomplete

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