LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


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

Rep: Reputation: 0
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
 
Old 12-31-2004, 09:39 AM   #2
leonscape
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?

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...
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:28 AM.

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