Sun Java moved to the Partner repository in Ubuntu 10.04 (Lucid)

For Ubuntu 10.04 LTS, the sun-java6  packages have been dropped from the Multiverse section of the Ubuntu archive. It is recommended that you use openjdk-6 instead.