Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 12-31-2004, 08:29 AM   #1
LQ Newbie
Registered: Apr 2004
Location: France
Distribution: Debian
Posts: 16

Rep: Reputation: 0
Weird apt issue ?

I am trying to get jdk1.1 on a woody, seems simple, but ...

The packages are located in:

Package search gives:
Package jdk1.1
Package jdk1.1-native
Let's try to install them !

Well, here is a copy of my sources.list, just hold a sec. and you'll see my weird problem :-)
deb woody main contrib non-free
deb woody/non-US main contrib non-free
deb woody/updates main contrib non-free

# apt-get install jdk
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package jdk

# apt-get install jdk1.1
Reading Package Lists... Done
Building Dependency Tree... Done
Package jdk1.1 has no available version, but exists in the database.
This typically means that the package was mentioned in a dependency and
never uploaded, has been obsoleted or is not available with the contents
of sources.list
E: Package jdk1.1 has no installation candidate

# apt-cache search jdk
mmake - Makefile generator for Java programs
vide - IDE for C++ and Java based on the V GUI
jde - Java Development Environment for Emacs or XEmacs.

Of course, I did an 'apt-get update' before trying to get jdk.

In my understanding of apt system, lists of packages are located in dists (Packages and Release)
And then it tells apt where in pool to get the deb and tarballs.

My guess is the files in dists directory are not giving access to the packages I would like to install.

Any clue ?

Old 12-31-2004, 09:39 AM   #2
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Hmm this is very weird, maybe you have a corrupt file?


apt-get clean
apt-get update
apt-get install jdk1.1

If that doesn't work try deleting the file for the repository /var/lib/apt/lists/
and doing another apt-get update, apt-get install jdk1.1, there are other things, like dpkg files, but where getting in deep then...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Weird problem with apt-get and e2fsprogs Boyer MEPIS 1 09-17-2005 09:56 PM
a weird issue about which jiawj Red Hat 2 04-26-2005 10:06 AM
Can't install anything with Apt! Very Weird! Devboy Linux - Newbie 2 01-14-2005 02:43 AM
weird error with APT coolpyrofreak Linux - Software 1 12-20-2004 04:21 PM
apt-get through proxy - weird problem dunric Debian 1 10-26-2004 12:48 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:01 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration