apt-get update funktioniert nicht

Alles rund um sicherheitsrelevante Fragen und Probleme.
Antworten
ccc
Beiträge: 1185
Registriert: 16.01.2005 01:08:53

apt-get update funktioniert nicht

Beitrag von ccc » 04.01.2008 09:13:55

hallo

habe etch stable, aber apt-get update plötzlich funktioniert nicht mehr :

Code: Alles auswählen

# apt-get update
Get:1 http://mirror.switch.ch etch Release.gpg [378B]
Hit http://mirror.switch.ch etch Release
Ign http://mirror.switch.ch etch/main Packages/DiffIndex
Get:2 http://security.debian.org etch/updates Release.gpg [189B]
Ign http://mirror.switch.ch etch/contrib Packages/DiffIndex
Hit http://security.debian.org etch/updates Release
Ign http://mirror.switch.ch etch/non-free Packages/DiffIndex
Ign http://security.debian.org etch/updates/main 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://mirror.switch.ch etch/main Sources/DiffIndex
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
Ign http://security.debian.org etch/updates/main Packages
Ign http://mirror.switch.ch etch/contrib Sources/DiffIndex
Hit http://security.debian.org etch/updates/contrib Packages
Ign http://mirror.switch.ch etch/non-free Sources/DiffIndex
Hit http://mirror.switch.ch etch/main Packages
Hit http://mirror.switch.ch etch/contrib Packages
Hit http://mirror.switch.ch etch/non-free Packages
Hit http://mirror.switch.ch etch/main Sources
Hit http://mirror.switch.ch etch/contrib Sources
Hit http://mirror.switch.ch etch/non-free Sources
Hit http://security.debian.org etch/updates/non-free Packages
Hit 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 Packages [254kB]
99% [3 Packages gzip 0]
gzip: stdin: not in gzip format
Err http://security.debian.org etch/updates/main Packages
  Sub-process gzip returned an error code (1)
Fetched 3B in 2s (1B/s)
Failed to fetch http://security.debian.org/dists/etch/updates/main/binary-i386/Packages.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.
mein /etc/apt/sources.list:

Code: Alles auswählen

# 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 http://mirror.switch.ch/ftp/mirror/debian/ etch main contrib non-free
deb-src http://mirror.switch.ch/ftp/mirror/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
wie kann ich dieses problem beheben ?

ccc
Beiträge: 1185
Registriert: 16.01.2005 01:08:53

Beitrag von ccc » 04.01.2008 09:46:28

problem gelöst !

Code: Alles auswählen

# apt-spy update
Updating...
Grabbing file http://http.us.debian.org/debian/README.mirrors.txt...
Update complete. Exiting.

# apt-spy -d stable -s ch

SERVER: ftp.ch.debian.org
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 http://ftp.ch.debian.org/debian/ stable main
deb-src http://ftp.ch.debian.org/debian/ stable main
deb http://security.debian.org/ stable/updates main

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

Antworten