Weird apt issue ?
Hi,
I am trying to get jdk1.1 on a woody, seems simple, but ... The packages are located in: ftp://ftp.fr.debian.org/debian/pool/non-free/j/jdk1.1/ Package search gives: http://packages.debian.org/cgi-bin/s...le&release=all 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 http://ftp.fr.debian.org/debian/ woody main contrib non-free deb http://ftp.fr.debian.org/debian-non-US/ woody/non-US main contrib non-free deb http://security.debian.org/ woody/updates main contrib non-free Issue1: # apt-get install jdk Reading Package Lists... Done Building Dependency Tree... Done E: Couldn't find package jdk Issue2: # 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 Issue3: # 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 ? Fred |
Hmm this is very weird, maybe you have a corrupt file?
try 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/ftp.fr.debian.org_debian_dists_woody_non-free_binary-i386_Packages and doing another apt-get update, apt-get install jdk1.1, there are other things, like dpkg files, but where getting in deep then... |
All times are GMT -5. The time now is 02:36 PM. |