Issue 114196 - Missing dependencies when using unopkg in postinstall
Summary: Missing dependencies when using unopkg in postinstall
Alias: None
Product: Installation
Classification: Application
Component: code (show other issues)
Version: OOo 3.2.1
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2010-08-30 09:01 UTC by tserries
Modified: 2013-01-29 21:43 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description tserries 2010-08-30 09:01:58 UTC
I observed this issue on a Ubuntu system when installing OOo 3.2.1 (downloaded
from, not using the OpenOffice (Go-OO) shipped with Ubuntu.

The debian packages for the language support (e.g. openoffice.org3-dict-en) use
unopkg in postinst and prerm:

-- part of openoffice.org3-dict-en.postinst --
if [ -x "/opt/openoffice.org3/program/unopkg" ]; then
  "/opt/openoffice.org3/program/unopkg" add --shared --suppress-license
--bundled "/opt/openoffice.org3/share/extension/install/dict-en.oxt"
-- part of openoffice.org3-dict-en.postinst (end) --

As you can see (...
...) java is needed. But the control file of this package (and other packages)
miss to specify the appropriate dependency to ensure Java runtime is configured
when unopkg is run: "Pre-Depends: java-runtime"

The result is, that the configuration of these packages fails (>> 1.000 systems).
Comment 1 Olaf Felka 2010-08-30 09:44:15 UTC
@ jl: Please have a look.
Comment 2 joachim.lingner 2010-08-30 13:12:20 UTC
@is: Please take over.
Comment 3 2010-08-30 16:13:47 UTC
It is true, that unopkg looks for an installed Java. But Java is not needed by
every extension.  Only from reading the command line, you cannot recognize, if
an extension needs Java or not.

IS -> OF: You know, if the dictionaries in extensions need Java? Is it really
the missing Java, that causes this problem? Can you please verify this?
Comment 4 2010-08-30 16:14:11 UTC
cc'ing me
Comment 5 Olaf Felka 2010-11-16 13:16:04 UTC
@is: looks as it is true that dict oxts need java. I've seen that on a linux box
hosted by HDU.