← Back to team overview

desktop-packages team mailing list archive

Re: [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 might be of no help to you but I had to (try) install and remove
libre office about 3-4 times before /basis3.4 directory would show up
ald allow me to move it to .old and then make new directory?  If you
haven't yet, i'd try removing all libre packages (or broken in
synaptic/bash) reinstalling libre and when it fails look for that dir to
move?

sudo -s (or just type sudo before every command)
mv /usr/lib/libreoffice/basis3.4/program/
/usr/lib/libreoffice/basis3.4/program.old <------ this directory must be
present for fix to work, was not case for me at first.
mkdir /usr/lib/libreoffice/basis3.4/program/
apt-get install -f
mv /usr/lib/libreoffice/basis3.4/program.old
/usr/lib/libreoffice/basis3.4/program

I hope this was of some help.

/*Eddie

On 01/13/2012 03:08 PM, Sam_ wrote:
> apt-get -f install still says:
> 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
> Errors were encountered while processing:
>  /var/cache/apt/archives/libreoffice-core_1%3a3.5.0~beta2-2ubuntu2_amd64.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> Then use workaround from #7, terminal ouput says:
> Preparing to replace libreoffice-core 1:3.4.4-0ubuntu2 (using .../libreoffice-core_1%3a3.5.0~beta2-2ubuntu2_amd64.deb) ...
> Unpacking replacement libreoffice-core ...
> dpkg: warning: unable to delete old directory '/var/lib/libreoffice/basis3.4/program': Directory not empty
> dpkg: warning: unable to delete old directory '/var/lib/libreoffice/basis3.4': Directory not empty
> dpkg: warning: unable to delete old directory '/usr/lib/libreoffice/basis3.4': Directory not empty
>

-- 
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:
  Fix Released
Status in “libreoffice” source package in Precise:
  Fix Released

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


References