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 Ubuntu
Bugs, which is subscribed to 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

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to