I face a strange problem while using apt-get. Whenever I try to install any package using apt-get it gives the following error:
Code:
$ sudo apt-get install texlive-latex-recommended
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
bluej : Depends: sun-java6-jdk but it is not installable or
sun-java7-jdk but it is not installable or
openjdk-6-jdk but it is not going to be installed or
openjdk-7-jdk but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Now I don't really understand the problem. I am trying to install a different package but it is still stuck to that old bluej package. I must admit that I have once tried to install the bluej package with no luck. It gave the same error at that time also. So, I quit installing the package. But now it seems that I even cannot install any other package. Is there any solution to the problem.
I have tried the following commands also:
Code:
$ sudo apt-get autoclean
and
Code:
$ sudo apt-get autoclean