Debian 7 wheezy : apt-get file not found

Le problème exposé dans ce sujet a été résolu.

Bonjour à tous,

J’ai un serveur qui tourne sur Debian 7 wheezy. Souhaitant installer python dessus, j’ai utilisé la commande apt-get install mais apt-get update ne s’exécute pas correctement

Après quelques recherches sur le net, j’ai cru comprendre que cela étant dû au fichier /etc/apt/source.list

Voici mon fichier d’origine

# deb http://ftp2.de.debian.org/debian wheezy main

deb http://ftp2.de.debian.org/debian wheezy main non-free contrib
deb-src http://ftp2.de.debian.org/debian wheezy main non-free contrib

deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free

# wheezy-updates, previously known as 'volatile'
deb http://ftp2.de.debian.org/debian wheezy-updates main contrib non-free
deb-src http://ftp2.de.debian.org/debian wheezy-updates main contrib non-free

et voici mon fichier actuel (modifier grâce aux réponses que j’ai trouvé sur le net

deb http://http.debian.net/debian wheezy main contrib
deb http://security.debian.org/ wheezy/updates main contrib
deb http://http.debian.net/debian/ wheezy-updates main contrib
deb http://http.debian.net/debian/ wheezy-backports main contrib
# Ubuntu repo for java 7 #
# deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main
# recent multimedia firmware (not official debian stuff)#
# deb ftp://ftp.deb-multimedia.org wheezy main non-free
# deb ftp://ftp.deb-multimedia.org wheezy-backports main

Mais malgré cela, rien n’y fait

Ign http://http.debian.net wheezy Release.gpg
Ign http://security.debian.org wheezy/updates Release.gpg
Ign http://security.debian.org wheezy/updates Release
Ign http://http.debian.net wheezy-updates Release.gpg
Ign http://http.debian.net wheezy-backports Release.gpg
Ign http://http.debian.net wheezy Release
Err http://security.debian.org wheezy/updates/main amd64 Packages
  404  Not Found [IP: 151.101.66.132 80]
Err http://security.debian.org wheezy/updates/contrib amd64 Packages
  404  Not Found [IP: 151.101.66.132 80]
Ign http://security.debian.org wheezy/updates/contrib Translation-en_US
Ign http://security.debian.org wheezy/updates/contrib Translation-en
Ign http://security.debian.org wheezy/updates/main Translation-en_US
Ign http://security.debian.org wheezy/updates/main Translation-en
Ign http://http.debian.net wheezy-updates Release
Ign http://http.debian.net wheezy-backports Release
Err http://http.debian.net wheezy/main amd64 Packages
  404  Not Found [IP: 151.101.14.132 80]
Err http://http.debian.net wheezy/contrib amd64 Packages
  404  Not Found [IP: 151.101.14.132 80]
Ign http://http.debian.net wheezy/contrib Translation-en_US
Ign http://http.debian.net wheezy/contrib Translation-en
Ign http://http.debian.net wheezy/main Translation-en_US
Ign http://http.debian.net wheezy/main Translation-en
Err http://http.debian.net wheezy-updates/main amd64 Packages
  404  Not Found [IP: 151.101.14.132 80]
Err http://http.debian.net wheezy-updates/contrib amd64 Packages
  404  Not Found [IP: 151.101.14.132 80]
Ign http://http.debian.net wheezy-updates/contrib Translation-en_US
Ign http://http.debian.net wheezy-updates/contrib Translation-en
Ign http://http.debian.net wheezy-updates/main Translation-en_US
Ign http://http.debian.net wheezy-updates/main Translation-en
Err http://http.debian.net wheezy-backports/main amd64 Packages
  404  Not Found [IP: 151.101.14.132 80]
Err http://http.debian.net wheezy-backports/contrib amd64 Packages
  404  Not Found [IP: 151.101.14.132 80]
Ign http://http.debian.net wheezy-backports/contrib Translation-en_US
Ign http://http.debian.net wheezy-backports/contrib Translation-en
Ign http://http.debian.net wheezy-backports/main Translation-en_US
Ign http://http.debian.net wheezy-backports/main Translation-en
W: Failed to fetch http://security.debian.org/dists/wheezy/updates/main/binary-amd64/Packages  404  Not Found [IP: 151.101.66.132 80]

W: Failed to fetch http://security.debian.org/dists/wheezy/updates/contrib/binary-amd64/Packages  404  Not Found [IP: 151.101.66.132 80]

W: Failed to fetch http://http.debian.net/debian/dists/wheezy/main/binary-amd64/Packages  404  Not Found [IP: 151.101.14.132 80]

W: Failed to fetch http://http.debian.net/debian/dists/wheezy/contrib/binary-amd64/Packages  404  Not Found [IP: 151.101.14.132 80]

W: Failed to fetch http://http.debian.net/debian/dists/wheezy-updates/main/binary-amd64/Packages  404  Not Found [IP: 151.101.14.132 80]

W: Failed to fetch http://http.debian.net/debian/dists/wheezy-updates/contrib/binary-amd64/Packages  404  Not Found [IP: 151.101.14.132 80]

W: Failed to fetch http://http.debian.net/debian/dists/wheezy-backports/main/binary-amd64/Packages  404  Not Found [IP: 151.101.14.132 80]

W: Failed to fetch http://http.debian.net/debian/dists/wheezy-backports/contrib/binary-amd64/Packages  404  Not Found [IP: 151.101.14.132 80]

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

Si quelqu’un a un idée pour résoudre mon problème …

+0 -0

Salut,

Au hasard parce que Debian 7 n’est plus maintenue depuis le 1er juin 2018: https://www.debian.org/News/2018/20180601
Les archives: https://www.debian.org/distrib/archive

Ce serait bien d’envisager de migrer ton serveur qui est une faille de sécurité béante depuis 4 ans.

+7 -0

Cette version de Debian n’est plus supportée du tout depuis plus de 4 ans (depuis le 31 mai 2018). Ça me m’étonnerait pas que les dépôts associés n’existent tout simplement plus.

De même pour Java 7 dont mentionné dans ton exemple de fichier : même la version payante n’est plus supportée depuis juillet 2022 (et je doute que le PPA fournisse la version avec le support payant).

Je ne sais pas pourquoi tu essaies de faire tourner un serveur aussi antique d’un point de vue logiciel, mais s’il est connecté à un réseau quelconque (et à priori c’est le cas puisque tu passes par les URLs Debian publiques), la première chose à faire c’est le le mettre à jour vers une version de Debian qui est encore mise à jour d’un point de vue sécurité.

La réponse est dans les sorties : 404 Not Found. La version n’étant plus supportée, les dépôts ont été désactivés… Pour faire tourner à titre archéologique, il faut pointer vers les arhives, mais attention qu’il n’y a plus de mises à jour de sécurité…

+0 -0
Connectez-vous pour pouvoir poster un message.
Connexion

Pas encore membre ?

Créez un compte en une minute pour profiter pleinement de toutes les fonctionnalités de Zeste de Savoir. Ici, tout est gratuit et sans publicité.
Créer un compte