rpete
December 16th, 2008, 12:23 AM
Hi, I have downloaded java development kit 6 as a .bin file. Somewhere in it is jdk-6-doc-ja.zip and jdk-6-doc.zip which I need to run several programs including handbrake. I also wanted to install an application for viewing dvd called libdvdcss2. With handbrake and with this app I got the same error message:
richard@dell-desktop:~$ sudo apt-get install libdvdcss2
[sudo] password for richard:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libdvdcss2 is already the newest version.
libdvdcss2 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 2 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-3ubuntu2) ...
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)
richard@dell-desktop:~$
The part about the message I don't understand is "the file should be owned by root.root and be copied to /tmp. How do I do these? The jdk file has been downloaded and is on my desktop as a .bin file right click, properties, permissions, check execute, double click does not work.
richard@dell-desktop:~$ sudo apt-get install libdvdcss2
[sudo] password for richard:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libdvdcss2 is already the newest version.
libdvdcss2 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 2 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-3ubuntu2) ...
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)
richard@dell-desktop:~$
The part about the message I don't understand is "the file should be owned by root.root and be copied to /tmp. How do I do these? The jdk file has been downloaded and is on my desktop as a .bin file right click, properties, permissions, check execute, double click does not work.