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

Bug #264888 reported by tdflanders
This bug report is a duplicate of:  Bug #85969: Java Docs Package Won't Install. Edit Remove
2
Affects Status Importance Assigned to Milestone
sun-java6 (Ubuntu)
New
Undecided
Unassigned

Bug Description

***
Suggested importance: HIGH
***
Hi, This is a crash file from a previous installation. I know it is probably a duplicate, but I don't see any other way to report it with the full crash data attached. I think this is necessary for the following reasons: I had a fatal system crash twice, and I reinstalled twice. I think this bug must have occurred during upgrading from 8.04 to 22.6.27-2.2, or during upgrading from 8.10 alfa to 2.7.27-2.2. I am presently using 2.6.27-2.3, which does not give any major problems any longer, neither did 2.6.27-2.1 in fact. I am fully updated and upgraded. This package continuous to fail to install and the problem may be more serious then you may suspect. Many long time Windows users like me know you still have to update your OS after you have reinstalled your system. Most can be done through your Windows updater, and the update applet on your virus scanner and firewall. In XP you also had to update your MS Office separately. There are however a few applications that you have to install straight away as well, but which are not (yet) property of MS. These are often Adobe Acrobat Reader, Adobe Flash Player and a Java Applet. Therefor inexperienced Ubuntu users will often go look for that in Synaptic. Unfortunately both gnash and sun-java6-doc fail to install. For gnash this is not a problem, it just stays uninstalled forever, or until you learn the '$ sudo apt-get remove gnash' command. You can still install flashplayer-plugin-non free. For the Java applet problems are far more serious though. Even though the sun-java6-bin thing installed without a problem on my latest 8.10 alfa version, the sun-java6-doc problem persists. It continuously abrupts your update process, either in update-manager or by apt-get. This means you have to type "no" into the terminal or the process will stall, if you wait long enough, like an update overnight, you will wake up disillusioned, but one error report richer. People who have never used a terminal before and who just click on 'close' in update manager, will therefor not get any updates anymore, after the corrupt Java package. Knowing my mom, I predict this one will be a granny buster if left unresolved. Since you can actually download the doc files on the Java site, I would suggest to replace this package with a pdf-version and/or a link to the website. Chances are >99% of inexperienced users will not ever need it anyway. But as it completely blocks the update process, I suggest you do something about it before releasing Intrepid beta, this is more than a wish list issue.

Problem description:

thomas@thomas-laptop:~$ sudo apt-get install transcode
Reading package lists... Done
Building dependency tree
Reading state information... Done
transcode is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up sun-java6-doc (6-07-4ubuntu2) ...
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://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] no
Abort installation of JDK documentation
dpkg: error processing sun-java6-doc (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 sun-java6-doc
E: Sub-process /usr/bin/dpkg returned an error code (1)
thomas@thomas-laptop:~$ sudo apt-get build-dep transcode
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package liblame-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  libmp3lame-dev liblame0
The following NEW packages will be installed
  liba52-0.7.4-dev libaa1-dev libartsc0 libartsc0-dev libatk1.0-dev
  libaudio-dev libaudiofile-dev libavcodec-dev libavutil-dev libbz2-dev
  libcaca-dev libcairo2-dev libcucul-dev libdc1394-22-dev libdirectfb-dev
  libdirectfb-extra libdjvulibre-dev libdv4-dev libdvdnav-dev libdvdread-dev
  libesd0-dev libexpat1-dev libfame-dev libfontconfig1-dev libfreetype6-dev
  libgl1-mesa-dev libglib1.2-dev libglu1-mesa-dev libglu1-xorg-dev
  libgraphviz-dev libgsm1-dev libgtk1.2-dev libgtk2.0-dev libice-dev
  libilmbase-dev libjasper-dev liblcms1-dev libltdl7-dev liblzo-dev
  libmagick9-dev libmjpegtools-dev libmp3lame-dev libmpeg2-4-dev
  libncurses5-dev libogg-dev libopenexr-dev libpango1.0-dev libpixman-1-dev
  libpng12-dev libpopt-dev libpostproc-dev libpthread-stubs0
  libpthread-stubs0-dev libquicktime-dev libreadline5-dev librsvg2-dev
  libsdl1.2-dev libslang2-dev libsm-dev libsysfs-dev libtheora-dev libtool
  libvorbis-dev libwmf-dev libx11-dev libxau-dev libxaw7-dev
  libxcb-render-util0-dev libxcb-render0-dev libxcb-xlib0-dev libxcb1-dev
  libxcomposite-dev libxcursor-dev libxdamage-dev libxdmcp-dev libxext-dev
  libxfixes-dev libxft-dev libxi-dev libxinerama-dev libxml2-dev libxmu-dev
  libxmu-headers libxpm-dev libxrandr-dev libxrender-dev libxt-dev libxv-dev
  libxvidcore4-dev libxxf86vm-dev mesa-common-dev nasm pvm-dev
  x11proto-composite-dev x11proto-core-dev x11proto-damage-dev
  x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev
  x11proto-render-dev x11proto-video-dev x11proto-xext-dev
  x11proto-xf86vidmode-dev x11proto-xinerama-dev xtrans-dev
0 upgraded, 106 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
E: Package liblame-dev has no installation candidate
E: Failed to process build dependencies

***
Note to bug team. I have asked several questions to the bug team but I have not gotten sufficient feedback yet. I will sum it up once more: I do not know when it is usefull to file a bug. I prescribe now to any bug I find or report a new one with every new title. I do or do not report a new one with any new release? I mean 8.10 instead of 8.04, not different alfa's. I cannot attach crash files to a bug report, but without filing a new bug, I cannot add any system data to a bug report either. Should I consider filing a new bug for any incomplete or invalid status? I have installed gdb, but I do not know how o use it. I get something like this:
thomas@thomas-laptop:~$ sudo gdb apt-get 2>&1 | tee gdb-apt-get.txtGNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(no debugging symbols found)
(gdb)
I understand you are all busy with alfa 5 and pre-beta know. But here is a tip to make your and my life easier:
Two choices:
1) Ask me to file less bugs.
2) Give me a little feedback on this note.
I am currently encountering about 10 new bugs a day, of which at least 2 or 3 new ones. So it could be worth an education attempt, since alfa 5 will give me more of this I think. Is there a tutorial that covers it all and is understandable to a guy like me, who has zero IT background?
I have found the following instruction pages:
https://wiki.ubuntu.com/Backtrace
https://wiki.ubuntu.com/Bugs/ApportRetraces
https://wiki.ubuntu.com/Apport
https://wiki.ubuntu.com/DebuggingProgramCrash
I have experienced a crash or bug on every bug report I filed or am subscribed to. If there is an urgent one amongst them, please contact me for info. Espacially these ones: # 254238 # 246067. I would like to do a new install on VirtualBox 1.6.6 under 8.10 2.6.27-2.3 of 8.04 with my old APTonCD. If it works I will have the ability to merge this with my current APTonCD for 8.10, which has less applications on it. Could you people give me a gdb terminal command and the proper debugging packages to download? This will give me feedback about the two bugs mentioned here.
***

