This bug is fixed in oneiric (and probably previous Ubuntu release) in this package version:
Package: sun-java6-plugin Version: 6.26-1oneiric1
The postinst script /var/lib/dpkg/info/sun-java6-plugin.postinst only deals with the libnpjp2.so plugin.
This bug is fixed in oneiric (and probably previous Ubuntu release) in this package version:
Package: sun-java6-plugin
Version: 6.26-1oneiric1
The postinst script /var/lib/ dpkg/info/ sun-java6- plugin. postinst only deals with the libnpjp2.so plugin.