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 11-08-2007, 12:59 PM   #1
RHTopics
Member
 
Registered: May 2006
Posts: 45

Rep: Reputation: 3
apt-get update error (Debian 4.0)


On a Debian 4.0 Gnome installation with all outstanding security updates applied as of yesterday, I get the following error when doing an "apt-get update":
Code:
rhtopics@debian:~$ sudo apt-get update
Get:1 http://ftp.us.debian.org etch Release.gpg [378B]
Get:2 http://security.debian.org etch/updates Release.gpg [189B]
Hit http://ftp.us.debian.org etch Release
Hit http://security.debian.org etch/updates Release
Ign http://ftp.us.debian.org etch/main Packages/DiffIndex
Ign http://security.debian.org etch/updates/main Packages/DiffIndex
Ign http://ftp.us.debian.org etch/contrib Packages/DiffIndex
Ign http://ftp.us.debian.org etch/non-free Packages/DiffIndex
Ign http://security.debian.org etch/updates/contrib Packages/DiffIndex
Ign http://security.debian.org etch/updates/non-free Packages/DiffIndex
Ign http://ftp.us.debian.org etch/main Sources/DiffIndex
Ign http://ftp.us.debian.org etch/contrib Sources/DiffIndex
Ign http://ftp.us.debian.org etch/non-free Sources/DiffIndex
Hit http://ftp.us.debian.org etch/main Packages
Ign http://security.debian.org etch/updates/main Sources/DiffIndex
Ign http://security.debian.org etch/updates/contrib Sources/DiffIndex
Ign http://security.debian.org etch/updates/non-free Sources/DiffIndex
Hit http://security.debian.org etch/updates/main Packages
Hit http://ftp.us.debian.org etch/contrib Packages
Hit http://security.debian.org etch/updates/contrib Packages
Hit http://ftp.us.debian.org etch/non-free Packages
Hit http://ftp.us.debian.org etch/main Sources
Hit http://ftp.us.debian.org etch/contrib Sources
Hit http://ftp.us.debian.org etch/non-free Sources
Hit http://security.debian.org etch/updates/non-free Packages
Ign http://security.debian.org etch/updates/main Sources
Hit http://security.debian.org etch/updates/contrib Sources
Hit http://security.debian.org etch/updates/non-free Sources
Get:3 http://security.debian.org etch/updates/main Sources [26.9kB]
99% [3 Sources gzip 0]
gzip: stdin: not in gzip format
Err http://security.debian.org etch/updates/main Sources
  Sub-process gzip returned an error code (1)
Fetched 3B in 3s (1B/s)
Failed to fetch http://security.debian.org/dists/etch/updates/main/source/Sources.gz  Sub-process gzip returned an error code (1)
Reading package lists... Done
E: Some index files failed to download, they have been ignored, or old ones used instead.
Can anyone tell me what has happened and what action should be taken to resolve this problem?

Below is a listing of the /etc/apt/sources.list:

Code:
#
# deb-src cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official Multi-architecture i386/amd64/powerpc/source DVD #1 20070407-12:57]/ etch contrib main
# deb cdrom:[Debian GNU/Linux 4.0 r0 _Etch_ - Official Multi-architecture i386/amd64/powerpc/source DVD #1 20070407-12:57]/ etch contrib main
#

deb http://ftp.us.debian.org/debian/ etch main contrib non-free
deb-src http://ftp.us.debian.org/debian/ etch main contrib non-free

deb http://security.debian.org/ etch/updates main contrib non-free
deb-src http://security.debian.org/ etch/updates main contrib non-free
 
Old 11-08-2007, 01:13 PM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
It's probably just a corrupt or missing file on the server. I see them sometimes myself. Don't sweat it. It'll get corrected eventually.
 
Old 11-08-2007, 01:14 PM   #3
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
Your sources.list is OK, so I'd suggest to wait another day and try again tomorrow.
 
Old 11-08-2007, 01:49 PM   #4
RHTopics
Member
 
Registered: May 2006
Posts: 45

Original Poster
Rep: Reputation: 3
Thanks for the replies.

I will do as suggested and try it again tomorrow.
 
  


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
Error:apt-get update cafecheng Linux - Newbie 4 09-21-2007 02:31 PM
apt-get update - error zoobave Linux - Software 1 07-19-2007 12:53 PM
apt-get update error android6011 Debian 9 06-23-2006 02:59 AM
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 12:28 PM
apt-get update error cedar Debian 9 09-04-2004 07:17 PM

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

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