← Back to team overview

desktop-packages team mailing list archive

[Bug 615168] Re: Endless stream of repair dialogs after declining sun-java6-plugin EULA

 

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

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to software-center in Ubuntu.
https://bugs.launchpad.net/bugs/615168

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

Status in “software-center” package in Ubuntu:
  In Progress

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".

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/615168/+subscriptions