Can't install packages due to broken packages and Synaptic fix broken pages doens't fix it.

Asked by David Reagan

First ran into it when installing tomcat6. I tried using Synaptics "Fix broken packages" edit menu option, but that didn't mark anything. So I just kept searching for the package it said wasn't being installed, until I got to a package that didn't give me that message when I tried to install. After installing that, tomcat6 installed fine. Sorry I didn't note which package I had to track down.

Then I ran into the broken package error again:

reagand@ws-test-dam-01:~$ sudo apt-get install openjdk-6-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:
 openjdk-6-jre : Depends: openjdk-6-jre-headless (>= 6b23~pre11-0ubuntu1.11.10.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
reagand@ws-test-dam-01:~$ sudo apt-get install openjdk-6-jdk
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-6-jdk : Depends: openjdk-6-jre (>= 6b23~pre11-0ubuntu1.11.10.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

So I did some Googling and came across this wiki page: https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure

Here's the output for that:

reagand@ws-test-dam-01:~$ sudo fuser -vvv /var/lib/dpkg/lock
reagand@ws-test-dam-01:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.10
DISTRIB_CODENAME=oneiric
DISTRIB_DESCRIPTION="Ubuntu 11.10"
reagand@ws-test-dam-01:~$ uname -a
Linux ws-test-dam-01 3.0.0-17-generic #30-Ubuntu SMP Thu Mar 8 20:45:39 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
reagand@ws-test-dam-01:~$ sudo rm /var/lib/apt/lists/lock
reagand@ws-test-dam-01:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
reagand@ws-test-dam-01:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
reagand@ws-test-dam-01:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
reagand@ws-test-dam-01:~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
reagand@ws-test-dam-01:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
reagand@ws-test-dam-01:~$ sudo rm -rf /var/lib/dpkg/updates/*
reagand@ws-test-dam-01:~$ sudo rm -rf /var/lib/apt/lists
reagand@ws-test-dam-01:~$ sudo rm /var/cache/apt/*.bin
reagand@ws-test-dam-01:~$ sudo mkdir /var/lib/apt/lists
reagand@ws-test-dam-01:~$ sudo mkdir /var/lib/apt/lists/partial
reagand@ws-test-dam-01:~$ LANG=C;sudo apt-get clean
reagand@ws-test-dam-01:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
reagand@ws-test-dam-01:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  libnss3-1d*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
6 not fully installed or removed.
After this operation, 77.8 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 242316 files and directories currently installed.)
Removing libnss3-1d ...
Setting up libecj-java (3.5.1-3) ...
Setting up libservlet2.5-java (6.0.32-5ubuntu1.2) ...
Setting up libtomcat6-java (6.0.32-5ubuntu1.2) ...
Setting up tomcat6-common (6.0.32-5ubuntu1.2) ...
Setting up tomcat6 (6.0.32-5ubuntu1.2) ...
 * no JDK found - please set JAVA_HOME
invoke-rc.d: initscript tomcat6, action "start" failed.
Setting up authbind (1.2.0build3) ...
reagand@ws-test-dam-01:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824
Ign http://extras.ubuntu.com oneiric InRelease
Ign http://archive.ubuntu.com oneiric InRelease
Get:1 http://extras.ubuntu.com oneiric Release.gpg [72 B]
Get:2 http://archive.ubuntu.com oneiric Release.gpg [198 B]
Get:3 http://archive.ubuntu.com oneiric Release [40.8 kB]
Get:4 http://extras.ubuntu.com oneiric Release [9759 B]
Get:5 http://extras.ubuntu.com oneiric/main Sources [2472 B]
Get:6 http://archive.ubuntu.com oneiric/main Sources [877 kB]
Get:7 http://extras.ubuntu.com oneiric/main amd64 Packages [4265 B]
Get:8 http://extras.ubuntu.com oneiric/main i386 Packages [4266 B]
Ign http://extras.ubuntu.com oneiric/main TranslationIndex
Get:9 http://archive.ubuntu.com oneiric/universe Sources [4677 kB]
Ign http://extras.ubuntu.com oneiric/main Translation-en_US
Ign http://extras.ubuntu.com oneiric/main Translation-en
Ign http://archive.canonical.com oneiric InRelease
Get:10 http://archive.canonical.com oneiric Release.gpg [198 B]
Get:11 http://archive.canonical.com oneiric Release [5922 B]
Get:12 http://archive.canonical.com oneiric/partner Sources [2617 B]
Get:13 http://archive.canonical.com oneiric/partner amd64 Packages [3534 B]
Get:14 http://archive.canonical.com oneiric/partner i386 Packages [4333 B]
Ign http://archive.canonical.com oneiric/partner TranslationIndex
Get:15 http://archive.ubuntu.com oneiric/restricted Sources [5351 B]
Get:16 http://archive.ubuntu.com oneiric/multiverse Sources [149 kB]
Get:17 http://archive.ubuntu.com oneiric/main amd64 Packages [1226 kB]
Ign http://archive.canonical.com oneiric/partner Translation-en_US
Ign http://archive.canonical.com oneiric/partner Translation-en
Get:18 http://archive.ubuntu.com oneiric/universe amd64 Packages [4460 kB]
Get:19 http://archive.ubuntu.com oneiric/restricted amd64 Packages [8261 B]
Get:20 http://archive.ubuntu.com oneiric/multiverse amd64 Packages [117 kB]
Get:21 http://archive.ubuntu.com oneiric/main i386 Packages [1226 kB]
Get:22 http://archive.ubuntu.com oneiric/universe i386 Packages [4468 kB]
Get:23 http://archive.ubuntu.com oneiric/restricted i386 Packages [8216 B]
Get:24 http://archive.ubuntu.com oneiric/multiverse i386 Packages [119 kB]
Get:25 http://archive.ubuntu.com oneiric/main TranslationIndex [3289 B]
Get:26 http://archive.ubuntu.com oneiric/multiverse TranslationIndex [2265 B]
Get:27 http://archive.ubuntu.com oneiric/restricted TranslationIndex [2263 B]
Get:28 http://archive.ubuntu.com oneiric/universe TranslationIndex [2640 B]
Get:29 http://archive.ubuntu.com oneiric/main Translation-en [701 kB]
Get:30 http://archive.ubuntu.com oneiric/multiverse Translation-en [92.6 kB]
Get:31 http://archive.ubuntu.com oneiric/restricted Translation-en [2229 B]
Get:32 http://archive.ubuntu.com oneiric/universe Translation-en [3165 kB]
Ign http://security.ubuntu.com oneiric-security InRelease
Get:33 http://security.ubuntu.com oneiric-security Release.gpg [198 B]
Get:34 http://security.ubuntu.com oneiric-security Release [40.8 kB]
Get:35 http://security.ubuntu.com oneiric-security/main Sources [36.5 kB]
Get:36 http://security.ubuntu.com oneiric-security/universe Sources [15.7 kB]
Get:37 http://security.ubuntu.com oneiric-security/restricted Sources [1959 B]
Get:38 http://security.ubuntu.com oneiric-security/multiverse Sources [1668 B]
Get:39 http://security.ubuntu.com oneiric-security/main amd64 Packages [107 kB]
Get:40 http://security.ubuntu.com oneiric-security/universe amd64 Packages [34.8 kB]
Get:41 http://security.ubuntu.com oneiric-security/restricted amd64 Packages [3980 B]
Get:42 http://security.ubuntu.com oneiric-security/multiverse amd64 Packages [3204 B]
Get:43 http://security.ubuntu.com oneiric-security/main i386 Packages [107 kB]
Get:44 http://security.ubuntu.com oneiric-security/universe i386 Packages [34.7 kB]
Get:45 http://security.ubuntu.com oneiric-security/restricted i386 Packages [3939 B]
Get:46 http://security.ubuntu.com oneiric-security/multiverse i386 Packages [3379 B]
Get:47 http://security.ubuntu.com oneiric-security/main TranslationIndex [73 B]
Get:48 http://security.ubuntu.com oneiric-security/multiverse TranslationIndex [72 B]
Get:49 http://security.ubuntu.com oneiric-security/restricted TranslationIndex [71 B]
Get:50 http://security.ubuntu.com oneiric-security/universe TranslationIndex [73 B]
Get:51 http://security.ubuntu.com oneiric-security/main Translation-en [54.6 kB]
Get:52 http://security.ubuntu.com oneiric-security/multiverse Translation-en [1494 B]
Get:53 http://security.ubuntu.com oneiric-security/restricted Translation-en [978 B]
Get:54 http://security.ubuntu.com oneiric-security/universe Translation-en [24.3 kB]
Fetched 21.9 MB in 13s (1653 kB/s)
E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 25165824. (man 5 apt.conf)
Reading package lists... Error!
E: Unable to increase the size of the MMap as the limit of 25165824 bytes is already reached.
E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 25165824. (man 5 apt.conf)
E: Error occurred while processing libghc-wai-extra-prof (NewFileDesc2)
E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_oneiric_universe_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
reagand@ws-test-dam-01:~$ sudo dpkg --configure -a
reagand@ws-test-dam-01:~$ sudo dpkg --clear-avail
reagand@ws-test-dam-01:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
reagand@ws-test-dam-01:~$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
reagand@ws-test-dam-01:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade
Ign http://archive.ubuntu.com oneiric InRelease
Ign http://extras.ubuntu.com oneiric InRelease
Hit http://archive.ubuntu.com oneiric Release.gpg
Hit http://extras.ubuntu.com oneiric Release.gpg
Hit http://archive.ubuntu.com oneiric Release
Hit http://extras.ubuntu.com oneiric Release
Hit http://archive.ubuntu.com oneiric/main Sources
Hit http://extras.ubuntu.com oneiric/main Sources
Hit http://archive.ubuntu.com oneiric/universe Sources
Hit http://archive.ubuntu.com oneiric/restricted Sources
Hit http://archive.ubuntu.com oneiric/multiverse Sources
Hit http://archive.ubuntu.com oneiric/main amd64 Packages
Hit http://archive.ubuntu.com oneiric/universe amd64 Packages
Hit http://archive.ubuntu.com oneiric/restricted amd64 Packages
Hit http://archive.ubuntu.com oneiric/multiverse amd64 Packages
Hit http://archive.ubuntu.com oneiric/main i386 Packages
Hit http://archive.ubuntu.com oneiric/universe i386 Packages
Hit http://archive.ubuntu.com oneiric/restricted i386 Packages
Hit http://extras.ubuntu.com oneiric/main amd64 Packages
Hit http://extras.ubuntu.com oneiric/main i386 Packages
Ign http://extras.ubuntu.com oneiric/main TranslationIndex
Hit http://archive.ubuntu.com oneiric/multiverse i386 Packages
Hit http://archive.ubuntu.com oneiric/main TranslationIndex
Ign http://security.ubuntu.com oneiric-security InRelease
Hit http://archive.ubuntu.com oneiric/multiverse TranslationIndex
Hit http://archive.ubuntu.com oneiric/restricted TranslationIndex
Hit http://archive.ubuntu.com oneiric/universe TranslationIndex
Get:1 http://security.ubuntu.com oneiric-security Release.gpg [198 B]
Hit http://archive.ubuntu.com oneiric/main Translation-en
Get:2 http://security.ubuntu.com oneiric-security Release [40.8 kB]
Hit http://archive.ubuntu.com oneiric/multiverse Translation-en
Hit http://archive.ubuntu.com oneiric/restricted Translation-en
Hit http://archive.ubuntu.com oneiric/universe Translation-en
Get:3 http://security.ubuntu.com oneiric-security/main Sources [36.5 kB]
Ign http://archive.canonical.com oneiric InRelease
Hit http://archive.canonical.com oneiric Release.gpg
Ign http://extras.ubuntu.com oneiric/main Translation-en_US
Get:4 http://security.ubuntu.com oneiric-security/universe Sources [15.7 kB]
Get:5 http://security.ubuntu.com oneiric-security/restricted Sources [1959 B]
Get:6 http://security.ubuntu.com oneiric-security/multiverse Sources [1668 B]
Get:7 http://security.ubuntu.com oneiric-security/main amd64 Packages [107 kB]
Hit http://archive.canonical.com oneiric Release
Ign http://extras.ubuntu.com oneiric/main Translation-en
Hit http://archive.canonical.com oneiric/partner Sources
Hit http://archive.canonical.com oneiric/partner amd64 Packages
Hit http://archive.canonical.com oneiric/partner i386 Packages
Ign http://archive.canonical.com oneiric/partner TranslationIndex
Get:8 http://security.ubuntu.com oneiric-security/universe amd64 Packages [34.8 kB]
Get:9 http://security.ubuntu.com oneiric-security/restricted amd64 Packages [3980 B]
Get:10 http://security.ubuntu.com oneiric-security/multiverse amd64 Packages [3204 B]
Get:11 http://security.ubuntu.com oneiric-security/main i386 Packages [107 kB]
Get:12 http://security.ubuntu.com oneiric-security/universe i386 Packages [34.7 kB]
Get:13 http://security.ubuntu.com oneiric-security/restricted i386 Packages [3939 B]
Get:14 http://security.ubuntu.com oneiric-security/multiverse i386 Packages [3379 B]
Hit http://security.ubuntu.com oneiric-security/main TranslationIndex
Hit http://security.ubuntu.com oneiric-security/multiverse TranslationIndex
Hit http://security.ubuntu.com oneiric-security/restricted TranslationIndex
Hit http://security.ubuntu.com oneiric-security/universe TranslationIndex
Hit http://security.ubuntu.com oneiric-security/main Translation-en
Hit http://security.ubuntu.com oneiric-security/multiverse Translation-en
Hit http://security.ubuntu.com oneiric-security/restricted Translation-en
Hit http://security.ubuntu.com oneiric-security/universe Translation-en
Ign http://archive.canonical.com oneiric/partner Translation-en_US
Ign http://archive.canonical.com oneiric/partner Translation-en
Fetched 395 kB in 4s (92.1 kB/s)
E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 25165824. (man 5 apt.conf)
Reading package lists... Error!
E: Unable to increase the size of the MMap as the limit of 25165824 bytes is already reached.
E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 25165824. (man 5 apt.conf)
E: Error occurred while processing libghc-wai-extra-prof (NewFileDesc2)
E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_oneiric_universe_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
reagand@ws-test-dam-01:~$ LANG=C;sudo apt-get update -o && sudo apt-get dist-upgrade
E: Option -o requires an argument.
reagand@ws-test-dam-01:~$ LANG=C;sudo apt-get update && sudo apt-get dist-upgrade
Ign http://extras.ubuntu.com oneiric InRelease
Ign http://archive.ubuntu.com oneiric InRelease
Ign http://security.ubuntu.com oneiric-security InRelease
Hit http://extras.ubuntu.com oneiric Release.gpg
Hit http://archive.ubuntu.com oneiric Release.gpg
Hit http://security.ubuntu.com oneiric-security Release.gpg
Hit http://extras.ubuntu.com oneiric Release
Hit http://archive.ubuntu.com oneiric Release
Hit http://security.ubuntu.com oneiric-security Release
Hit http://extras.ubuntu.com oneiric/main Sources
Hit http://archive.ubuntu.com oneiric/main Sources
Hit http://security.ubuntu.com oneiric-security/main Sources
Hit http://extras.ubuntu.com oneiric/main amd64 Packages
Hit http://extras.ubuntu.com oneiric/main i386 Packages
Ign http://extras.ubuntu.com oneiric/main TranslationIndex
Hit http://archive.ubuntu.com oneiric/universe Sources
Hit http://archive.ubuntu.com oneiric/restricted Sources
Hit http://archive.ubuntu.com oneiric/multiverse Sources
Hit http://archive.ubuntu.com oneiric/main amd64 Packages
Hit http://archive.ubuntu.com oneiric/universe amd64 Packages
Hit http://archive.ubuntu.com oneiric/restricted amd64 Packages
Hit http://archive.ubuntu.com oneiric/multiverse amd64 Packages
Hit http://archive.ubuntu.com oneiric/main i386 Packages
Hit http://archive.ubuntu.com oneiric/universe i386 Packages
Hit http://archive.ubuntu.com oneiric/restricted i386 Packages
Hit http://security.ubuntu.com oneiric-security/universe Sources
Hit http://security.ubuntu.com oneiric-security/restricted Sources
Hit http://security.ubuntu.com oneiric-security/multiverse Sources
Hit http://security.ubuntu.com oneiric-security/main amd64 Packages
Hit http://security.ubuntu.com oneiric-security/universe amd64 Packages
Hit http://archive.ubuntu.com oneiric/multiverse i386 Packages
Hit http://archive.ubuntu.com oneiric/main TranslationIndex
Hit http://security.ubuntu.com oneiric-security/restricted amd64 Packages
Hit http://security.ubuntu.com oneiric-security/multiverse amd64 Packages
Hit http://security.ubuntu.com oneiric-security/main i386 Packages
Hit http://security.ubuntu.com oneiric-security/universe i386 Packages
Hit http://security.ubuntu.com oneiric-security/restricted i386 Packages
Hit http://security.ubuntu.com oneiric-security/multiverse i386 Packages
Hit http://security.ubuntu.com oneiric-security/main TranslationIndex
Hit http://archive.ubuntu.com oneiric/multiverse TranslationIndex
Hit http://archive.ubuntu.com oneiric/restricted TranslationIndex
Hit http://archive.ubuntu.com oneiric/universe TranslationIndex
Hit http://security.ubuntu.com oneiric-security/multiverse TranslationIndex
Hit http://security.ubuntu.com oneiric-security/restricted TranslationIndex
Hit http://security.ubuntu.com oneiric-security/universe TranslationIndex
Hit http://archive.ubuntu.com oneiric/main Translation-en
Hit http://archive.ubuntu.com oneiric/multiverse Translation-en
Hit http://security.ubuntu.com oneiric-security/main Translation-en
Hit http://security.ubuntu.com oneiric-security/multiverse Translation-en
Hit http://security.ubuntu.com oneiric-security/restricted Translation-en
Hit http://archive.ubuntu.com oneiric/restricted Translation-en
Hit http://security.ubuntu.com oneiric-security/universe Translation-en
Hit http://archive.ubuntu.com oneiric/universe Translation-en
Ign http://extras.ubuntu.com oneiric/main Translation-en_US
Ign http://extras.ubuntu.com oneiric/main Translation-en
Ign http://archive.canonical.com oneiric InRelease
Hit http://archive.canonical.com oneiric Release.gpg
Hit http://archive.canonical.com oneiric Release
Hit http://archive.canonical.com oneiric/partner Sources
Hit http://archive.canonical.com oneiric/partner amd64 Packages
Hit http://archive.canonical.com oneiric/partner i386 Packages
Ign http://archive.canonical.com oneiric/partner TranslationIndex
Ign http://archive.canonical.com oneiric/partner Translation-en_US
Ign http://archive.canonical.com oneiric/partner Translation-en
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Suggestions?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
David Reagan (jerrac) said :
#1

And this time, the method I used to get tomcat installed, didn't work... Here's the command line output. I used apt-get instead of synaptic this time.

reagand@ws-test-dam-01:~$ sudo apt-get install openjdk-6-jdk
[sudo] password for reagand:
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-6-jdk : Depends: openjdk-6-jre (>= 6b23~pre11-0ubuntu1.11.10.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

reagand@ws-test-dam-01:~$ sudo apt-get install openjdk-6-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:
 openjdk-6-jre : Depends: openjdk-6-jre-headless (>= 6b23~pre11-0ubuntu1.11.10.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

reagand@ws-test-dam-01:~$ sudo apt-get install openjdk-6-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-6-jre-headless : Depends: tzdata-java but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

reagand@ws-test-dam-01:~$ sudo apt-get install tzdata-java
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:
 tzdata-java : Depends: tzdata (= 2011k-1) but 2011n-0ubuntu0.11.10 is to be installed
E: Unable to correct problems, you have held broken packages.

reagand@ws-test-dam-01:~$ sudo apt-get install tzdata
Reading package lists... Done
Building dependency tree
Reading state information... Done
tzdata is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

reagand@ws-test-dam-01:~$ sudo apt-get install tzdata-java
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:
 tzdata-java : Depends: tzdata (= 2011k-1) but 2011n-0ubuntu0.11.10 is to be installed
E: Unable to correct problems, you have held broken packages.
reagand@ws-test-dam-01:~$

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

cd
wget https://launchpad.net/~ubuntu-security/+archive/ppa/+build/3232576/+files/openjdk-6-jre-headless_6b23~pre11-0ubuntu1.11.10.2_amd64.deb
sudo dpkg -i ./openjdk-6-jre-headless_6b23~pre11-0ubuntu1.11.10.2_amd64.deb
rm ./openjdk-6-jre-headless_6b23~pre11-0ubuntu1.11.10.2_amd64.deb
sudo apt-get -f install

Can you help with this problem?

Provide an answer of your own, or ask David Reagan for more information if necessary.

To post a message you must log in.