can't install java doc jdk-6u10-doc

Bug #387825 reported by ssb
This bug report is a duplicate of:  Bug #85969: Java Docs Package Won't Install. Edit Remove
26
This bug affects 6 people
Affects Status Importance Assigned to Milestone
sun-java6 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

i

ProblemType: Package
Architecture: amd64
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
DistroRelease: Ubuntu 9.04
ErrorMessage: il sottoprocesso post-installation script ha restituito un codice di errore 1
NonfreeKernelModules: nvidia
Package: sun-java6-doc 6-13-1
PackageArchitecture: all
SourcePackage: sun-java6
Title: package sun-java6-doc 6-13-1 failed to install/upgrade: il sottoprocesso post-installation script ha restituito un codice di errore 1
Uname: Linux 2.6.28-11-generic x86_64

Revision history for this message
ssb (ssb-live-it) wrote :
Revision history for this message
am_public (am-public) wrote :

Thanks for the bug report. Have you followed the instruction of dpkg for the installation of java doc? I copy from your dpkg log.

[Press RETURN to try again, 'no' + RETURN to abort]
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.

summary: - java
+ can't install java doc jdk-6u10-doc
Changed in ubuntu:
status: New → Incomplete
Revision history for this message
ruediix@gmail.com (ruedii) wrote :

This is the exact issue that is affecting me as well.

Additionally it will not deinstall until the install script runs properly.

Here is my analysis of what is happening:

1, The installs script looks for the java documentation package from the Sun Website in the temporary directory.

2. It does not find it.

3. The user decides not to install and types "no" on the retry, rather than going to the website and fetching the documentation. They presume this will cause the package to cancel installation, as it should.

4. Instead the package, for an unknown reason (bug?) reports itself as half-installed.

5. Additionally for unknown reasons (bug?) The package also refuses to uninstall from this half-installed state.

The easiest solution would be to replace the whole package with an auto-downloader similar to that used for the other Java Packages, which requires you to agree to the license agreement in a box or a text mode "yes/no" depending on your DebConf mode.

If this can't be worked out with Sun, fixing the bugs in 4 and 5 should be suitable enough.

Revision history for this message
ruediix@gmail.com (ruedii) wrote :

To further clarify my last post, I should summarize.

I appraise this bug as "Poorly designed intended behavior". It's not really a bug by some people's standards, just a non-user-friendly quirk in the behavior of the scripts.

I might even go so far as to say the behavior of having a package be stuck half installed and not uninstallable if you don't agree to it's license agreement is highly undesirable and could be considered against the Ubuntu standard policies regarding how proprietary content packages should work.

In short this package obviously lacks the user-friendly nature of the other Sun-Java package to the point that it could be considered a "bug".

am_public (am-public)
Changed in ubuntu:
status: Incomplete → New
affects: ubuntu → sun-java6 (Ubuntu)
alexrfaria (alexrfaria)
Changed in sun-java6 (Ubuntu):
status: New → Confirmed
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 85969, 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.

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.