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 12-02-2004, 04:34 AM   #1
malbery
Member
 
Registered: Aug 2004
Distribution: Debian sarge 2.6.8-2-k7
Posts: 60

Rep: Reputation: 15
apt-get problem (Debian sources down?)


I am assuming that my sarge sources are still valid:

cat /etc/apt/sources.list
Code:
# deb http://ftp.de.debian.org/debian/ sarge main

deb http://ftp.de.debian.org/debian/ testing main contrib
deb-src http://ftp.de.debian.org/debian/ testing main

deb http://security.debian.org/ testing/updates main
When I run apt-get update I get the following:
Code:
 
Err http://ftp.de.debian.org testing/main Packages
  416 Requested Range Not Satisfiable
Hit http://security.debian.org testing/updates/main Packages
Get:1 http://security.debian.org testing/updates/main Release [111B]
Err http://ftp.de.debian.org testing/main Release
  Bad header line
Err http://ftp.de.debian.org testing/contrib Packages
  Bad header line
Err http://ftp.de.debian.org testing/contrib Release
  Bad header line
Get:2 http://ftp.de.debian.org testing/main Sources [1256kB]
Get:3 http://ftp.de.debian.org testing/main Release [83B]
Fetched 1256kB in 2m47s (7486B/s)
Failed to fetch http://ftp.de.debian.org/debian/dist...86/Packages.gz  416 Requested Range Not Satisfiable
Failed to fetch http://ftp.de.debian.org/debian/dist...y-i386/Release  Bad header line
Failed to fetch http://ftp.de.debian.org/debian/dist...86/Packages.gz  Bad header line
Failed to fetch http://ftp.de.debian.org/debian/dist...y-i386/Release  Bad header line
Reading Package Lists... Done
E: Some index files failed to download, they have been ignored, or old ones used instead.
Are my sources out of date? Or are other people using the same sources without these problems? I can't think what I could have changed that could be producing this problem.

Thanks

