Bonjour,
Hier soir, j'ai voulu installer docker dans ubuntu 18, j'ai rencontrer plusieurs problèmes.
Du coup je me suis vers stackoverflow, d'après ce lien:
https://askubuntu.com/questions/1045547/connection-refused-while-apt-get-update-ubuntu-18-04-over-proxy/1045627
il fallait ajouter dans le le fichier .bashrc cette ligne de code:
alias iiitproxy='export http_proxy="http://proxy.iiit.ac.in:8080"; export https_proxy="http://proxy.iiit.ac.in:8080";export ftp_proxy="http://proxy.iiit.ac.in:8080"; echo "Acquire::http::proxy \"http://proxy.iiit.ac.in:8080/\";" | sudo tee /etc/apt/apt.conf'
et écire ça dans le terminal:
iiitproxy
.
Mais lorsque je fais sudo apt-get update, il m'affiche des messages d'erreurs centrés sur le proxi.iniit:
sudo apt-get update
Err:1 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic InRelease
Could not resolve 'proxy.iiit.ac.in'
Err:2 https://dl.yarnpkg.com/debian stable InRelease
Could not resolve 'proxy.iiit.ac.in'
Err:3 http://security.ubuntu.com/ubuntu bionic-security InRelease
Could not resolve 'proxy.iiit.ac.in'
Err:4 http://archive.ubuntu.com/ubuntu bionic InRelease
Could not resolve 'proxy.iiit.ac.in'
Err:5 https://deb.nodesource.com/node_10.x bionic InRelease
Could not resolve 'proxy.iiit.ac.in'
Err:6 https://download.docker.com/linux/ubuntu bionic InRelease
Could not resolve 'proxy.iiit.ac.in'
Err:7 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease
Could not resolve 'proxy.iiit.ac.in'
Err:8 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Could not resolve 'proxy.iiit.ac.in'
Err:9 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Could not resolve 'proxy.iiit.ac.in'
Err:10 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu bionic InRelease
Could not resolve 'proxy.iiit.ac.in'
Reading package lists... Done
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic/InRelease Could not resolve 'proxy.iiit.ac.in'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease Could not resolve 'proxy.iiit.ac.in'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease Could not resolve 'proxy.iiit.ac.in'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease Could not resolve 'proxy.iiit.ac.in'
W: Failed to fetch https://download.docker.com/linux/ubuntu/dists/bionic/InRelease Could not resolve 'proxy.iiit.ac.in'
W: Failed to fetch http://ppa.launchpad.net/deadsnakes/ppa/ubuntu/dists/bionic/InRelease Could not resolve 'proxy.iiit.ac.in'
W: Failed to fetch https://deb.nodesource.com/node_10.x/dists/bionic/InRelease Could not resolve 'proxy.iiit.ac.in'
W: Failed to fetch http://ppa.launchpad.net/ondrej/php/ubuntu/dists/bionic/InRelease Could not resolve 'proxy.iiit.ac.in'
W: Failed to fetch http://ppa.launchpad.net/openjdk-r/ppa/ubuntu/dists/bionic/InRelease Could not resolve 'proxy.iiit.ac.in'
W: Failed to fetch https://dl.yarnpkg.com/debian/dists/stable/InRelease Could not resolve 'proxy.iiit.ac.in'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Du coup j'ai enlevé cette ligne de code dans le fichier mais l'erreur persiste et je n'arrive plus à update... aidez moi svp 🙁
Merci d'avance!