Depois de instalar o Debian, não é possível atualizar

2

Eu tentei editar o arquivo sources.list para atualizar o repositório, mas não funcionou. Aqui está minha lista atm:

# 

# deb cdrom:[Debian GNU/Linux 8.3.0 _Jessie_ - Official amd64 lxde-CD Binary-1 $

deb cdrom:[Debian GNU/Linux 8.3.0 _Jessie_ - Official amd64 lxde-CD Binary-1 20$
deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main
deb http://archive.debian.org/debian stretch  main contrib
deb http://ftp.debian.org/debian/ stretch-updates main contrib
deb http://security.debian.org/ stretch/updates main contrib
# jessie-updates, previously known as 'volatile'
# A network mirror was not selected during install.  The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
# deb http://ftp.debian.org/debian/ jessie-updates main
# deb-src http://ftp.debian.org/debian/ jessie-updates main

Ao executar, a saída de erro é:

Hit http://ftp.debian.org stretch-updates/main Translation-en        
Err http://archive.debian.org stretch/main amd64 Packages
  404  Not Found [IP: 206.12.19.126 80]
Err http://archive.debian.org stretch/contrib amd64 Packages
  404  Not Found [IP: 206.12.19.126 80]
Ign http://archive.debian.org stretch/contrib Translation-en_US
Ign http://archive.debian.org stretch/contrib Translation-en
Ign http://archive.debian.org stretch/main Translation-en_US
Ign http://archive.debian.org stretch/main Translation-en
W: Failed to fetch http://archive.debian.org/debian/dists/stretch/main/binary-amd64/Packages  404  Not Found [IP: 206.12.19.126 80]

W: Failed to fetch http://archive.debian.org/debian/dists/stretch/contrib/binary-amd64/Packages  404  Not Found [IP: 206.12.19.126 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.

O mais estranho é que ele procura pacotes (o que não é encontrado) porque o arquivo real é Packages.gz!

    
por Bob Ebert 14.03.2016 / 19:40

1 resposta

2

Porque você está usando archive.debian.org , que é o URL da versão arquivada. Você precisa usar ftp.debian.org para versões reais.

    
por 14.03.2016 / 21:02