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

Bug #1357700 reported by Matt Freyer
98
This bug affects 16 people
Affects Status Importance Assigned to Milestone
LibreOffice
Won't Fix
Medium
libreoffice (Ubuntu)
Fix Released
Critical
Björn Michaelsen

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)

Revision history for this message
Matt Freyer (mattfreyer45) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in libreoffice (Ubuntu):
status: New → Confirmed
Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote :

FWIW, a temporary workaround for those affectedshould be to first completely uninstall libreoffice and then install the new version.

Revision history for this message
LAZA (laza74) wrote :

Thanks for the hint, Björn, but surprisingly it worked by upgrading the packages in Synaptics without further complications.

Steve Langasek (vorlon)
Changed in libreoffice (Ubuntu):
importance: Undecided → Critical
assignee: nobody → Björn Michaelsen (bjoern-michaelsen)
Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote :
Changed in libreoffice (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Björn Michaelsen (bjoern-michaelsen) wrote :
Changed in libreoffice (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
In , Ian Samson (iansamson3) wrote :

Problem description:

E: libreoffice-base: dependency problems - leaving unconfigured
E: libreoffice-report-builder-bin: dependency problems - leaving unconfigured
E: libreoffice: dependency problems - leaving unconfigured

Steps to reproduce:
1. Synaptic Broken Dependencies
2. ....
3. ....

Current behavior: Above parts not working

 1:4.3.0-3ubuntu2~) and is installed.
  Version of libreoffice-base to be configured is 1:4.3.0-0ubuntu1~precise1.
dpkg: error processing libreoffice-base (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libreoffice-report-builder-bin:
 libreoffice-report-builder-bin depends on libreoffice-base; however:
  Package libreoffice-base is not configured yet.
dpkg: error processing libreoffice-report-builder-bin (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libreoffice
 libreoffice-base
 libreoffice-report-builder-bin

Expected behavior: Above parts should work

Operating System: Debian
Version: 4.3.0.4 release
Last worked in: 4.2.6.2 release

Revision history for this message
In , julien2412 (serval2412-6) wrote :

According to the description , rather installation problem than Basic language (Macro, etc.) pb

However, I don't understand the title, at least don't see the relation with the description.
Could you explain?

Revision history for this message
In , Ian Samson (iansamson3) wrote :

Do I reply here? I'm not familiar with this program. Something is not
working right, just a variation using my humour. Obviously no one picked up
on it. According to the problem, as shown in the bug report. How do I alter
the subject line?

* Ian D. Samson <email address hidden>*
VHS2DVD <http://www.lp2cd.za.net/>
@DVDwizz <https://twitter.com/DVDwizz>

*FAX NUMBER: 086 229 3471*

------------------------------

*Confidentiality Notice*: This message, together with its attachments (if
any), contains strictly confidential information and is intended only for
the addressee(s) identified above ONLY; who is/are the sole party(ies)
authorised to use it and, assuming any related liability, and may *NOT *forward
it to others without written permission of the *this author.* Anyone
receiving this message by mistake or reading it without authorisation is
hereby notified that storage, reproduction, disclosure or distribution of
the message to persons other than the addressee(s) is strictly prohibited
by law. They are asked to return the message immediately to the sender (for
culpability under SA LAW, the Constitution of the Republic of South Africa,
and the Bill of RIGHTS under South African LAW) and to immediately,
permanently, and *irretrievably delete* the original message received.
Thank you

On 20 August 2014 13:10, <email address hidden> wrote:

> Julien Nabet <email address hidden> changed bug 82861
> <https://bugs.freedesktop.org/show_bug.cgi?id=82861>
> What Removed Added Status UNCONFIRMED NEEDINFO CC <email address hidden>
> Component BASIC Installation Ever confirmed 1
>
> *Comment # 1 <https://bugs.freedesktop.org/show_bug.cgi?id=82861#c1> on
> bug 82861 <https://bugs.freedesktop.org/show_bug.cgi?id=82861> from Julien
> Nabet <email address hidden> *
>
> According to the description , rather installation problem than Basic language
> (Macro, etc.) pb
>
> However, I don't understand the title, at least don't see the relation with the
> description.
> Could you explain?
>
> ------------------------------
> You are receiving this mail because:
>
> - You reported the bug.
>
>

Revision history for this message
In , Ian Samson (iansamson3) wrote :

Whenever I run Synaptic Package Manager, there are broken dependancies that it cannot fix, not even with a reinstall. Therefore I am downloading the entire 4.3.0 deb.tar.gz again and will install it manually from the terminal.

Revision history for this message
In , julien2412 (serval2412-6) wrote :

I don't use Synaptics but use Debian testing on x86-64.

I just runned apt-get update && apt-get dist-upgrade (ok, I should use apt-get upgrade) these last days as usual and I've got now 4.3.0 (instead of 4.2.6)

For the test, could you try this:
apt-get check && apt-get update
?
Then try to install with command line.

Revision history for this message
In , Ian Samson (iansamson3) wrote :

Okay, MID-AIR COLLISION averted - removed entire package using "apt-get remove libre*" then did apt-get update && apt-get upgrade to ensure it wasn't downloading something it should not, it did not.

In the meanwhile, the download of LibreOffice 4.3.0.4 had completed, so I used tar -xvf on the .gz file to unzip, but had to use dpkg -i *.deb to install as the graphical version would not do it for me.

It was apt-get upgrade that made the mess of everything in the first place.

Pleased to report that everything is now working as it should.

Please close the bug report.
Thank you.

Revision history for this message
In , julien2412 (serval2412-6) wrote :

Thank you for your feedback, I put it as WFM.

Revision history for this message
In , Ian Samson (iansamson3) wrote :

Resolved as per previous message. However, I ran apt-get upgrade and received this list of messages:

No diversion 'diversion of /usr/lib/libreoffice/share/basic/dialog.xlc to /usr/lib/libreoffice/share/basic/dialog.xlc.noaccess by libreoffice-base', none removed.
No diversion 'diversion of /usr/lib/libreoffice/share/basic/script.xlc to /usr/lib/libreoffice/share/basic/script.xlc.noaccess by libreoffice-base', none removed.
/var/lib/dpkg/info/libreoffice-base.postrm: 31: /var/lib/dpkg/info/libreoffice-base.postrm: Syntax error: end of file unexpected (expecting "fi")
dpkg: error processing libreoffice-base (--remove):
 subprocess installed post-removal script returned error exit status 2
Errors were encountered while processing:
 libreoffice-base
E: Sub-process /usr/bin/dpkg returned an error code (1)

Does this mean the repository is buggy? Where's the problem, on my machine or with the repository?

I have three machines running LibreOffice 4.3.0.4 and I get similar errors on all 3 of them.

Revision history for this message
In , julien2412 (serval2412-6) wrote :

Are you on Debian or on Ubuntu?
Could you copy paste the content of /etc/apt/sources.lst?

Revision history for this message
In , Ian Samson (iansamson3) wrote :
Download full text (3.2 KiB)

Julien, Lubuntu's LXLE is installed on my 3 machines. Here's the sources.list

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu precise main restricted
deb-src http://archive.ubuntu.com/ubuntu precise main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu precise-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu precise-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu precise universe
deb-src http://archive.ubuntu.com/ubuntu precise universe
deb http://archive.ubuntu.com/ubuntu precise-updates universe
deb-src http://archive.ubuntu.com/ubuntu precise-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://archive.ubuntu.com/ubuntu precise multiverse
deb-src http://archive.ubuntu.com/ubuntu precise multiverse
deb http://archive.ubuntu.com/ubuntu precise-updates multiverse
deb-src http://archive.ubuntu.com/ubuntu precise-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu precise-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu precise-backports main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu precise-security main restricted
deb-src http://archive.ubuntu.com/ubuntu precise-security main restricted
deb http://archive.ubuntu.com/ubuntu precise-security universe
deb-src http://archive.ubuntu.com/ubuntu precise-security universe
deb http://archive.ubuntu.com/ubuntu precise-security multiverse
deb-src http://archive.ubuntu.com/ubuntu precise-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu precise partner
# deb-src http://archive.canonical.com/ubuntu precise partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu precise main
deb http://archive.ubuntu.com/ubuntu precise-proposed restricted main multiverse universe
# deb-src http://extras.ubuntu.com/ubuntu precise main
deb http://ppa.launchpad.net/michael-gruz/canon-trunk/ubunt...

Read more...

Revision history for this message
In , julien2412 (serval2412-6) wrote :

Bjoern/Rene: if it's a dependency problem on K/L/Ubuntu I daresay "NOTOURBUG", what do you think?

Revision history for this message
In , Björn Michaelsen (bjoern-michaelsen) wrote :

Thats lp#1357700 which should now be fixed on both Ubuntu and Debian.

Revision history for this message
In , Ian Samson (iansamson3) wrote :

apt-get upgrade gives these errors:

Removing libreoffice-base ...
No diversion 'diversion of /usr/lib/libreoffice/share/basic/dialog.xlc to /usr/lib/libreoffice/share/basic/dialog.xlc.noaccess by libreoffice-base', none removed.
No diversion 'diversion of /usr/lib/libreoffice/share/basic/script.xlc to /usr/lib/libreoffice/share/basic/script.xlc.noaccess by libreoffice-base', none removed.
/var/lib/dpkg/info/libreoffice-base.postrm: 31: /var/lib/dpkg/info/libreoffice-base.postrm: Syntax error: end of file unexpected (expecting "fi")
dpkg: error processing libreoffice-base (--remove):
 subprocess installed post-removal script returned error exit status 2
Errors were encountered while processing:
 libreoffice-base
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
In , Björn Michaelsen (bjoern-michaelsen) wrote :

(In reply to comment #12)
> apt-get upgrade gives these errors:
>
> Removing libreoffice-base ...
> No diversion 'diversion of /usr/lib/libreoffice/share/basic/dialog.xlc to
> /usr/lib/libreoffice/share/basic/dialog.xlc.noaccess by libreoffice-base',
> none removed.
> No diversion 'diversion of /usr/lib/libreoffice/share/basic/script.xlc to
> /usr/lib/libreoffice/share/basic/script.xlc.noaccess by libreoffice-base',
> none removed.
> /var/lib/dpkg/info/libreoffice-base.postrm: 31:
> /var/lib/dpkg/info/libreoffice-base.postrm: Syntax error: end of file
> unexpected (expecting "fi")
> dpkg: error processing libreoffice-base (--remove):
> subprocess installed post-removal script returned error exit status 2
> Errors were encountered while processing:
> libreoffice-base
> E: Sub-process /usr/bin/dpkg returned an error code (1)

Thats a different issue: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1354557
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1354557

Changed in df-libreoffice:
importance: Unknown → Medium
status: Unknown → Won't Fix
Revision history for this message
In , Björn Michaelsen (bjoern-michaelsen) wrote :

*** Bug 82806 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Björn Michaelsen (bjoern-michaelsen) wrote :

*** Bug 82899 has been marked as a duplicate of this bug. ***

Revision history for this message
In , julien2412 (serval2412-6) wrote :

*** Bug 82965 has been marked as a duplicate of this bug. ***

Revision history for this message
Jan Martinec (o-launchpad-piskvor-org) wrote :

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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.