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

Bug #1192109 reported by Goran Miskovic
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libreoffice (Ubuntu)
Invalid
Undecided
Unassigned

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)

Revision history for this message
Goran Miskovic (schkovich) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote :
Changed in libreoffice (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.