[Bug 512546] Re: make-jpkg created deb fails to install for sun-j2re1.6

michael37 misha37 at yahoo.com
Thu Feb 4 15:34:49 UTC 2010

Using java-package 0.42 in Ubuntu 9.10 to create deb to install Sun jre

It fails sooner for me.

$ sudo dpkg -i sun-j2re1.6_1.6.0+update18_amd64.deb
Selecting previously deselected package sun-j2re1.6.
(Reading database ... 241813 files and directories currently installed.)
Unpacking sun-j2re1.6 (from sun-j2re1.6_1.6.0+update18_amd64.deb) ...
Setting up sun-j2re1.6 (1.6.0+update18) ...
update-alternatives: using /usr/lib/j2re1.6-sun/bin/ControlPanel to provide /usr/bin/ControlPanel (ControlPanel) in auto mode.
update-alternatives: warning: skip creation of /usr/share/man/man1/ControlPanel.1.gz because associated file /usr/lib/j2re1.6-sun/man/man1/ControlPanel.1.gz (of link group ControlPanel) doesn't exist.
update-alternatives: error: alternative path /usr/lib/j2re1.6-sun/plugin/amd64/ns4/libjavaplugin.so doesn't exist.
dpkg: error processing sun-j2re1.6 (--install):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:

In addition to producing this error, I am using Firefox 3.6.  Due to changes in Firefox 3.6, NPAPI version of the plugin is required.  Which means I have to use /usr/lib/j2re1.6-sun/lib/amd64/libnpjp2.so instead of /usr/lib/j2re1.6-sun/lib/amd64/libjavaplugin_jni.so.

make-jpkg created deb fails to install  for sun-j2re1.6
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com

More information about the universe-bugs mailing list