OpenOffice.org language packs pull in openoffice.org binaries

Bug #220817 reported by Shane Lazar
20
Affects Status Importance Assigned to Milestone
openoffice.org (Ubuntu)
Fix Released
High
Chris Cheney
Hardy
Fix Released
High
Chris Cheney

Bug Description

I noticed that Xubuntu Hardy comes with Abiword and Gnumeric as the default office applications. However, during the installation to the hard disk, ubiquity downloads and installs Open Office! I think this happens because ubiquity installs the language packs for the language selected which installs the dictionaries... which in turn installs Open Office. I hope this gets fixed before the final release.

I suppose some dependencies should be modified to make the Open Office dictionaries suggested or recommended packages instead of required ones.

Revision history for this message
Colin Watson (cjwatson) wrote :

It's probably getting pulled in via language-support-*; far too late to do anything about this for final, unfortunately.

Revision history for this message
Colin Watson (cjwatson) wrote :

Exactly which openoffice.org-* packages are being installed?

Revision history for this message
Colin Watson (cjwatson) wrote :
Download full text (3.6 KiB)

I think this is an apt bug. I debootstrapped a clean hardy chroot and installed some of the non-OOo dependencies of language-support-translations-en to reduce noise. Then:

root@sarantium:/# apt-get install language-support-translations-en
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libcurl3 libgstreamer-plugins-base0.10-0 libgstreamer0.10-0 libicu38 libneon27 libxaw7 libxslt1.1 libxtst6 openoffice.org-common openoffice.org-core openoffice.org-help-en-gb openoffice.org-help-en-us
  openoffice.org-l10n-common openoffice.org-l10n-en-gb openoffice.org-l10n-en-za openoffice.org-style-human ttf-opensymbol
Suggested packages:
  gnome-app-install libvisual-0.4-plugins gstreamer0.10-plugins gstreamer0.10-tools openoffice.org-style-hicontrast openoffice.org-style-industrial hunspell-dictionary-en-gb myspell-dictionary-en-gb
  openoffice.org-hyphenation-en-gb openoffice.org2-thesaurus-en-gb hunspell-dictionary-en-za myspell-dictionary-en-za openoffice.org-help-en-za openoffice.org-hyphenation-en-za openoffice.org2-thesaurus-en-za
The following NEW packages will be installed:
  language-support-translations-en libcurl3 libgstreamer-plugins-base0.10-0 libgstreamer0.10-0 libicu38 libneon27 libxaw7 libxslt1.1 libxtst6 openoffice.org-common openoffice.org-core
  openoffice.org-help-en-gb openoffice.org-help-en-us openoffice.org-l10n-common openoffice.org-l10n-en-gb openoffice.org-l10n-en-za openoffice.org-style-human ttf-opensymbol
0 upgraded, 18 newly installed, 0 to remove and 0 not upgraded.
Need to get 65.8MB of archives.
After this operation, 245MB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.
root@sarantium:/# apt-cache show language-support-translations-en | egrep 'Depends|Recommends'
Depends: gimp-help-en, openoffice.org-help-en-gb, openoffice.org-help-en-us, openoffice.org-l10n-en-gb, openoffice.org-l10n-en-za, thunderbird-locale-en-gb
root@sarantium:/# for x in openoffice.org-help-en-gb openoffice.org-help-en-us openoffice.org-l10n-en-gb openoffice.org-l10n-en-za; do apt-cache show "$x" | egrep 'Package|Depends|Recommends'; echo; done
Package: openoffice.org-help-en-gb
Depends: openoffice.org-l10n-en-gb, openoffice.org-writer | language-support-translations-en
Pre-Depends: dpkg (>= 1.14.12ubuntu3)
Recommends: openoffice.org-core (>> 1:2.4.0) | language-support-translations-en

Package: openoffice.org-help-en-us
Depends: openoffice.org-l10n-en-us, openoffice.org-writer | language-support-translations-en
Pre-Depends: dpkg (>= 1.14.12ubuntu3)
Recommends: openoffice.org-core (>> 1:2.4.0) | language-support-translations-en

