Preparing to replace libreoffice-core 1:3.4.4-0ubuntu1 (using .../libreoffice-core_1%3a3.5.0~beta2-2ubuntu2_i386.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_i386.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
dpkg: considering deconfiguration of libreoffice-core, which would be broken by installation of libreoffice-common ...
dpkg: yes, will deconfigure libreoffice-core (broken by libreoffice-common).
Preparing to replace libreoffice-common 1:3.4.4-0ubuntu1 (using .../libreoffice-common_1%3a3.5.0~beta2-2ubuntu2_all.deb) ...
De-configuring libreoffice-core ...
Preparing to replace libreoffice-core 1:3.4.4-0ubuntu1 (using .../libreoffice -core_1% 3a3.5.0~ beta2-2ubuntu2_ i386.deb) ... libreoffice/ basis3. 4/program/ ': Directory not empty apt/archives/ libreoffice- core_1% 3a3.5.0~ beta2-2ubuntu2_ i386.deb (--unpack): common) . -common_ 1%3a3.5. 0~beta2- 2ubuntu2_ all.deb) ...
rmdir: failed to remove `usr/lib/
dpkg: error processing /var/cache/
subprocess new pre-installation script returned error exit status 1
dpkg: considering deconfiguration of libreoffice-core, which would be broken by installation of libreoffice-common ...
dpkg: yes, will deconfigure libreoffice-core (broken by libreoffice-
Preparing to replace libreoffice-common 1:3.4.4-0ubuntu1 (using .../libreoffice
De-configuring libreoffice-core ...