-
Problème de paquets
J'ai un souci sous virtualbox, lorsque j'essaye d'installer un paquet sur l'ubuntu de ma VM, il me dit à chaque fois qu'il est "Impossible de trouver le paquet xxx.." et je galère à trouver une solution pour résoudre ce problème, si quelqu'un a une idée..
-
Bonjour,
Commencons par les question betes :
1. Ta VM est bien connectée à l'internet ? Par exemple, tu ping www. google. com ?
2. Quelle commande utilises-tu pour récupérer tes paquets ?
3. Est-ce que tu tapes test commandes avec "sudo" ?
4. Est-ce que tu as installé ta VM avec un cd ou fait une netinstall ? Si tu es passé par un cd, vérifies que tu as les dépots nécessaires dans /etc/apt/sources.list et qu'ils sont décommentés...
-
1. J'arrive à accéder via firefox, par contre je n'arrive étonnamment pas à pinger google, je suis derrière un proxy pourtant j'ai bien fait les export :
export http_proxy="http://@proxy:port"
export ftp_proxy="http://@proxy:port"
2. sudo apt-get install ...
3. Oui, par conséquent
4. J'ai essayé de changer les dépôts en mettant dans le fichier sources.list :
deb http://fr.archive.ubuntu.com/ubuntu karmic main
deb http://fr.archive.ubuntu.com/ubuntu karmic restricted
deb http://fr.archive.ubuntu.com/ubuntu karmic universe
deb http://fr.archive.ubuntu.com/ubuntu karmic multiverse
deb http://fr.archive.ubuntu.com/ubuntu karmic-updates main
deb http://fr.archive.ubuntu.com/ubuntu karmic-updates restricted
deb http://fr.archive.ubuntu.com/ubuntu karmic-updates universe
deb http://fr.archive.ubuntu.com/ubuntu karmic-updates multiverse
deb http://fr.archive.ubuntu.com/ubuntu karmic-security main
deb http://fr.archive.ubuntu.com/ubuntu karmic-security restricted
deb http://fr.archive.ubuntu.com/ubuntu karmic-security universe
deb http://fr.archive.ubuntu.com/ubuntu karmic-security multiverse
-
As-tu activé l'utilisation d'APT derrière un proxy ?
Dans /etc/apt/apt.conf, il faut rajouter la ligne suivante (de mémoire) :
Code:
Acquire::http::Proxy "http://IP:PORT";
en indiquant les valeurs d'IP et le PORT d'écoute de ton proxy bien sur.
-
J'avais pas le fichier mais j'suis allé configurer dans synaptic en mettant le proxy et port puis j'ai fait un apt-get update et après ca a marché pour l'install, merci en tout cas ;)