Apache OpenOffice (AOO) Bugzilla – Issue 114196
Missing dependencies when using unopkg in postinstall
Last modified: 2013-01-29 21:43:47 UTC
I observed this issue on a Ubuntu system when installing OOo 3.2.1 (downloaded from www.openoffice.org), 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" "-env:UserInstallation=file:///$INSTDIR" '-env:UNO_JAVA_JFW_INSTALL_DATA=$OOO_BASE_DIR/share/config/javasettingsunopkginstall.xml' '-env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1' -- part of openoffice.org3-dict-en.postinst (end) -- As you can see (... '-env:UNO_JAVA_JFW_INSTALL_DATA=$OOO_BASE_DIR/share/config/javasettingsunopkginstall.xml' ...) 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).
@ jl: Please have a look.
@is: Please take over.
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?
cc'ing me
@is: looks as it is true that dict oxts need java. I've seen that on a linux box hosted by HDU.