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 Desktop
Packages, which is subscribed to libreoffice in 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
Status in LibreOffice Productivity Suite:
Won't Fix
Status in “libreoffice” package in Ubuntu:
Fix Released
Bug description:
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
ProblemType: Package
DistroRelease: Ubuntu 14.10
Package: libreoffice-base 1:4.3.0-0ubuntu1
Uname: Linux 3.16.0-031600rc6-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.5-0ubuntu4
Architecture: amd64
Date: Sat Aug 16 07:49:44 2014
DuplicateSignature: package:libreoffice-base:1:4.3.0-0ubuntu1:trying to
overwrite '/usr/lib/libreoffice/program/libjdbclo.so', which is also in package
libreoffice-base-drivers 1:4.3.0-0ubuntu1
ErrorMessage: trying to overwrite
'/usr/lib/libreoffice/program/libjdbclo.so', which is also in package
libreoffice-base-drivers 1:4.3.0-0ubuntu1
InstallationDate: Installed on 2014-06-17 (59 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
SourcePackage: libreoffice
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
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1357700/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp