0

I am trying to install Java 7 on Debian 6.0 via SSH. Here is what I type and what happens when I enter the commands: http://puu.sh/3fOj8.jpg

As you can see the apt-get -f install gives some error messages, which means I cannot continue to try to install it.

Expression93
  • 3
  • 1
  • 5
  • hmm, can you check which repositories are enabled on /etc/apt/sources.list ? (I think for tzdata you need the universe repo) – Rafael Oltra Jun 14 '13 at 22:52

1 Answers1

0

Uniqu3, is this for a server? (I Noticed you're doing it by using ssh)

If it is, you should be okay using just openjdk-7-jre-headless as this package does not bring all the dependencies (gnome stuff mostly I believe) you're having problems with

Rafael Oltra
  • 1,239
  • 9
  • 15
  • Yes it is for a server, but here is what your recommendation does (same error messages): http://puu.sh/3fOSA.jpg – Expression93 Jun 14 '13 at 22:16
  • can you check which repositories are enabled on /etc/apt/sources.list ? (I think for tzdata you need the universe repo) – Rafael Oltra Jun 18 '13 at 01:43
  • there is no universe repo in debian according to http://unix.stackexchange.com/questions/113590/how-to-add-debian-universe-in-etc-apt-sources-list ? – ckonig Mar 27 '14 at 18:17