package sun-java6-doc 6-14-0ubuntu1.9.04 failed to install/upgrade: subprocess post-installation script returned error exit status 1

Bug #438994 reported by Matthew
44
This bug affects 9 people
Affects Status Importance Assigned to Milestone
sun-java6 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Ubuntu release 9.04
I expected the Sun Java 6 documentation to be installed.
It was not installed.
What bugs me now is that every time I try and install something the install process is held up by the installer attempting to install the Java 6 docs and failing. How do I get this blockage removed?

ProblemType: Package
Architecture: i386
Dependencies:
 libgcc1 1:4.3.3-5ubuntu4
 gcc-4.3-base 4.3.3-5ubuntu4
 unzip 5.52-12ubuntu1
 findutils 4.4.0-2ubuntu4
 libc6 2.9-4ubuntu6.1
DistroRelease: Ubuntu 9.04
ErrorMessage: subprocess post-installation script returned error exit status 1
Package: sun-java6-doc 6-14-0ubuntu1.9.04
PackageArchitecture: all
SourcePackage: sun-java6
Title: package sun-java6-doc 6-14-0ubuntu1.9.04 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Uname: Linux 2.6.28-15-generic i686

Revision history for this message
Matthew (mshalorne) wrote :
Revision history for this message
Jaromir Obr (jaromir-obr) wrote :

I can confirm it with Ubuntu 9.10:
----------------------------------------
sudo apt-get install sun-java6-doc
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  sun-java6-doc
........
This package is an installer package, it does not actually contain the
JDK documentation. You will need to go download one of the
archives:

    jdk-6u10-docs.zip jdk-6u10-docs-ja.zip

(choose the non-update version if this is the first installation).
Please visit

    http://java.sun.com/javase/downloads/

now and download. The file should be owned by root.root and be copied
to /tmp.

[Press RETURN to try again, 'no' + RETURN to abort]
------------------------------

If you press Enter, the info is repeated on stdout. If you type "no + Enter", installer fails:
-----------------
[Press RETURN to try again, 'no' + RETURN to abort] no
Abort installation of JDK documentation
dpkg: error processing sun-java6-doc (--configure):
 subprocess installed post-installation script returned error exit status 1
E: Sub-process /usr/bin/dpkg returned an error code (1)
-----------------

I think it shouldn't fail, it should be finished without error even in case of "no+Enter".

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-java6 (Ubuntu):
status: New → 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.