System info:

Hardware:

Acer Aspire 9410-4933
Intel Core Duo processor T2450
(2.0 GHz, 533 MHz FSB, 2MB L2 cache)
17" WXGA+ Acer CrystalBrite LCD
Intel Graphics Media Accelerator 950
160GB HDD
DVD-Super Multi double layer
(support DVD+-R Double Layer/DVD+-RW)
1GB DDR2
802.11a/b/g wireless LAN

Software:

thomas@thomas-laptop:~$ lsb_release -rd ; uname -a ; apt-cache policy linux-headers-2.6.27-2-generic linux-image-2.6.27-2-generic linux linux-source-2.6.27 linux-restricted-modules gnome-terminal apt gdb synaptic sun-java6-doc sun-java6-bin
Description: Ubuntu intrepid (development branch)
Release: 8.10
Linux thomas-laptop 2.6.27-2-generic #1 SMP Thu Aug 28 17:20:02 UTC 2008 i686 GNU/Linux
linux-headers-2.6.27-2-generic:
  Installed: 2.6.27-2.3
  Candidate: 2.6.27-2.3
  Version table:
 *** 2.6.27-2.3 0
        500 http://gb.archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status
linux-image-2.6.27-2-generic:
  Installed: 2.6.27-2.3
  Candidate: 2.6.27-2.3
  Version table:
 *** 2.6.27-2.3 0
        500 http://gb.archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status
linux:
  Installed: 2.6.27.2.2
  Candidate: 2.6.27.2.2
  Version table:
 *** 2.6.27.2.2 0
        500 http://gb.archive.ubuntu.com intrepid/restricted Packages
        100 /var/lib/dpkg/status
linux-source-2.6.27:
  Installed: 2.6.27-2.3
  Candidate: 2.6.27-2.3
  Version table:
 *** 2.6.27-2.3 0
        500 http://gb.archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status
linux-restricted-modules:
  Installed: 2.6.27.2.2
  Candidate: 2.6.27.2.2
  Version table:
 *** 2.6.27.2.2 0
        500 http://gb.archive.ubuntu.com intrepid/restricted Packages
        100 /var/lib/dpkg/status
gnome-terminal:
  Installed: 2.23.6-0ubuntu2
  Candidate: 2.23.6-0ubuntu2
  Version table:
 *** 2.23.6-0ubuntu2 0
        500 http://gb.archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status
apt:
  Installed: 0.7.14ubuntu6
  Candidate: 0.7.14ubuntu6
  Version table:
 *** 0.7.14ubuntu6 0
        500 http://gb.archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status
gdb:
  Installed: 6.8-3ubuntu1
  Candidate: 6.8-3ubuntu1
  Version table:
 *** 6.8-3ubuntu1 0
        500 http://gb.archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status
synaptic:
  Installed: 0.62.1ubuntu8
  Candidate: 0.62.1ubuntu8
  Version table:
 *** 0.62.1ubuntu8 0
        500 http://gb.archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status
sun-java6-doc:
  Installed: (none)
  Candidate: 6-07-4ubuntu2
  Version table:
     6-07-4ubuntu2 0
        500 http://gb.archive.ubuntu.com intrepid/multiverse Packages
     6-07-3~bpo40+1 0
          1 http://www.backports.org etch-backports/non-free Packages
sun-java6-bin:
  Installed: 6-07-4ubuntu2
  Candidate: 6-07-4ubuntu2
  Version table:
 *** 6-07-4ubuntu2 0
        500 http://gb.archive.ubuntu.com intrepid/multiverse Packages
        100 /var/lib/dpkg/status
     6-07-3~bpo40+1 0
          1 http://www.backports.org etch-backports/non-free Packages
thomas@thomas-laptop:~$

ProblemType: Package
Architecture: i386
Dependencies:

DistroRelease: Ubuntu 8.10
ErrorMessage: subprocess post-installation script returned error exit status 1
Package: sun-java6-doc None [modified: /var/lib/dpkg/info/sun-java6-doc.list]
PackageArchitecture: all
SourcePackage: sun-java6
Title: package sun-java6-doc None [modified: /var/lib/dpkg/info/sun-java6-doc.list] failed to install/upgrade: subprocess post-installation script returned error exit status 1
Uname: Linux 2.6.27-2-generic i686

Revision history for this message
tdflanders (thomasdelbeke) wrote :
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.