Package: openoffice.org-l10n-en-gb
Depends: openoffice.org-common (>= 1:2.4.0) | language-support-translations-en, openoffice.org-common (<< 1:2.4.0.1) | language-support-translations-en, openoffice.org-l10n-common (>= 1:2.4.0)
Pre-Depends: dpkg (>= 1.14.12ubuntu3)
Recommends: openoffice.org-core (>> 1:2.4.0) | language-support-translations-en

Package: openoffice.org-l10n-en-za
Depends: openoffice.org-common (>= 1:2.4.0) | language-support-translations-en, openoffice....

Read more...

Revision history for this message
Matt Zimmerman (mdz) wrote :

In Colin's test case, I believe openoffice.org-common is installed due to:

lanuage-support-translations-en -> openoffice.org-thesaurus-en-au -> (openoffice.org-core | language-support-en)

Because neither openoffice.org-core or language-support-en is installed, apt chooses openoffice.org-core

Is there a better test case?

Revision history for this message
Chris Cheney (ccheney) wrote :

its caused by openoffice.org-help-en-us depending on openoffice.org-l10n-en-us which is provided by openoffice.org-common.

Changed in openoffice.org:
importance: Undecided → High
milestone: none → ubuntu-8.04.1
status: New → In Progress
Revision history for this message
Matt Zimmerman (mdz) wrote : Further analysis for the record...

The guilty dependency chain is:

language-support-en
 Depends: language-support-translations-en
  Depends: openoffice.org-help-en-us
   Depends: openoffice.org-l10n-en-us

openoffice.org-l10n-en-us is only provided by openoffice.org-common, which
pulls in the full oo.o stack.

--
 - mdz

Revision history for this message
Colin Watson (cjwatson) wrote : Re: Xubuntu Hardy: ubiquity installs Open Office during installation

The thesaurus packages will also need to be fixed, of course.

Revision history for this message
Eero Tamminen (oak-helsinkinet) wrote :

See also meta bug 114503 affecting Edgy, Feisty, Gutsy and Hardy.

Revision history for this message
Chris Cheney (ccheney) wrote :

This bug is harder than I had initially thought, it will require rewriting a bit of the control file generation code to specifically change the way it is done for openoffice.org-help-en-us. I will still try to get it corrected for 8.04.1 but may have to wait until the final upload in a couple weeks.

Chris

Package: openoffice.orgVER-help-@LCODE@
Architecture: all
Section: doc
Recommends: openoffice.orgVER-core (>> ${base-version}) | language-support-translations-@CCODE@
Depends: openoffice.orgVER-writer | language-support-translations-@CCODE@, openoffice.orgVER-l10n-@LCODE@
Conflicts: openoffice.org-common (<= 2.0.0-1),
 openoffice.org-core (<< ${base-version})
Provides: openoffice.org-help-${help-l10n-virtual-version}
Description: @LNAME@ help for OpenOffice.org
 OpenOffice.org is a full-featured office productivity suite that provides
 a near drop-in replacement for Microsoft(R) Office.
 .
 This package contains the help of OpenOffice.org in
 @LNAME@.

Colin Watson (cjwatson)
Changed in openoffice.org:
assignee: nobody → ccheney
Revision history for this message
Steve Langasek (vorlon) wrote :

Chris, what's the current status of this bug? Are you still targeting 8.04.1?

Given that OOo is not on the Xubuntu CDs there is no hard requirement that this be fixed for .1, but of course it would be nice for users who install Ubuntu 8.04.1 to not immediately see OOo updates available for download.

Changed in openoffice.org:
assignee: nobody → ccheney
importance: Undecided → High
milestone: none → ubuntu-8.04.1
status: New → In Progress
milestone: ubuntu-8.04.1 → none
Revision history for this message
Shane Lazar (drsjlazar) wrote :

i think this should be fixed for 8.04.1 more for Xubuntu than for Ubuntu because during a Xubuntu installation a total of about 80MB of packages has to be downloaded and installed. This cannot be disregarded as many still have bandwidth limitations. and in the absence of an internet connection during the installation, i suppose there would be problems with localization settings due dependency issues. Its not such a minor bug.

Revision history for this message
Chris Cheney (ccheney) wrote :

Steve,

