← Back to team overview

desktop-packages team mailing list archive

[Bug 916176] Re: package libreoffice-core 1:3.4.4-0ubuntu2 failed to install/upgrade: subprocess new pre-installation script returned error exit status 1

 

After unpacking the .deb and changing:
if [ "$1" = "upgrade" -o "$1" = "install" ]; then
        rm -f `echo /usr/lib/libreoffice | sed -e s,usr/,/var,g`/basis3.4/program/services.rdb
        rmdir `echo /usr/lib/libreoffice | sed -e s,usr/,/var,g`/basis3.4/program/
to:
if [ "$1" = "upgrade" -o "$1" = "install" ]; then
        rm -f `echo /usr/lib/libreoffice | sed -e s,/usr/,/var/,g`/basis3.4/program/services.rdb
        rmdir `echo /usr/lib/libreoffice | sed -e s,/usr/,/var/,g`/basis3.4/program/
I could install the deb and the relevant file got removed.

-- 
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/916176

Title:
  package libreoffice-core 1:3.4.4-0ubuntu2 failed to install/upgrade:
  subprocess new pre-installation script returned error exit status 1

Status in “libreoffice” package in Ubuntu:
  Confirmed

Bug description:
  package libreoffice-core 1:3.4.4-0ubuntu2 failed to install/upgrade:
  subprocess new pre-installation script returned error exit status 1

  ProblemType: Package
  DistroRelease: Ubuntu 12.04
  Package: libreoffice-core 1:3.4.4-0ubuntu2
  ProcVersionSignature: Ubuntu 3.2.0-8.15-generic 3.2.0
  Uname: Linux 3.2.0-8-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 1.90-0ubuntu1
  Architecture: amd64
  Date: Fri Jan 13 21:00:45 2012
  DpkgTerminalLog:
   Preparing to replace libreoffice-core 1:3.4.4-0ubuntu2 (using .../libreoffice-core_1%3a3.5.0~beta2-2ubuntu2_amd64.deb) ...
   rmdir: αποτυχία διαγραφής «usr/lib/libreoffice/basis3.4/program/»: Ο κατάλογος δεν είναι κενός
   dpkg: error processing /var/cache/apt/archives/libreoffice-core_1%3a3.5.0~beta2-2ubuntu2_amd64.deb (--unpack):
    subprocess new pre-installation script returned error exit status 1
  ErrorMessage: subprocess new pre-installation script returned error exit status 1
  SourcePackage: libreoffice
  Title: package libreoffice-core 1:3.4.4-0ubuntu2 failed to install/upgrade: subprocess new pre-installation script returned error exit status 1
  UpgradeStatus: No upgrade log present (probably fresh install)

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


References