Endless stream of repair dialogs after declining sun-java6-plugin EULA

Bug #615168 reported by AJenbo
44
This bug affects 7 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Invalid
High
Unassigned
Oneiric
Invalid
High
Unassigned
sun-java6 (Ubuntu)
Invalid
High
Brian Thomason
Oneiric
Invalid
High
Brian Thomason

Bug Description

software-center trunk r2269, Ubuntu 11.10 beta 1

Installer crashes when installing sun-java6-plugin if software center is closed before displaying the license dialog.

1 Enable partner sources.
2 Start the installation of sun-java6-plugin
3. When the "Configuring sun-java6-jre" dialog appears, click "Forward" *without* first clicking "Do you accept the DLJ license terms?".

What happens:
* Two error dialogs appear.
* An "Items cannot be installed or removed until the package catalogue is repaired" dialog appears.
* Another "Items cannot be installed or removed until the package catalogue is repaired" dialog appears on top of it.
* For as long as you click "Repair" in these dialogs, they keep appearing.
* Even trying to remove sun-java6-plugin from USC doesn't work.

What should happen:
* Either zero or one error dialog appears.
* The package is not left part-installed in the first place.

Workaround: Close USC. Then at a terminal, enter the command "sudo apt-get remove sun-java6-plugin".

Revision history for this message
Matthew Paul Thomas (mpt) wrote :

The symptoms are different now, but this bug is still present and nasty.

Changed in software-center (Ubuntu):
importance: Undecided → High
status: New → Triaged
description: updated
summary: - Crash on sun-java6-plugin install if close before dialog appears
+ Endless stream of repair dialogs after declining sun-java6-plugin EULA
description: updated
Revision history for this message
Michael Vogt (mvo) wrote :

The problem here is that:
- sun-java6-plugin does not have a license prompt
- sun-java6-bin has one

sun-java6-plugin is unpacked, then sun-java6-bin. The later asks in its preinst script for the license, that
is declined. The -bin package is not installed (correctly). But the sun-java6-plugin package is unpacked and
the system wants to fix -plugin by installing -bin which will fail because the user declined the license.

The easiest fix is to ask in -plugins for the license as well to ensure if the user does not accept it, he/she
will not have -plugins unpacked on the system. I attach a patch for this.

Changed in software-center (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Michael Vogt (mvo) wrote :
Michael Vogt (mvo)
Changed in sun-java6 (Ubuntu):
status: New → In Progress
importance: Undecided → High
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "debdiff with a propoesed fix" of this bug report has been identified as being a patch in the form of a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Michael Terry (mterry) wrote :

Unsubscribing sponsors, as this is in the partners repository.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "debdiff with a propoesed fix" of this bug report has been identified as being a patch in the form of a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: rls-mgr-o-tracking
Revision history for this message
Steve Langasek (vorlon) wrote :

sounds like we need to fix this in sun-java6, not in software-center.

Changed in software-center (Ubuntu Oneiric):
status: In Progress → Won't Fix
Changed in sun-java6 (Ubuntu Oneiric):
assignee: nobody → Brian Thomason (brian-thomason)
Changed in software-center (Ubuntu):
status: In Progress → Opinion
status: Opinion → Invalid
Changed in software-center (Ubuntu Oneiric):
status: Won't Fix → Invalid
Revision history for this message
Estevam Henrique Portela Mota e Silva (estevamota) wrote :

Why sun-java6-plugin is not available? I need to access my bank's requirement java plugin used in navigation.
If you want to test the link: https://www2.bancobrasil.com.br/aapf/login.jsp?aapf.IDH=sim&perfil=1
Before NATTY version is working perfectly in sun-java6-plugin and java plugin opens the regular bank ..

root@ti11-ntbk:~# apt-cache search sun-java6
sun-java6-jre - Sun Java(TM) Runtime Environment (JRE) 6 (architecture independent files)
sun-java6-jdk - Sun Java(TM) Development Kit (JDK) 6
sun-java6-bin - Sun Java(TM) Runtime Environment (JRE) 6 (architecture dependent files)
root@ti11-ntbk:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu oneiric (development branch)
Release: 11.10
Codename: oneiric
root@ti11-ntbk:~#

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

sun-java6 is no longer in the partner repository for Oneiric, as Oracle changed the licensing terms and we no longer have access to a version that can de redistributed.

Closing this bug as there is nothing to do.

Changed in sun-java6 (Ubuntu):
status: In Progress → Invalid
Changed in sun-java6 (Ubuntu Oneiric):
status: In Progress → Invalid
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.