Package: openoffice.org-gcj
Verion: 2.0.2-1
I tried to install 'openoffice.org' today, and every package installed
fine except for this one:
Setting up openoffice.org-gcj (2.0.2-1) ...
/var/lib/dpkg/info/openoffice.org-gcj.postinst: line 7:
/usr/lib/jvm/java-gcj/bin/gcj: No such file or directory
find: /usr/share/gcj-: No such file or directory
java.io.IOException: cannot create temporary file
at java.io.File.createTempFile(java.lang.String, java.lang.String,
java.io.File) (/usr/lib/libgcj.so.6.0.0)
at gnu.java.lang.MainThread.call_main() (/usr/lib/libgcj.so.6.0.0)
at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)
openoffice.org-gcj: error merging classmaps
dpkg: error processing openoffice.org-gcj (--configure):
subprocess post-installation script returned error exit status 1
Reading through the postinstall script, I see that it runs:
gcjversion=`/usr/lib/jvm/java-gcj/bin/gcj --version | head -n 1 | awk '{ print $3; }' |
cut -d"." -f1,2`
My system did not have this binary installed. Not knowing the intricacies
of Debian-ified Java and Openoffice.org, I couldn't have guessed what the
exact problem was. Looking at the contents of the directory it was
looking in, I was able to find (dpkg -L) the package 'java-gcj-compat'.
Searching for related packages, I found another package called
'java-gcj-compat-dev'. On a guess, I "aptitude install
java-gcj-compat-dev", the above missing binary was symlinked to, and
'openoffice.org-gcj' configured itself sucessfully. The install of
'java-gcj-compat-dev' triggered a set of other packages to install:
antlr ecj-bootstrap ecj-bootstrap-gcj gjdoc
Any of these could have created the symlink.
I think the dependency for "openoffice.org-gcj" needs to be updated to
ensure whatever package created this symlink. Alternatively, perhaps a
package that you do depend on *did not* create the symlink as it was
supposed to. Either way, it was a problem for me.
-- Charles Wilcox
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]