apt-get openjdk-7-jdk can not find dependencies
openjdk-7-jdk does not install due to missing dependency called tzdata-
rmazur@ubuntu:~$ uname -a
Linux ubuntu 3.0.0-16-generic #28-Ubuntu SMP Fri Jan 27 17:50:54 UTC 2012 i686 i686 i386 GNU/Linux
rmazur@ubuntu:~$ lsb_release -rd
Description: Ubuntu 11.10
Release: 11.10
This is a vanilla Ubuntu install with no other JDK or JRE installed.
Expected To Happen:
I expected that openjdk-7 would install and fetch dependencies accordingly. I initially encountered the issue when trying to install Eclipse via the Ubuntu Software Center, which of course needs a jre.
What Really Happened:
Upon trying to install openjdk-7-jdk (or openjdk-7-jre or openjdk-6-jdk), apt-get reports back that it is missing a dependency called tzdata-
rmazur@ubuntu:~$ sudo apt-get install openjdk-7-jdk
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
ca-certificat
icedtea-netx java-common libaccess-
libpthread-
openjdk-
tzdata-java x11proto-core-dev x11proto-input-dev x11proto-kb-dev xorg-sgml-doctools xtrans-dev
Suggested packages:
equivs icedtea-plugin sun-java6-fonts ttf-sazanami-gothic ttf-kochi-gothic ttf-sazanami-mincho ttf-kochi-mincho
ttf-telugu-fonts ttf-oriya-fonts ttf-kannada-fonts ttf-bengali-fonts openjdk-7-demo openjdk-7-source visualvm
icedtea6-plugin
The following NEW packages will be installed:
ca-certificat
icedtea-netx java-common libaccess-
libpthread-
openjdk-
ttf-dejavu-extra tzdata-java x11proto-core-dev x11proto-input-dev x11proto-kb-dev xorg-sgml-doctools xtrans-dev
0 upgraded, 34 newly installed, 0 to remove and 0 not upgraded.
Need to get 140 kB/90.9 MB of archives.
After this operation, 262 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Err http://
404 Not Found [IP: 91.189.92.171 80]
Failed to fetch http://
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
rmazur@ubuntu:~$
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu openjdk-7 Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Micah Gersten
- Solved:
- 2012-03-15
- Last query:
- 2012-03-15
- Last reply:
- 2012-03-15
This question was originally filed as bug #955612.
Micah Gersten (micahg) said : | #1 |
Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We appreciate the difficulties you are facing, but it would make more sense to raise problems you are having in the support tracker at https:/
|
#2 |
tzdata-java was updated recently, please update your apt-cache before attempting to install this with the following command:
sudo apt-get update
Robert Mazur (mazurr) said : | #3 |
Thanks Micah Gersten, that solved my question.
Robert Mazur (mazurr) said : | #4 |
Thanks Micah. I was reluctant to report this as a bug. But between a Ubuntu Forum user (who seemed to have some experience) recommending I consider reporting a bug, and searching in the bug database and seeing a history of folks reporting package dependency issues there, I elected to submit the bug.
But I see now that your advice is more appropriate, and I apprciate it.
Thanks for your work and efforts,
Rob