Atualização do Debian Squeeze para Stretch

0

Fazer apt-get update recebe os seguintes erros:

Ign http://security.debian.org squeeze/updates Release.gpg
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en_GB
Ign http://security.debian.org/ squeeze/updates/main Translation-en
Ign http://security.debian.org/ squeeze/updates/main Translation-en_GB
Ign http://security.debian.org/ squeeze/updates/non-free Translation-en
Ign http://security.debian.org/ squeeze/updates/non-free Translation-en_GB
Ign http://security.debian.org squeeze/updates Release
Ign http://security.debian.org squeeze/updates/main Sources
Ign http://security.debian.org squeeze/updates/contrib Sources
Ign http://security.debian.org squeeze/updates/non-free Sources
Ign http://security.debian.org squeeze/updates/main amd64 Packages
Ign http://security.debian.org squeeze/updates/contrib amd64 Packages
Ign http://security.debian.org squeeze/updates/non-free amd64 Packages
Err http://security.debian.org squeeze/updates/main Sources
  404  Not Found [IP: 2001:a78:5:1:216:35ff:fe7f:6ceb 80]
Err http://security.debian.org squeeze/updates/contrib Sources
  404  Not Found [IP: 2001:a78:5:1:216:35ff:fe7f:6ceb 80]
Err http://security.debian.org squeeze/updates/non-free Sources
  404  Not Found [IP: 2001:a78:5:1:216:35ff:fe7f:6ceb 80]
Err http://security.debian.org squeeze/updates/main amd64 Packages
  404  Not Found [IP: 2001:a78:5:1:216:35ff:fe7f:6ceb 80]
Err http://security.debian.org squeeze/updates/contrib amd64 Packages
  404  Not Found [IP: 2001:a78:5:1:216:35ff:fe7f:6ceb 80]
Err http://security.debian.org squeeze/updates/non-free amd64 Packages
  404  Not Found [IP: 2001:a78:5:1:216:35ff:fe7f:6ceb 80]
25% [Connecting to ftp.de.debian.org (141.76.2.4)]^C
root@ks3309152:/# nano /etc/apt/sources.list
root@ks3309152:/# nano /etc/apt/sources.list.backup
root@ks3309152:/# nano /etc/apt/sources.list
root@ks3309152:/# apt-get update
Ign http://debian.mirrors.ovh.net squeeze Release.gpg
Ign http://debian.mirrors.ovh.net/debian/ squeeze/main Translation-en
Ign http://security.debian.org squeeze/updates Release.gpg
Ign http://debian.mirrors.ovh.net/debian/ squeeze/main Translation-en_GB
Ign http://security.debian.org/ squeeze/updates/main Translation-en
Ign http://security.debian.org/ squeeze/updates/main Translation-en_GB
Ign http://debian.mirrors.ovh.net squeeze Release
Ign http://debian.mirrors.ovh.net squeeze/main Sources
Ign http://security.debian.org squeeze/updates Release
Ign http://debian.mirrors.ovh.net squeeze/main amd64 Packages
Ign http://security.debian.org squeeze/updates/main Sources
Ign http://security.debian.org squeeze/updates/main amd64 Packages
Err http://security.debian.org squeeze/updates/main Sources
  404  Not Found [IP: 2001:a78:5:1:216:35ff:fe7f:6ceb 80]
Err http://security.debian.org squeeze/updates/main amd64 Packages
  404  Not Found [IP: 2001:a78:5:1:216:35ff:fe7f:6ceb 80]
Err http://debian.mirrors.ovh.net squeeze/main Sources
  404  Not Found [IP: 2001:41d0:202:100:213:32:5:7 80]
Err http://debian.mirrors.ovh.net squeeze/main amd64 Packages
  404  Not Found [IP: 2001:41d0:202:100:213:32:5:7 80]
W: Failed to fetch http://debian.mirrors.ovh.net/debian/dists/squeeze/main/source/Sources.gz  404  Not Found [IP: 2001:41d0:202:100:213:32:5:7 80]

W: Failed to fetch http://debian.mirrors.ovh.net/debian/dists/squeeze/main/binary-amd64/Packages.gz  404  Not Found [IP: 2001:41d0:202:100:213:32:5:7 80]

W: Failed to fetch http://security.debian.org/dists/squeeze/updates/main/source/Sources.gz  404  Not Found [IP: 2001:a78:5:1:216:35ff:fe7f:6ceb 80]

W: Failed to fetch http://security.debian.org/dists/squeeze/updates/main/binary-amd64/Packages.gz  404  Not Found [IP: 2001:a78:5:1:216:35ff:fe7f:6ceb 80]

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

Eu percebo que tenho 3 versões principais longe do atual, o que eu preciso fazer aqui para atualizar para o Debian Stretch corretamente baseado nos erros que recebo?

    
por IMB 21.04.2018 / 10:10

3 respostas

1

Eu acabei de ir direto para ofegante, mas se você quiser executar atualizações para o squeeze de antemão você pode mudar o seu sources.list para apontar para archive.debian.org .

deb http://archive.debian.org/debian-security squeeze/updates main
deb http://archive.debian.org/debian squeeze main
deb http://archive.debian.org/debian squeeze-lts main
deb http://archive.debian.org/debian squeeze-proposed-updates main
    
por 21.04.2018 / 11:20
1

Como outros disseram que você precisa ir Apertar - > Wheezy - > Jessie - > Alongar.

Para resolver seus problemas de assinatura de pacote, eu deveria instalar manualmente o debian-keyring do release que você está atualizando também (Downloadable via packages.debian.org ). ( dpkg -i debian-keyring_version.deb para instalar)

Siga as instruções nas notas da versão de cada lançamento:

por 26.04.2018 / 10:38
-1

Acho que desta forma você pode atualizar.

Primeiro atualize o Debian Squeeze To Wheezy.

Como atualizar o Debian Squeeze To Wheezy

Em seguida, atualize o Debian Wheezy para Jessie.

Como atualizar o Debian Wheezy para Jessie com segurança

Finalmente atualize o Debian Jessie para o 9 Stretch.

Como atualizar o Debian 8 (Jessie) para 9 (Trecho) com segurança

    
por 21.04.2018 / 10:16