← Back to team overview

openjdk team mailing list archive

[Bug 231748] Re: dpkg: error processing icedtea-gcjwebplugin

 

I have the same configuration and I can replicate the error with the package icedtea-gcjwebplugin, version "1.0-ubuntu6 (hardy-proposed)"
This error is shown any time the subprocess post-installation script runs (~ for any other package installed/removed).
It disappears removing the package or installing other versions.

I think this line of the error message shows the problem source:
update-alternatives: unable to make /usr/lib/midbrowser/plugins/libjavaplugin.so.dpkg-tmp a symlink to /etc/alternatives/midbrowser-javaplugin.so: No such file or directory

Infact, the directory /usr/lib/midbrowser/ does not exist, and the same is true for the file "midbrowser-javaplugin.so"
I don't know the correct path, nor the correct alternative to set.
It seems there's a problem in the way the package has been made; I think anyone could see the same error installing the version "1.0-ubuntu6 (hardy-proposed)".

If you need this package, you should try this workaround: downgrade icedtea-gcjwebplugin to version "1.0-ubuntu5 (hardy)".
To downgrade, you have to:
1) select the package icedtea-gcjwebplugin from synaptic
2) package -> force version -> 1.0-ubuntu5 (hardy)
3) apply
The update manager will probably notify the newer version again and again: if you update the package to the *ubuntu6*proposed version again, you will came back to the same, boring error. To avoid the update, until it will be fixed, you could do:
- package -> lock version
The package will appear as a "pinned" item.

I hope some maintainer will fix this error soon.

Good luck,
Marco

-- 
dpkg: error processing icedtea-gcjwebplugin
https://bugs.launchpad.net/bugs/231748
You received this bug notification because you are a member of OpenJDK,
which is subscribed to icedtea-gcjwebplugin in ubuntu.

Status in Source Package "icedtea-gcjwebplugin" in Ubuntu: Confirmed

Bug description:
Binary package hint: icedtea-gcjwebplugin

it wont install 

here is the log i get:

 sudo apt-get upgrade 
[sudo] password for kulight: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up icedtea-gcjwebplugin (1.0-0ubuntu6) ...
update-alternatives: unable to make /usr/lib/midbrowser/plugins/libjavaplugin.so.dpkg-tmp a symlink to /etc/alternatives/midbrowser-javaplugin.so: No such file or directory
dpkg: error processing icedtea-gcjwebplugin (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 icedtea-gcjwebplugin
E: Sub-process /usr/bin/dpkg returned an error code (1)



References