View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 04-29-2004, 12:18 AM   #1
Registered: Nov 2003
Posts: 47

Rep: Reputation: 15
Problems/Errors with Sources.List

I'm trying to update my slightly outdated computer running a mix of debian stable/testing to completely testing. However, even though I only have one file open on sources.list I'm still getting errors.

aroot@raikunite:/home/knoppix# apt-get update
Get:1 testing/main Packages [2892kB]
99% [1 Packages gzip 0] [Waiting for headers] 5569B/s 0s
gzip: stdin: not in gzip format
Err testing/main Packages
Sub-process gzip returned an error code (1)
Ign testing/main Release
Err testing/contrib Packages
0 OK [IP: 80]
Ign testing/contrib Release
Err testing/non-free Packages
0 OK [IP: 80]
Ign testing/non-free Release
Fetched 2892kB in 12m25s (3878B/s)
Failed to fetch Sub-process gzip returned an error code (1)
Failed to fetch 0 OK [IP: 80]
Failed to fetch 0 OK [IP: 80]
Reading Package Lists... Done
W: Couldn't stat source package list testing/main Packages (/var/lib/apt/lists/ - stat (2 No such file or directory)
W: Couldn't stat source package list testing/contrib Packages (/var/lib/apt/lists/ - stat (2 No such file or directory)
W: Couldn't stat source package list testing/non-free Packages (/var/lib/apt/lists/ - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old ones used instead.

It's those to be precise. How can I get rid of those errors so I can finally run apt-get update and have it actually update! Thank you very much.

Old 04-29-2004, 01:01 AM   #2
Senior Member
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
I think your problem lies in the address you are using. i.e. You should be using the format
Old 05-01-2004, 03:00 AM   #3
LQ Newbie
Registered: Apr 2004
Distribution: Debian/Mandrake
Posts: 7

Rep: Reputation: 0
rout:/# cat /etc/apt/sources.list
deb stable main contrib non-free
deb stable/non-US main contrib non-free
deb stable/updates main contrib non-free
deb woody/updates main contrib non-free
See if it matches mine.


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
Need Recommendation for Debian Etch sources.list ( /etc/apt/sources.list ) forgox Debian 6 05-05-2007 01:57 PM
problems updating sources.list precision Debian 5 11-23-2005 02:31 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
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 12:28 PM

All times are GMT -5. The time now is 10:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration