Continued errors recieved after choosing not to provide the package files to installer package / package sun-java6-doc 6-06-0ubuntu1 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sun-java6 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: sun-java6-doc
Couldn't there be a better way to handle the removal of this half-installed installer package after deciding not to provide the requested archive file - right now you have to say "no" repeatedly when doing any package maintenance operation until you remove the sun-java6-doc package - leaving the package installed but in an unconfigured state in this case seems like wrong behavior - probably a dpkg limitation, but regardless, for similar packages where the package is just an installer, the behavior needs to improve so that a situation like this doesn't leave a mess behind.
I'd think an acceptable workaround for now would be to explain additional actions required to clean up the error. (telling the user to run "sudo apt-get remove sun-java6-doc" at least points toward a solution)
---
Setting up sun-java6-doc (6-06-0ubuntu1) ...
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-6-doc.zip jdk-6-doc-ja.zip
(choose the non-update version if this is the first installation).
Please visit
http://
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] no
Abort installation of JDK documentation
dpkg: error processing sun-java6-doc (--configure):
subprocess post-installation script returned error exit status 1
ProblemType: Package
Architecture: i386
Date: Tue Jun 3 07:30:59 2008
Dependencies:
libgcc1 1:4.2.3-2ubuntu7
unzip 5.52-10ubuntu2
gcc-4.2-base 4.2.3-2ubuntu7
libc6 2.7-10ubuntu3
DistroRelease: Ubuntu 8.04
ErrorMessage: subprocess post-installation script returned error exit status 1
NonfreeKernelMo
Package: sun-java6-doc 6-06-0ubuntu1
PackageArchitec
SourcePackage: sun-java6
Title: package sun-java6-doc 6-06-0ubuntu1 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Uname: Linux 2.6.24-17-generic i686
please write a patch and attach it to the report.