PS From reading spanish postings on this problem (http://llistes.bulma.net/pipermail/b...13/011670.html) the concensus is that the problem is to do with an ISP proxy server caching an out of date version of files. Could this be? If so, are there mirrors of the debian sources elsewhere (that might not be cached incorrectly)?

PPS I have tried both apt-get clean and apt-get autoclean, to no effect.
 
Old 12-02-2004, 06:06 AM   #2
Wells
Member
 
Registered: Nov 2004
Location: Florida, USA
Distribution: Debian, Redhat
Posts: 417

Rep: Reputation: 53
This is going to sound a bit silly, but have you tried downloading from a different location? http://ftp.de.debian.org/debian/ isn't the only mirror of sarge, and I have to wonder if perhaps by changing to a different location you can get around this problem.
 
Old 12-02-2004, 06:30 AM   #3
malbery
Member
 
Registered: Aug 2004
Distribution: Debian sarge 2.6.8-2-k7
Posts: 60

Original Poster
Rep: Reputation: 15
Thanks for the quick reply Wells.

I've tried these sources:
Code:
deb http://non-us.debian.org/debian-non-US testing/non-US main contrib non-free
deb-src http://non-us.debian.org/debian-non-US testing/non-US main contrib non-free
but there appear to be many less packages (I already have installed 90% of these, whereas before I had very few of the available packages).
 
Old 12-02-2004, 06:39 AM   #4
malbery
Member
 
Registered: Aug 2004
Distribution: Debian sarge 2.6.8-2-k7
Posts: 60

Original Poster
Rep: Reputation: 15
Ok, I found ftp equivalents (?) for my http sources here:
Code:
deb ftp://ftp.debian.org/debian testing main contrib non-free
deb-src ftp://ftp.debian.org/debian testing main contrib non-free
Using those, I get the following:
Code:
 Get:1 ftp://security.debian.org testing/updates/main Packages
Err ftp://security.debian.org testing/updates/main Packages
  Unable to fetch file, server said 'Failed to open file.  '
Hit ftp://ftp.de.debian.org testing/main Packages
Get:2 ftp://security.debian.org testing/updates/main Release
Hit ftp://ftp.de.debian.org testing/main Release
Get:3 ftp://ftp.debian.org testing/main Packages [3171kB]
Ign ftp://security.debian.org testing/updates/main Release
Hit ftp://ftp.de.debian.org testing/contrib Packages
Hit ftp://ftp.de.debian.org testing/contrib Release
Hit ftp://ftp.de.debian.org testing/main Sources
Hit ftp://ftp.de.debian.org testing/main Release
Get:4 ftp://ftp.debian.org testing/main Release [81B]
Get:5 ftp://ftp.debian.org testing/contrib Packages [56.5kB]
Get:6 ftp://ftp.debian.org testing/contrib Release [84B]
Get:7 ftp://ftp.debian.org testing/non-free Packages [60.6kB]
Get:8 ftp://ftp.debian.org testing/non-free Release [85B]
Get:9 ftp://ftp.debian.org testing/main Sources [1256kB]
Get:10 ftp://ftp.debian.org testing/main Release [83B]
Get:11 ftp://ftp.debian.org testing/contrib Sources [25.1kB]
Get:12 ftp://ftp.debian.org testing/contrib Release [86B]
Get:13 ftp://ftp.debian.org testing/non-free Sources [24.2kB]
Get:14 ftp://ftp.debian.org testing/non-free Release [87B]
Fetched 4594kB in 2m7s (36.0kB/s)
Failed to fetch ftp://security.debian.org/dists/test...86/Packages.gz  Unable to fetch file, server said 'Failed to open file.  '
Reading Package Lists... Done
W: Couldn't stat source package list ftp://security.debian.org testing/updates/main Packages (/var/lib/apt/lists/security.debian.org_dists_testing_updates_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list ftp://security.debian.org testing/updates/main Packages (/var/lib/apt/lists/security.debian.org_dists_testing_updates_main_binary-i386_Packages) - 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.
What might I be doing wrong here?

Thanks.
 
Old 12-02-2004, 07:51 AM   #5
Wells
Member
 
Registered: Nov 2004
Location: Florida, USA
Distribution: Debian, Redhat
Posts: 417

Rep: Reputation: 53
Hrm....it looks as if there is a problem with your connection or something, perhaps having to do with that proxy that you are running through. Have you tried directly FTP-ing any of those files and seeing what happens? Just to check against myself, I set my sources.list to the same as yours, and this was the result of my update:

Code:
wombat:~# apt-get update
Hit http://www.gnome.org ./ Packages
Hit http://www.gnome.org ./ Release
Hit http://www.gnome.org ./ Sources
Get:1 http://security.debian.org testing/updates/main Packages [20B]
Get:2 http://security.debian.org testing/updates/main Release [111B]
Get:3 http://ftp.de.debian.org testing/main Packages [3171kB]
Hit http://www.gnome.org ./ Release
Hit ftp://ftp.tux.org sarge/non-free Packages
Hit ftp://ftp.tux.org sarge/non-free Release
Get:4 http://ftp.de.debian.org testing/main Release [81B]
Get:5 http://ftp.de.debian.org testing/contrib Packages [56.5kB]
Get:6 http://ftp.de.debian.org testing/contrib Release [84B]
Get:7 http://ftp.de.debian.org testing/main Sources [1256kB]
Get:8 http://ftp.de.debian.org testing/main Release [83B]
Fetched 4484kB in 20s (220kB/s)
As you can see, a very clean update.
 
Old 12-02-2004, 12:19 PM   #6
malbery
Member
 
Registered: Aug 2004
Distribution: Debian sarge 2.6.8-2-k7
Posts: 60

Original Poster
Rep: Reputation: 15
Hmm. It seems I needed to configure the sources for ftp better:
Code:
deb ftp://ftp.de.debian.org/debian/ testing main contrib non-free
deb-src ftp://ftp.de.debian.org/debian/ testing main contrib non-free
Using these sources it works:
Code:
Hit ftp://ftp.de.debian.org testing/main Packages
Hit ftp://ftp.de.debian.org testing/main Release
Hit ftp://ftp.de.debian.org testing/contrib Packages
Hit ftp://ftp.de.debian.org testing/contrib Release
Get:1 ftp://ftp.de.debian.org testing/non-free Packages [60.6kB]
Get:2 ftp://ftp.de.debian.org testing/non-free Release [85B]
Hit ftp://ftp.de.debian.org testing/main Sources
Hit ftp://ftp.de.debian.org testing/main Release
Get:3 ftp://ftp.de.debian.org testing/contrib Sources [25.1kB]
Get:4 ftp://ftp.de.debian.org testing/contrib Release [86B]
Get:5 ftp://ftp.de.debian.org testing/non-free Sources [24.2kB]
Get:6 ftp://ftp.de.debian.org testing/non-free Release [87B]
Fetched 110kB in 52s (2102B/s)
Reading Package Lists... Done
The http sources were previously:
[CODE]
deb http://ftp.de.debian.org/debian/ testing main contrib
deb-src http://ftp.de.debian.org/debian/ testing main
deb http://security.debian.org/ testing/updates main
/CODE]

Hopes this helps anyone else with the same issue.
Thanks for the help Wells, much appreciated.
 
  


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
Using debian apt-get sources on ubuntu linuxguy400 Linux - Software 1 12-01-2005 07:24 PM
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 12:28 PM
Sources For Debian Apt-Get TaNeK Linux - Newbie 2 12-09-2004 04:02 PM
Debian apt-get sources thcmwz Debian 4 11-29-2003 08:43 PM

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

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