LinuxQuestions.org
Review your favorite Linux distribution.
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 05-26-2006, 01:18 PM   #1
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Rep: Reputation: 53
Corrupt sources.list


Hi Everyone,

When any apt-get exercise, I am getting the following:#

Code:
bobsbox:/home/bob# apt-cache policy kernel-image-$(uname -r)
W: Couldn't stat source package list http://secure-testing.debian.net etch/security-updates/main Packages (/var/lib/apt/lists/secure-testing.debian.net_deb...curity-updates_dists_etch_security-updates_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://secure-testing.debian.net etch/security-updates/contrib Packages (/var/lib/apt/lists/secure-testing.debian.net_deb...curity-updates_dists_etch_security-updates_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://secure-testing.debian.net etch/security-updates/non-free Packages (/var/lib/apt/lists/secure-testing.debian.net_deb...curity-updates_dists_etch_security-updates_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Unable to locate package kernel-image-2.6.15-1-486
bobsbox:/home/bob#
Looks like the sources.list is garbled, corrupt, or whatever...

If I just delete all entries, is it automatically setup again by Synaptic or will I have to manually re-enter all the repositories?

Thanks for your help

Bob
 
Old 05-26-2006, 01:48 PM   #2
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,884
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
# Testing Etch
#deb http://http.us.debian.org/debian/ testing main contrib non-free
# Testing Sources
#deb-src http://http.us.debian.org/debian/ testing main contrib non-free
# Testing Security Updates
# For more info visit: http://secure-testing.debian.net/
#deb http://security.debian.org etch/updates main contrib non-free
#deb-src http://security.debian.org etch/updates main contrib non-free

Etch security update changed a while back. Change your sources.list to the above and you will be fine,
 
Old 05-26-2006, 02:00 PM   #3
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
Thank you, I will do that. I was trying check the kernel with

apt-cache policy kernel-image-$(uname -r)

and I get the error that the kernel image could not be found. Where is it in Debian? The /usr/src directory is empty. Surely I have the kernel image somewhere (I am running it now). I need several programs to be able to find this, particularly the nVidia installer.

Any help would be appreciated,

Bob
 
Old 05-26-2006, 02:15 PM   #4
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
The kernel is imbedded in a bootable image located in /boot. The /usr/src directory is intended for source packages (src: source )
 
Old 05-26-2006, 02:21 PM   #5
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 47
jumping in here, i have:

deb http://security.debian.org etch/updates main contrib non-free

and it always hangs at 99% (thread). anyone else having this behavior, or know what's wrong?
 
Old 05-26-2006, 02:22 PM   #6
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
The kernel image may be named "linux-image-$(uname -r)"

slackhack: Try:
Code:
deb http://secure-testing.debian.net/debian-secure-testing testing/security-updates main contrib non-free

Last edited by rickh; 05-26-2006 at 02:25 PM.
 
Old 05-26-2006, 02:30 PM   #7
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
Other names: vmlinuz and bzImage with or without version indications
 
Old 05-26-2006, 02:31 PM   #8
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
Thanks, rickh....to the rescue again!!

Bob
 
Old 05-26-2006, 02:37 PM   #9
slackhack
Senior Member
 
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 47
Quote:
Originally Posted by rickh
The kernel image may be named "linux-image-$(uname -r)"

slackhack: Try:
Code:
deb http://secure-testing.debian.net/debian-secure-testing testing/security-updates main contrib non-free
that's hanging too, though it's listing a different IP -- it makes me think something might be misconfiguired or even compromised. but i really don't mean to hijack this thread, i'm going to post the new info in the other thead, thanks.
 
  


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
Need Recommendation for Debian Etch sources.list ( /etc/apt/sources.list ) forgox Debian 6 05-05-2007 01:57 PM
list of sources?? boxerboy Libranet 1 11-11-2005 07:36 PM
sources.list FishieFishie Debian 7 08-01-2005 03:19 AM
Ubuntu Sources List! I need some great sources lists! Jengo Linux - Newbie 1 06-24-2005 04:50 PM
sources.list alaios SUSE / openSUSE 1 02-01-2005 05:52 AM

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

All times are GMT -5. The time now is 01: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