PDA

View Full Version : [ubuntu] Problem in Instaling Sun-java6 on Ubuntu 11.04



agni10
May 24th, 2011, 06:32 PM
I am trying to install Java and when I install sun-java6-jre it says:
Error: Dependency is not satisfiable: sun-java6-bin
but when I tried to install sun-java6-bin it says:
Error: Dependency is not satisfiable: sun-java6-jre

ajgreeny
May 24th, 2011, 07:16 PM
If you use software center or synaptic this will not happen.

I assume you are trying to install packages you have downloaded, or something similar to that. If so, providing they are .deb packages, you can put them both (or all you need if there are more) in a folder somewhere in /home and then run the command
sudo dpkg -i /path/to/folder/*.deb

agni10
May 24th, 2011, 08:49 PM
thanks...