Yes, I am going through all my bugmail backlog right now to get a list of what I need to fix in the final 2.4.1 upload for 8.04.1. I just got back from vacation late on June 1 so haven't had a chance to get everything sorted yet. The final 2.4.1 upload should be by June 10. I don't think that the OOo code is going to change anymore (aiui just a rename of 2.4.1 rc2) but they have scheduled it for next week.

Thanks,

Chris Cheney

Chris Cheney (ccheney)
Changed in openoffice.org:
status: In Progress → Triaged
status: In Progress → Triaged
Revision history for this message
Colin Watson (cjwatson) wrote :

Apparently this is still not fixed, neither in hardy-proposed nor in intrepid, although the 2.4.1 upload did happen on schedule. Chris, what's happening here?

Revision history for this message
Chris Cheney (ccheney) wrote :

I have another upload to do in the next day or so to fix the gnome/kde crashes and will be attempting to fix the language pack issue at the same time.

Chris

Revision history for this message
Steve Langasek (vorlon) wrote :

We'll continue moving forward with this as an SRU, but as mentioned earlier it doesn't affect generation of the actual Xubuntu ISO images so I'm not going to compromise the point release schedule for this update. It would still be best to have this on the Ubuntu/Kubuntu ISOs if possible, to reduce the post point-release downloading required, but that requires an upload today and very quick SRU verification.

Changed in openoffice.org:
milestone: ubuntu-8.04.1 → none
Revision history for this message
Chris Cheney (ccheney) wrote :

I have a fix for this already, I will try to get it uploaded by the end of the day (8hr from now), there are several other fixes in this same upload including the fix for the gnome/kde crashers, etc.

Chris

Revision history for this message
Steve Langasek (vorlon) wrote :

Accepted into -proposed, please test and give feedback here. Please see https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in openoffice.org:
status: Triaged → Fix Committed
Revision history for this message
Henrik Nilsen Omma (henrik) wrote :

I wasn't able to verify this. I did the following:

* On a standard Hardy server install I tried to install language-support-en, which in turn offered to pull in OpenOffice.

* I enabled -proposed and installed the updates, then tried installing language-support-en again

--> I was still offered to install openoffice

Revision history for this message
Chris Cheney (ccheney) wrote :

Henrik,

Make sure that the language packs are updated to 1:2.4.1-1ubuntu2 as well during your testing. There are some other packages besides just openoffice.org/openoffice.org-l10n source that will be needed to completely solve this problem (some individually OOo dictionary packages iirc), but the part of the problem caused by the openoffice.org-l10n source should be fixed now.

Chris

Revision history for this message
Henrik Nilsen Omma (henrik) wrote :

... Tried again:

* Booted a Xubuntu Live CD
* Enabled -updates and -proposed
* Installed with US locale
--> No OpenOffice installed!

Revision history for this message
Chris Cheney (ccheney) wrote :

Henrik,

I just reenabled hardy-proposed on my machine fully upgraded and then removed openoffice.org and it worked fine for me. The only packages left installed were:

ii openoffice.org-help-en-gb 1:2.4.1-1ubuntu2 English_british help for OpenOffice.org
ii openoffice.org-help-en-us 1:2.4.1-1ubuntu2 English_american help for OpenOffice.org
ii openoffice.org-l10n-common 1:2.4.1-1ubuntu2 common files for OpenOffice.org language and
ii openoffice.org-l10n-en-gb 1:2.4.1-1ubuntu2 English_british language package for OpenOff
ii openoffice.org-l10n-en-za 1:2.4.1-1ubuntu2 English_southafrican language package for Op

Which are intended to be left behind.

So any problems left are probably package manager issues?

Chris

Revision history for this message
Chris Cheney (ccheney) wrote :

Henrik,

Just saw your last message. Great to see it works now! :-)

Chris

Revision history for this message
Shane Lazar (drsjlazar) wrote :

Thank you all for fixing this! I really appreciate it.

Revision history for this message
Steve Langasek (vorlon) wrote :

copied to hardy-updates.

Changed in openoffice.org:
status: Fix Committed → Fix Released
Revision history for this message
Steve Langasek (vorlon) wrote :

and copied to intrepid.

Changed in openoffice.org:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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