Al intentar instalar la documentación de Java por me dio de apt:

sudo apt-get install sun-java6-doc

Obtenia el Siguiente error:

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]

Para Solucionarlo:

  • Descargar jdk-6-doc.zip de aqui.
  • Darle permisos:

    chmod 755 jdk-6-doc.zip

  • Mover a /tmp:

    sudo mv jdk-6-doc.zip /tmp/jdk-6u10-docs.zip

  • Instalar el paquete nuevamente el paquete.

    sudo apt-get install sun-java6-doc