LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 11-06-2005, 04:14 AM   #1
MouseHunter
LQ Newbie
 
Registered: Nov 2004
Posts: 14

Rep: Reputation: 0
apt troubles[ is my system broken?]


Hello all I am on Debian Sarge with 2.6 kernel.
When ever I try to install something with apt-get it says

debian:~# apt-get install numlockx
Reading Package Lists... Done
Building Dependency Tree... Done
E: The package j2sdk needs to be reinstalled, but I can't find an archive for it.
debian:~#


what should i do? I tried removing j2sdk but again......


debian:~# apt-get remove j2sdk
Reading Package Lists... Done
Building Dependency Tree... Done
E: The package j2sdk needs to be reinstalled, but I can't find an archive for it.
debian:~#

I cant do anything with apt now. Any solutions?
 
Old 11-06-2005, 05:15 AM   #2
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Rep: Reputation: 50
Have you done anything with your sources? Since it have the app configured for doing some stuff but it can't locate it in the archive.

Try
apt-get -f install
or
apt-get update.
It this don't work try downloading the app with
apt-get -md install j2sdk.
If this still fails I would try
apt-get --purge --force-yes remove j2sdk,
although this is not really recommended since it can be a little dangerous.

Note that I am not sitting at a Debian machine at the time so maybe I have some syntax errors within the commands. Fix them by using the man.

Last edited by Ephracis; 11-06-2005 at 05:16 AM.
 
Old 11-06-2005, 08:59 AM   #3
brainiac
Member
 
Registered: Jan 2005
Location: middle of a cornfield, IL
Distribution: Kanotix HD Install, Debian Testing, XP Pro,Vista RC1
Posts: 145

Rep: Reputation: 15
Hi. Both of my Debian boxes give me strange apt responses unless I do an occasional "updatedb". This seems to let everything know where it is at. If you have never done this it will sometimes set for quite a while acting like it is hung, be patient, depending on the amount of work it is doing it can take a while. Hope this helps.
 
  


Reply



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
Broken apt-get ebenh Debian 12 04-11-2012 12:36 PM
Virus or broken system? apt-get install asks to remove kernel image?? rakamaka Linux - Software 6 09-19-2005 09:31 PM
apt-get is broken irvken Linux - Software 3 12-12-2004 04:18 AM
apt-get broken? limiter Linux - Software 4 03-21-2004 05:26 PM
apt-get is broken, please help! agentforsythe Linux - General 3 01-12-2004 03:24 AM

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

All times are GMT -5. The time now is 03:11 PM.

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