dpkg: error processing icedtea-gcjwebplugin

Bug #231748 reported by kulight
78
Affects Status Importance Assigned to Milestone
icedtea-gcjwebplugin (Ubuntu)
Invalid
High
Unassigned
Hardy
Fix Released
High
Unassigned

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)

Revision history for this message
rbmorse (rbmorse) wrote :

I see the same error on my Installation (Hardy) using Firefox 3B-05

Revision history for this message
badhorse (newbadhorse-deactivatedaccount) wrote :

Same error for me. Hardy Heron, Firefox 3 b5

kulight (kulight)
Changed in icedtea-gcjwebplugin:
status: New → Confirmed
Revision history for this message
Marco Teoli (marcoteo) wrote :

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

Revision history for this message
kulight (kulight) wrote :

thank you for the temp solution
i hope it will be fixed soon

Revision history for this message
Matthias Klose (doko) wrote :

proposed patch attached.

Changed in icedtea-gcjwebplugin:
importance: Undecided → High
milestone: none → ubuntu-8.04.1
status: Confirmed → In Progress
Revision history for this message
Steve Langasek (vorlon) wrote :

only affects the version in hardy-proposed, dropping the milestone and marking bug #211309 as 'verification-failed' instead.

Changed in icedtea-gcjwebplugin:
milestone: ubuntu-8.04.1 → none
status: In Progress → Invalid
importance: Undecided → High
status: New → In Progress
Revision history for this message
Steve Langasek (vorlon) wrote :

Accepted into -proposed, please test and give feedback here

Changed in icedtea-gcjwebplugin:
status: In Progress → Fix Committed
Revision history for this message
Steve Langasek (vorlon) wrote :

"fix released", actually, since this is a proposed-only regression.

Changed in icedtea-gcjwebplugin:
status: Fix Committed → Fix Released
Revision history for this message
ShadowMax76 (shadowmax76) wrote :

Updated successfully from 1.0-0ubuntu5 (Hardy) to 1.0-0ubuntu7 (Hardy-proposed)

...
The following packages will be upgraded:
  icedtea-gcjwebplugin
1 packages upgraded, 0 newly installed, 0 to remove and 29 not upgraded.
Need to get 65.7kB of archives. After unpacking 57.3kB will be used.
Do you want to continue? [Y/n/?] Y
Writing extended state information... Done
Get:1 http://ch.archive.ubuntu.com hardy-proposed/universe icedtea-gcjwebplugin 1.0-0ubuntu7 [65.7kB]
Fetched 65.7kB in 0s (215kB/s)
(Reading database ... 121732 files and directories currently installed.)
Preparing to replace icedtea-gcjwebplugin 1.0-0ubuntu5 (using .../icedtea-gcjwebplugin_1.0-0ubuntu7_i386.deb) ...
Unpacking replacement icedtea-gcjwebplugin ...
Setting up icedtea-gcjwebplugin (1.0-0ubuntu7) ...

Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done

Revision history for this message
Matt Neilson (ichthyoboy) wrote :

Second confirmation. I was able to successfully install this.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.