Bonjour à tous ,
J’ai monté une machine virtuelle Debian 5.0 VMware sur laquelle j’aimerai installer des paquets (apache2 , php5…) sauf que cela ne fonctionne pas et je ne vois pas ce qui cloche.
• Ma VM navigue sur internet .
• J’ai essayé de la mettre en bridge ou Nat , sans succès.
• Voici mon source-list
[code]#
deb cdrom:[Debian GNU/Linux 5.0.10 Lenny - Official amd64 DVD Binary-1 2012$
#deb cdrom:[Debian GNU/Linux 5.0.10 Lenny - Official amd64 DVD Binary-1 20120$
deb http://ftp.fr.debian.org/debian lenny main distrib
deb http://security.debian.org/ lenny/updates main contrib
deb-src http://security.debian.org/ lenny/updates main contrib
#deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib
#deb-src http://volatile.debian.org/debian-volatile lenny/volatile main contrib[/code]
• J’utilise un proxy , celui de mon entreprise , pour surfer :
10.xxx.xxx.xxx:8080 ( je l’ai renseigner comme serveur mandataire )
Dans /etc/apt/apt.conf j’ai donc renseigné :
Acquire::http::proxy "http://10.xxx.xxx.xxx:8080/";
( J’ai aussi essayé sans , ça ne fonctionne pas mieux )
• Resultat de apt-get install
apt-get install apache2
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
E: Impossible de trouver le paquet apache2
• Resultat de apt-get update
[code]debian:~# apt-get update
Ign http://ftp.fr.debian.org lenny Release.gpg
Ign http://ftp2.fr.debian.org leny Release.gpg
Ign http://security.debian.org lenny/updates Release.gpg
Ign http://ftp2.fr.debian.org leny/main Translation-fr
Ign http://security.debian.org lenny/updates/main Translation-fr
Ign http://ftp.fr.debian.org lenny/main Translation-fr
Ign http://security.debian.org lenny/updates/contrib Translation-fr
Ign http://ftp2.fr.debian.org leny/contrib Translation-fr
Ign http://ftp.fr.debian.org lenny/distrib Translation-fr
Ign http://security.debian.org lenny/updates Release
Ign http://ftp2.fr.debian.org leny Release
Ign http://security.debian.org lenny/updates/main Packages
Ign http://ftp.fr.debian.org lenny Release
Ign http://ftp2.fr.debian.org leny/main Packages
Ign http://security.debian.org lenny/updates/contrib Packages
Ign http://ftp2.fr.debian.org leny/contrib Packages
Ign http://security.debian.org lenny/updates/main Sources
Ign http://ftp.fr.debian.org lenny/main Packages
Ign http://security.debian.org lenny/updates/contrib Sources
Ign http://ftp2.fr.debian.org leny/main Packages
Ign http://ftp.fr.debian.org lenny/distrib Packages
Ign http://security.debian.org lenny/updates/main Packages
Ign http://ftp2.fr.debian.org leny/contrib Packages
Ign http://security.debian.org lenny/updates/contrib Packages
Ign http://ftp.fr.debian.org lenny/main Packages
Err http://ftp2.fr.debian.org leny/main Packages
404 Not Found
Ign http://security.debian.org lenny/updates/main Sources
Err http://ftp2.fr.debian.org leny/contrib Packages
404 Not Found
Ign http://ftp.fr.debian.org lenny/distrib Packages
Ign http://security.debian.org lenny/updates/contrib Sources
Err http://security.debian.org lenny/updates/main Packages
404 Not Found
Err http://ftp.fr.debian.org lenny/main Packages
404 Not Found
Err http://security.debian.org lenny/updates/contrib Packages
404 Not Found
Err http://security.debian.org lenny/updates/main Sources
404 Not Found
Err http://ftp.fr.debian.org lenny/distrib Packages
404 Not Found
Err http://security.debian.org lenny/updates/contrib Sources
404 Not Found
W: Impossible de récupérer http://ftp2.fr.debian.org/debian/dists/leny/main/binary-amd64/Packages 404 Not Found
W: Impossible de récupérer http://security.debian.org/dists/lenny/updates/main/binary-amd64/Packages 404 Not Found
W: Impossible de récupérer http://ftp2.fr.debian.org/debian/dists/leny/contrib/binary-amd64/Packages 404 Not Found
W: Impossible de récupérer http://security.debian.org/dists/lenny/updates/contrib/binary-amd64/Packages 404 Not Found
W: Impossible de récupérer http://ftp.fr.debian.org/debian/dists/lenny/main/binary-amd64/Packages 404 Not Found
W: Impossible de récupérer http://security.debian.org/dists/lenny/updates/main/source/Sources 404 Not Found
W: Impossible de récupérer http://ftp.fr.debian.org/debian/dists/lenny/distrib/binary-amd64/Packages 404 Not Found
W: Impossible de récupérer http://security.debian.org/dists/lenny/updates/contrib/source/Sources 404 Not Found
E: Le téléchargement de quelques fichiers d’index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place.
debian:~# nano /etc/apt/sources.list
debian:~# apt-get install apache2
Lecture des listes de paquets… Fait
Construction de l’arbre des dépendances
Lecture des informations d’état… Fait
E: Impossible de trouver le paquet apache2
debian:~# nano /etc/apt/sources.list
debian:~# apt-get update
Ign http://ftp.fr.debian.org lenny Release.gpg
Ign http://ftp.fr.debian.org lenny/main Translation-fr
Ign http://ftp.fr.debian.org lenny/distrib Translation-fr
Ign http://ftp.fr.debian.org lenny Release
Ign http://ftp.fr.debian.org lenny/main Packages
Ign http://ftp.fr.debian.org lenny/distrib Packages
Ign http://ftp.fr.debian.org lenny/main Packages
Ign http://ftp.fr.debian.org lenny/distrib Packages
Ign http://security.debian.org lenny/updates Release.gpg
Err http://ftp.fr.debian.org lenny/main Packages
404 Not Found
Ign http://security.debian.org lenny/updates/main Translation-fr
Ign http://security.debian.org lenny/updates/contrib Translation-fr
Err http://ftp.fr.debian.org lenny/distrib Packages
404 Not Found
Ign http://security.debian.org lenny/updates Release
Ign http://security.debian.org lenny/updates/main Packages
Ign http://security.debian.org lenny/updates/contrib Packages
Ign http://security.debian.org lenny/updates/main Sources
Ign http://security.debian.org lenny/updates/contrib Sources
Ign http://security.debian.org lenny/updates/main Packages
Ign http://security.debian.org lenny/updates/contrib Packages
Ign http://security.debian.org lenny/updates/main Sources
Ign http://security.debian.org lenny/updates/contrib Sources
Err http://security.debian.org lenny/updates/main Packages
404 Not Found
Err http://security.debian.org lenny/updates/contrib Packages
404 Not Found
Err http://security.debian.org lenny/updates/main Sources
404 Not Found
Err http://security.debian.org lenny/updates/contrib Sources
404 Not Found
W: Impossible de récupérer http://ftp.fr.debian.org/debian/dists/lenny/main/binary-amd64/Packages 404 Not Found
W: Impossible de récupérer http://ftp.fr.debian.org/debian/dists/lenny/distrib/binary-amd64/Packages 404 Not Found
W: Impossible de récupérer http://security.debian.org/dists/lenny/updates/main/binary-amd64/Packages 404 Not Found
W: Impossible de récupérer http://security.debian.org/dists/lenny/updates/contrib/binary-amd64/Packages 404 Not Found
W: Impossible de récupérer http://security.debian.org/dists/lenny/updates/main/source/Sources 404 Not Found
W: Impossible de récupérer http://security.debian.org/dists/lenny/updates/contrib/source/Sources 404 Not Found
E: Le téléchargement de quelques fichiers d’index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place.
[/code]
• Le pare-feu windows de ma machine hôte est désactivé , et aucune règle n’a été mise en place sur mon Debian.
• Je n’arrive pas a pinger le serveur de google 8.8.8.8 alros que j’arrive à l’atteindre avec mon navigateur.
En vous remerciant de votre futur aide et de votre réponse rapide.
Bonne journée.