Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 01-04-2008, 02:16 AM   #1
Senior Member
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,619

Rep: Reputation: 50
apt-get update doesn't work


I have debian etch stable, but apt-get update doesn't work anymore:
# apt-get update
Get:1 etch Release.gpg [378B]
Hit etch Release
Ign etch/main Packages/DiffIndex
Get:2 etch/updates Release.gpg [189B]
Ign etch/contrib Packages/DiffIndex
Hit etch/updates Release
Ign etch/non-free Packages/DiffIndex
Ign etch/updates/main Packages/DiffIndex
Ign etch/updates/contrib Packages/DiffIndex
Ign etch/updates/non-free Packages/DiffIndex
Ign etch/main Sources/DiffIndex
Ign etch/updates/main Sources/DiffIndex
Ign etch/updates/contrib Sources/DiffIndex
Ign etch/updates/non-free Sources/DiffIndex
Ign etch/updates/main Packages
Ign etch/contrib Sources/DiffIndex
Hit etch/updates/contrib Packages
Ign etch/non-free Sources/DiffIndex
Hit etch/main Packages
Hit etch/contrib Packages
Hit etch/non-free Packages
Hit etch/main Sources
Hit etch/contrib Sources
Hit etch/non-free Sources
Hit etch/updates/non-free Packages
Hit etch/updates/main Sources
Hit etch/updates/contrib Sources
Hit etch/updates/non-free Sources
Get:3 etch/updates/main Packages [254kB]
99% [3 Packages gzip 0]
gzip: stdin: not in gzip format
Err etch/updates/main Packages
  Sub-process gzip returned an error code (1)
Fetched 3B in 2s (1B/s)
Failed to fetch  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.
my /etc/apt/sources.list:
# cat /etc/apt/sources.list
#deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Beta #i386 CD Binary-1 20070317-21:45]/ etch contrib main

deb etch main contrib non-free
deb-src etch main contrib non-free

deb etch/updates main contrib non-free
deb-src etch/updates main contrib non-free
howto solve this problem ?
Old 01-04-2008, 02:47 AM   #2
Senior Member
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,619

Original Poster
Rep: Reputation: 50
this problem is solved:
# apt-spy update
Grabbing file
Update complete. Exiting.

# apt-spy -d stable -s ch

Benchmarking FTP...
                Downloaded 5038460 bytes in 15.34 seconds
                Download speed: 320.70 kB/sec
Benchmarking HTTP...
                Downloaded 5153548 bytes in 15.03 seconds
                Download speed: 334.75 kB/sec
Writing new sources.list file: /etc/apt/sources.list

# cat /etc/apt/sources.list
# sources.list generated by apt-spy v3.1
deb stable main
deb-src stable main
deb stable/updates main

# apt-get update
Get:1 stable Release.gpg [378B]
Get:2 stable Release [58.2kB]
Get:3 stable/main Packages [4280kB]
Get:4 stable/updates Release.gpg [189B]
Get:5 stable/updates Release [22.5kB]
Get:6 stable/updates/main Packages [202kB]
Get:7 stable/main Sources [1215kB]
Fetched 5779kB in 20s (287kB/s)
Reading package lists... Done


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
apt-get update Screener Ubuntu 3 07-20-2007 02:05 PM
apt-get install not working / apt-get update is ok remy215 Debian 2 10-01-2005 07:02 PM
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 12:28 PM
Does 'apt-get update' update the database used by 'apt-cache'? davidas Debian 5 04-20-2004 01:27 AM
apt-get error installing xlibs 4.2.1-14, apt-get won't work at all now pib Debian 1 12-10-2003 11:39 PM

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