Bug 61322 - : Dependency chain prevents installation of .desktop files
Summary: : Dependency chain prevents installation of .desktop files
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Installation (show other bugs)
Version:
(earliest affected)
4.0.0.3 release
Hardware: Other Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords: regression
Depends on:
Blocks:
 
Reported: 2013-02-23 01:10 UTC by Jose Gómez
Modified: 2013-02-26 19:12 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jose Gómez 2013-02-23 01:10:47 UTC
Problem description:
After installing libreoffice4, if I try to install the desktop integration, it will complain that it conflicts with libreoffice-core (the 3.6 version installed). I can't remove the libreoffice 3.6 package installed, as the "gnome" package has a dependency on either "libreoffice" or abiword. But libreoffice4 doesn't count towards satisfying that dependency. So, the only workaround is to uninstall the gnome package, in order to be able to uninstall libreoffice-core, and only then install libreoffice 4 desktop integration.

Steps to reproduce:
1. Install libreoffice 4
2. Try to install the desktop integration. An error will say that there is a conflict with libreoffice-core.
3A. If you force the installation, you get a broken package, and synaptic will not install any further update from that point onwards.
3B. If you try to uninstall libreoffice-core, the dependencies in the "gnome" package will force the installation of abiword, even though I already have a word processor installed (libreoffice4).

Current behavior:
It should be possible to install libreoffice 4 with desktop integration, without uninstalling the gnome package, or having to install abiword.

Expected behavior:
One is required to either uninstall the gnome package, to install abiword, or not to have the possibility of double clicking a file and opening it with libreoffice 4.

Possible solutions that I could think of:
- Provide as part of the libreoffice 4 installation an updated "libreoffice-core", that just points to the libreoffice4-core one.
- Fix the libreoffice4 desktop integration package so that there is no conflict with libreoffice-core. For example, renaming the package. This one would probably be more elegant, and it would allow having both libreoffice 3.6 and 4 installed and usable at the same time.
Operating System: Ubuntu
Version: 4.0.0.3 release
Last worked in: 3.6.5.2 release
Comment 1 Joel Madero 2013-02-26 18:45:13 UTC
Bjoern - adding you just because I think you'll have more insight about this one. Is this expected behavior?
Comment 2 Björn Michaelsen 2013-02-26 19:12:18 UTC
Not a bug in LibreOffice really. _If_ this would be a bug, it is one in Ubuntus packaging. Then again, installing third-party *.debs (as those from TDF) are not a supported scenarios (in fact cant be).

So if you want the convenience of automatic package management, stay with the official Ubuntu distro packages (or possibly: the PPA packages, even though there is no official support for those of course).