I have an application that requires the Java JRE. I decided to go ahead and install the JRE from the repositories. Normally, the only issue I would have with this is it taking forever and a day to download. However, this time, I get this...
ben@ben-Aspire-5250:~$ sudo apt-get install default-jre
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
default-jre : Depends: default-jre-headless (= 2:1.7-51) but it is not going to be installed
Depends: openjdk-7-jre (>= 7~u3-2.1.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
When trying to install openjdk-7-jre-headless directly, I get this:
ben@ben-Aspire-5250:~$ sudo apt-get install openjdk-7-jre-headless
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
openjdk-7-jre-headless : Depends: tzdata-java but it is not going to be installed
Depends: libnss3-1d (>= 3.12.9+ckbi-1.82-0ubuntu4) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I looked in Synaptic and tried to "fix broken packages", but Synaptic found nothing to do. When I try sudo apt-get -f install
, I just get:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
What could be going wrong here?
It's worth noting that I changed all instances of us.archive.ubuntu.com
to just archive.ubuntu.com
, because the US servers were unstable when I installed. I haven't had any other troubles up until now.