← Back to team overview

desktop-packages team mailing list archive

[Bug 1192109] Re: package libreoffice-core 1:4.0.2-0ubuntu1 failed to install/upgrade: cannot copy extracted data for './usr/lib/libreoffice/program/libmergedlo.so' to '/usr/lib/libreoffice/program/libmergedlo.so.dpkg-new': unexpected end of file or stream

 

http://tech.enekochan.com/en/2014/11/01/fix-apt-get-cannot-copy-
extracted-data-for-to-unexpected-end-of-file-or-stream/

** Changed in: libreoffice (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/1192109

Title:
  package libreoffice-core 1:4.0.2-0ubuntu1 failed to install/upgrade:
  cannot copy extracted data for
  './usr/lib/libreoffice/program/libmergedlo.so' to
  '/usr/lib/libreoffice/program/libmergedlo.so.dpkg-new': unexpected end
  of file or stream

Status in libreoffice package in Ubuntu:
  Invalid

Bug description:
  $ lsb_release -rd
  Description:	Ubuntu 13.04
  Release:	13.04

   apt-cache policy libreoffice-core
  libreoffice-core:
    Installed: 1:4.0.2-0ubuntu1
    Candidate: 1:4.0.2-0ubuntu1
    Version table:
   *** 1:4.0.2-0ubuntu1 0
          500 http://archive.ubuntu.com/ubuntu/ raring/main amd64 Packages
          500 http://us.archive.ubuntu.com/ubuntu/ raring/main amd64 Packages
          100 /var/lib/dpkg/status

  I expected distribution upgrade from 12.10 to 13.04 to went nicely and
  smoothly.

  Instead due to problem with libreoffice-core package upgrade failed
  living my box in highly unstable state. I spent hours repairing it.

  From /var/log/apt/history.log
  Start-Date: 2013-06-17  14:29:35
  Commandline: apt-get -f install
  Install: libreoffice-core:amd64 (4.0.2-0ubuntu1, automatic)
  Error: Sub-process /usr/bin/dpkg returned an error code (1)
  End-Date: 2013-06-17  14:29:40

  Start-Date: 2013-06-17  14:41:29
  Commandline: apt-get -f install
  Install: libreoffice-core:amd64 (4.0.2-0ubuntu1, automatic)
  Error: Sub-process /usr/bin/dpkg returned an error code (1)
  End-Date: 2013-06-17  14:41:48

  Start-Date: 2013-06-17  14:44:56
  Commandline: apt-get -f install
  Install: libreoffice-core:amd64 (4.0.2-0ubuntu1, automatic)
  Error: Sub-process /usr/bin/dpkg returned an error code (1)
  End-Date: 2013-06-17  14:45:00

  From /var/log/apt/term.log
  Log started: 2013-06-17  14:44:56
  (Reading database ... 552593 files and directories currently installed.)
  Unpacking libreoffice-core (from .../libreoffice-core_1%3a4.0.2-0ubuntu1_amd64.deb) ...
  dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt
  dpkg-deb: error: subprocess <decompress> returned error exit status 2
  dpkg: error processing /var/cache/apt/archives/libreoffice-core_1%3a4.0.2-0ubuntu1_amd64.deb (--unpack):
   cannot copy extracted data for './usr/lib/libreoffice/program/libmergedlo.so' to '/usr/lib/libreoffice/program/libmergedlo.so.dpkg-new': unexpected end of file or stream
  Processing triggers for bamfdaemon ...
  Rebuilding /usr/share/applications/bamf-2.index...
  Processing triggers for desktop-file-utils ...
  Processing triggers for gnome-menus ...
  Errors were encountered while processing:
   /var/cache/apt/archives/libreoffice-core_1%3a4.0.2-0ubuntu1_amd64.deb
  Log ended: 2013-06-17  14:45:00

  It might be that this is not a but actually but somehow cached version
  of libreoffice-core got corrupted.

  ProblemType: Package
  DistroRelease: Ubuntu 13.04
  Package: libreoffice-core 1:4.0.2-0ubuntu1
  ProcVersionSignature: Ubuntu 3.8.0-25.37-generic 3.8.13
  Uname: Linux 3.8.0-25-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 2.9.2-0ubuntu8.1
  Architecture: amd64
  Date: Mon Jun 17 14:29:38 2013
  DpkgTerminalLog:
   Unpacking libreoffice-core (from .../libreoffice-core_1%3a4.0.2-0ubuntu1_amd64.deb) ...
   dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt
   dpkg-deb: error: subprocess <decompress> returned error exit status 2
   dpkg: error processing /var/cache/apt/archives/libreoffice-core_1%3a4.0.2-0ubuntu1_amd64.deb (--unpack):
    cannot copy extracted data for './usr/lib/libreoffice/program/libmergedlo.so' to '/usr/lib/libreoffice/program/libmergedlo.so.dpkg-new': unexpected end of file or stream
  DuplicateSignature: package:libreoffice-core:1:4.0.2-0ubuntu1:cannot copy extracted data for './usr/lib/libreoffice/program/libmergedlo.so' to '/usr/lib/libreoffice/program/libmergedlo.so.dpkg-new': unexpected end of file or stream
  ErrorMessage: cannot copy extracted data for './usr/lib/libreoffice/program/libmergedlo.so' to '/usr/lib/libreoffice/program/libmergedlo.so.dpkg-new': unexpected end of file or stream
  InstallationDate: Installed on 2012-01-23 (511 days ago)
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  MarkForUpload: True
  SourcePackage: libreoffice
  Title: package libreoffice-core 1:4.0.2-0ubuntu1 failed to install/upgrade: cannot copy extracted data for './usr/lib/libreoffice/program/libmergedlo.so' to '/usr/lib/libreoffice/program/libmergedlo.so.dpkg-new': unexpected end of file or stream
  UpgradeStatus: Upgraded to raring on 2013-06-17 (0 days ago)

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