# apt-get install java-package
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
java-package: Depends: debhelper but it is not going to be installed
Depends: fakeroot but it is not going to be installed
sun-java5-bin: Depends: sun-java5-jre (= 1.5.0-11-1) but it is not going to be installed
Depends: unixodbc but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).