package sun-java5-jre None [modified: /var/lib/dpkg/info/sun-java5-jre.list] failed to install/upgrade: subprocess pre-installation script returned error exit status 1

Bug #365328 reported by cafecumberland
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sun-java5 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

1 Open the Synaptic Package Manager: System->Administration->Synaptic Package Manager
2 Search for 'sun-java'
3 Mark the 'sun-java5-bin' for installation, and allow all other necessary packages to be installed
4 Apply the changes to install Java5

I got the error shown in the summary.
I expected the installation to complete without error.

I went back to synaptic and clicked Apply again and the installation completed.

I'm using Ubuntu 8.10 64 bit.

ProblemType: Package
Architecture: amd64
Dependencies:

DistroRelease: Ubuntu 8.10
ErrorMessage: subprocess pre-installation script returned error exit status 1
NonfreeKernelModules: nvidia
Package: sun-java5-jre None [modified: /var/lib/dpkg/info/sun-java5-jre.list]
PackageArchitecture: all
SourcePackage: sun-java5
Title: package sun-java5-jre None [modified: /var/lib/dpkg/info/sun-java5-jre.list] failed to install/upgrade: subprocess pre-installation script returned error exit status 1
Uname: Linux 2.6.27-11-generic x86_64

Revision history for this message
cafecumberland (cafecumberland) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote :

From the log file it doesn't look like you accepted the license for the package. Could you try reinstalling it and accepting the license this time? Thanks in advance.

Log started: 2009-04-22 16:53:17
Selecting previously deselected package java-common.
(Reading database ... 117838 files and directories currently installed.)
Unpacking java-common (from .../java-common_0.30ubuntu3_all.deb) ...
Selecting previously deselected package sun-java5-jre.
Unpacking sun-java5-jre (from .../sun-java5-jre_1.5.0-16-3_all.deb) ...
user did not accept the sun-dlj-v1-1 license
dpkg: error processing /var/cache/apt/archives/sun-java5-jre_1.5.0-16-3_all.deb (--unpack):
 subprocess pre-installation script returned error exit status 1

Changed in sun-java5 (Ubuntu):
status: New → Incomplete
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 303609, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

Changed in sun-java5 (Ubuntu):
status: Incomplete → Confirmed
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.