Comment 17 for bug 310898

Revision history for this message
Paul O'Leary McCann (polm-e) wrote :

I've attached a script that will work around this issue. This script:

1. Indicates agreement with the Java license
2. Adds the repo http://archive.canonical.com/ natty/partner
3. Downloads and unpacks sun-java6-bin
4. Removes the offending flag from postinst
5. Installs sun-java6-jdk

The explanation is only slightly shorter than the script, so it should be easy to make a change if you need to.

Note the script should be run as root since you need to muck about in /etc beside running aptitude.