← Back to team overview

desktop-packages team mailing list archive

[Bug 915271] Re: package libreoffice-core 1:3.4.4-0ubuntu2 failed to install/upgrade: rmdir: failed to remove `usr/lib/libreoffice/basis3.4/program/': Directory not empty

 

This worked for me


sudo mkdir-p / usr/lib/libreoffice/basis3.4/program & & sudo touch / usr/lib/libreoffice/basis3.4/program/services.rdb


cat / var / lib / dpkg / info / LibreOffice-core.preinst
# / bin / sh

set-e

PlatformId = linux_x86_64


if ["$ 1" = "upgrade"-o "$ 1" = "install"]; then
rm-f `echo usr / lib / LibreOffice | sed-es, / usr /, / var, g` / basis3.4/program/services.rdb
`echo rmdir usr / lib / LibreOffice | sed-es, / usr /, / var, g` / basis3.4/program /
fi


exit 0

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

Title:
  package libreoffice-core 1:3.4.4-0ubuntu2 failed to install/upgrade:
  rmdir: failed to remove `usr/lib/libreoffice/basis3.4/program/':
  Directory not empty

Status in LibreOffice Productivity Suite:
  New
Status in “libreoffice” package in Ubuntu:
  Triaged
Status in “libreoffice” source package in Precise:
  Triaged

Bug description:
  running updates/upgrades on Precise machine and message popped up
  saying it needed to report this bug.

  ProblemType: Package
  DistroRelease: Ubuntu 12.04
  Package: libreoffice-core 1:3.4.4-0ubuntu2
  ProcVersionSignature: Ubuntu 3.2.0-7.13-generic 3.2.0-rc7
  Uname: Linux 3.2.0-7-generic x86_64
  ApportVersion: 1.90-0ubuntu1
  Architecture: amd64
  Date: Thu Jan 12 11:44:43 2012
  DuplicateSignature:
   Unpacking replacement libreoffice-math ...
   Preparing to replace libreoffice-core 1:3.4.4-0ubuntu2 (using .../libreoffice-core_1%3a3.5.0~beta2-2ubuntu2_amd64.deb) ...
   rmdir: failed to remove `usr/lib/libreoffice/basis3.4/program/': Directory not empty
   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
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  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: Upgraded to precise on 2012-01-05 (6 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/915271/+subscriptions


Follow ups

References