At the risk of sounding stupid but if the installer was trying to remove the directory altogether why do you want to recreate it.
Woud something like this work better $sudo -s # rm -r /usr/lib/libreoffice/basis3.4/program/ # mkdir /usr/lib/libreoffice/basis3.4/program/ # apt-get -f install -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs