I am also affected by this bug in Mint 13 Maya (based on precise),
x86-x64.

This was the error given by aptitude when trying to remove (and then
reinstall):

> /var/lib/dpkg/info/libreoffice-base.postrm: 31: 
> /var/lib/dpkg/info/libreoffice-base.postrm: Syntax error: end of file 
> unexpected (expecting "fi")
> dpkg: chyba při zpracovávání libreoffice-base (--remove):
> podproces instalovaný post-removal skript vrátil chybový status 2
(the dpkg: message says "error while processing ... subprocess installed by 
post-removal script returned error status 2")

As this prevented me from uninstalling and reinstalling, I tried to
clean the package cache (thus the new package is re-downloaded) and
reinstall with the latest version, forcing an overwrite:

sudo apt-get clean
sudo apt-get -o Dpkg::Options::="--force-overwrite" install --reinstall 
libreoffice-base

> Rozbaluji náhradu libreoffice-base …
> dpkg: varování: potlačuji problém, protože je nastaveno --force:
> zkouším přepsat soubor „/usr/lib/libreoffice/share/basic/dialog.xlc“, který 
> je také v balíku libreoffice-common 1:4.3.1~rc2-0ubuntu1~precise1
('trying to overwrite file "...", which is also in package libreoffice-common 
1:4.3.1~rc2-0ubuntu1~precise1')
> dpkg: varování: potlačuji problém, protože je nastaveno --force:
> zkouším přepsat soubor „/usr/lib/libreoffice/share/basic/script.xlc“, který 
> je také v balíku libreoffice-common 1:4.3.1~rc2-0ubuntu1~precise1
> /var/lib/dpkg/info/libreoffice-base.postrm: 31: 
> /var/lib/dpkg/info/libreoffice-base.postrm: Syntax error: end of file 
> unexpected (expecting "fi")
> dpkg: varování: podproces starý post-removal skript vrátil chybový status 2
> dpkg - zkouším raději skript z nově nainstalovaného balíku …
("rather trying script from newly installed package")
> dpkg: … vypadá to, že se vše povedlo.
("looks like everything went well")


This has *solved* the problem for me - the issue seems to be 1. the same file 
included in multiple packages, and 2. an error in an old postrm script, 
preventing further upgrade.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1357700

Title:
  package libreoffice-base 1:4.3.0-0ubuntu1 failed to install/upgrade:
  trying to overwrite '/usr/lib/libreoffice/program/libjdbclo.so', which
  is also in package libreoffice-base-drivers 1:4.3.0-0ubuntu1

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to