Problème apt-get

Fermé
MrFreeze - 15 mai 2009 à 09:24
 MrFreeze - 15 mai 2009 à 17:01
Bonjour,
je suis actuellement en 1ère année de BTS Informatique et je dois, à l'occasion de mon stage, superviser le logiciel de monitoring : Nagios. J'ai décidé d'installer Centréon afin d'améliorer sa gestion, j'ai cru comprendre qu'il me fallait installer pour cela mysql-server.

Or, je n'y connais pas grand chose dans ce domaine, et encore moins dans Linux. Lorsque je lance lance la commande apt-get install mysql-server (pour n'importe quel apt-get d'ailleurs, même le update),
j'obtiens ceci :

root@nagios:/etc/nagios3/conf.d# apt-get update
Err http://fr.archive.ubuntu.com intrepid Release.gpg
Ne parvient pas à résoudre « http »
Err http://fr.archive.ubuntu.com intrepid/main Translation-fr
Ne parvient pas à résoudre « http »
Err http://fr.archive.ubuntu.com intrepid/restricted Translation-fr
Ne parvient pas à résoudre « http »
Err http://fr.archive.ubuntu.com intrepid/universe Translation-fr
Ne parvient pas à résoudre « http »
Err http://fr.archive.ubuntu.com intrepid/multiverse Translation-fr
Ne parvient pas à résoudre « http »
Err http://fr.archive.ubuntu.com intrepid-updates Release.gpg
Ne parvient pas à résoudre « http »
Err http://fr.archive.ubuntu.com intrepid-updates/main Translation-fr
Ne parvient pas à résoudre « http »
Err http://fr.archive.ubuntu.com intrepid-updates/restricted Translation-fr
Ne parvient pas à résoudre « http »
Err http://fr.archive.ubuntu.com intrepid-updates/universe Translation-fr
Ne parvient pas à résoudre « http »
Err http://fr.archive.ubuntu.com intrepid-updates/multiverse Translation-fr
Ne parvient pas à résoudre « http »
Err http://fr.archive.ubuntu.com intrepid-backports Release.gpg
Ne parvient pas à résoudre « http »
Err http://fr.archive.ubuntu.com intrepid-backports/main Translation-fr
Ne parvient pas à résoudre « http »
Err http://fr.archive.ubuntu.com intrepid-backports/restricted Translation-fr
Ne parvient pas à résoudre « http »
Err http://fr.archive.ubuntu.com intrepid-backports/universe Translation-fr
Ne parvient pas à résoudre « http »
Err http://fr.archive.ubuntu.com intrepid-backports/multiverse Translation-fr
Ne parvient pas à résoudre « http »
Err http://archive.canonical.com intrepid Release.gpg
Ne parvient pas à résoudre « http »
Err http://archive.canonical.com intrepid/partner Translation-fr
Ne parvient pas à résoudre « http »
Err https://ubuntu.com/security/notices intrepid-security Release.gpg
Ne parvient pas à résoudre « http »
Err https://ubuntu.com/security/notices intrepid-security/main Translation-fr
Ne parvient pas à résoudre « http »
Err https://ubuntu.com/security/notices intrepid-security/restricted Translation-fr
Ne parvient pas à résoudre « http »
Err https://ubuntu.com/security/notices intrepid-security/universe Translation-fr
Ne parvient pas à résoudre « http »
Err https://ubuntu.com/security/notices intrepid-security/multiverse Translation-fr
Ne parvient pas à résoudre « http »
Lecture des listes de paquets... Fait
W: Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/intrepid/Release.gpg Ne parvient pas à résoudre « http »

W: Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/intrepid/main/i18n/Translation-fr.bz2 Ne parvient pas à résoudre « http »

W: Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/intrepid/restricted/i18n/Translation-fr.bz2 Ne parvient pas à résoudre « http »

W: Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/intrepid/universe/i18n/Translation-fr.bz2 Ne parvient pas à résoudre « http »

W: Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/intrepid/multiverse/i18n/Translation-fr.bz2 Ne parvient pas à résoudre « http »

W: Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/intrepid-updates/Release.gpg Ne parvient pas à résoudre « http »

W: Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/intrepid-updates/main/i18n/Translation-fr.bz2 Ne parvient pas à résoudre « http »

W: Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/intrepid-updates/restricted/i18n/Translation-fr.bz2 Ne parvient pas à résoudre « http »

W: Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/intrepid-updates/universe/i18n/Translation-fr.bz2 Ne parvient pas à résoudre « http »

W: Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/intrepid-updates/multiverse/i18n/Translation-fr.bz2 Ne parvient pas à résoudre « http »

W: Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/intrepid-backports/Release.gpg Ne parvient pas à résoudre « http »

W: Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/intrepid-backports/main/i18n/Translation-fr.bz2 Ne parvient pas à résoudre « http »

W: Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/intrepid-backports/restricted/i18n/Translation-fr.bz2 Ne parvient pas à résoudre « http »

W: Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/intrepid-backports/universe/i18n/Translation-fr.bz2 Ne parvient pas à résoudre « http »

W: Impossible de récupérer http://fr.archive.ubuntu.com/ubuntu/dists/intrepid-backports/multiverse/i18n/Translation-fr.bz2 Ne parvient pas à résoudre « http »

W: Impossible de récupérer http://archive.canonical.com/ubuntu/dists/intrepid/Release.gpg Ne parvient pas à résoudre « http »

W: Impossible de récupérer http://archive.canonical.com/ubuntu/dists/intrepid/partner/i18n/Translation-fr.bz2 Ne parvient pas à résoudre « http »

W: Impossible de récupérer http://security.ubuntu.com/ubuntu/dists/intrepid-security/Release.gpg Ne parvient pas à résoudre « http »

W: Impossible de récupérer http://security.ubuntu.com/ubuntu/dists/intrepid-security/main/i18n/Translation-fr.bz2 Ne parvient pas à résoudre « http »

W: Impossible de récupérer http://security.ubuntu.com/ubuntu/dists/intrepid-security/restricted/i18n/Translation-fr.bz2 Ne parvient pas à résoudre « http »

W: Impossible de récupérer http://security.ubuntu.com/ubuntu/dists/intrepid-security/universe/i18n/Translation-fr.bz2 Ne parvient pas à résoudre « http »

W: Impossible de récupérer http://security.ubuntu.com/ubuntu/dists/intrepid-security/multiverse/i18n/Translation-fr.bz2 Ne parvient pas à résoudre « http »

W: 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.
W: Vous pouvez lancer « apt-get update » pour corriger ces problèmes.


J'ai beaucoup cherché sur le net mais sans grand succès malheureusement :s
J'ai cru comprendre que les fichiers sources.list ou resolv.conf étaient impliqués mais je n'en sais pas plus !

Donc voila, si vous pouviez m'aider ça me retirerai une grosse épine du pied :)

Cordialement
A voir également:

10 réponses

Hello,

question bete mais cette machine est bien connecté a internet ?
si tu utilise un proxy il faut penser a renseigner les variable $http_proxy
xxx.xxx.xxx.xxx = ip du proxy
port = port du proxy

il faut renseigner ceci dans ton .bashrc
export http_proxy=http://login:pass@xxx.xxx.xxx.xxx:port

et sa dans le /etc/apt/apt.conf
Acquire::http::Proxy "http://login:pass@xxx.xxx.xxx.xxx:port";
0
Merci de ta réponse,

oui je suis bien connecté à l'internet, maisen ce qui concerne le proxy je n'en ai absolument aucune idée !
Comment savoir si l'on en a un ? Et du coup comment obtenir son ip et son port ?
0
Mwarf,
j'ai trouvé le site http://www.monip.org/ qui permet apparemment de détecter si un proxy est utilisé, je n'en ai pas :(

Quelqu'un a t-il une solution ?

Cordialement
0
a partir de cette meme machine tu as arrives a surfer ?
0
Oui :/

j'utilise putty, et vnc viewer pour accéder à distance à cette machine si ça peut être utile.
0

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
euh attend il manque pas "ubuntu" apres l'adresse internet ?

http://fr.archive.ubuntu.com/ubuntu/
0
En effet je crois qu'il manque bien un "ubuntu" !

Voici mon fichier sources.list, si c'est bien le fichier en rapport avec ces messages :

root@nagios:/etc/apt# more sources.list
#deb cdrom:[Ubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.5)]/ intrepid main restricted
# See https://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://fr.archive.ubuntu.com/ubuntu/ intrepid main restricted
#deb-src http://fr.archive.ubuntu.com/ubuntu/ intrepid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted
#deb-src http://fr.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://fr.archive.ubuntu.com/ubuntu/ intrepid universe
#deb-src http://fr.archive.ubuntu.com/ubuntu/ intrepid universe
deb http://fr.archive.ubuntu.com/ubuntu/ intrepid-updates universe
#deb-src http://fr.archive.ubuntu.com/ubuntu/ intrepid-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://fr.archive.ubuntu.com/ubuntu/ intrepid multiverse
#deb-src http://fr.archive.ubuntu.com/ubuntu/ intrepid multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse
#deb-src http://fr.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://fr.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
#deb-src http://fr.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
deb http://archive.canonical.com/ubuntu/ intrepid partner
#deb-src http://archive.canonical.com/ubuntu/ intrepid partner

deb http://security.ubuntu.com/ubuntu/ intrepid-security main restricted
#deb-src http://security.ubuntu.com/ubuntu/ intrepid-security main restricted
deb http://security.ubuntu.com/ubuntu/ intrepid-security universe
#deb-src http://security.ubuntu.com/ubuntu/ intrepid-security universe
deb http://security.ubuntu.com/ubuntu/ intrepid-security multiverse
#deb-src http://security.ubuntu.com/ubuntu/ intrepid-security multiverse

Je n'ai peut-être pas bien regardé mais je n'ai pas l'impression qu'il manque un "ubuntu" ici :s

Cordialement
0
erf c'est moi qui dit n'importe quoi ...

tu te connectes comment a internet ? dhcp ?
0
Heuuuu :o

Je ne sais pas, à vrai dire le réseau c'est pas mon dada. J'y comprends pas grand chose encore.

Comment je fais pour savoir comment je me connecte ?
0
regarde dans ton fichier /etc/network/interfaces

sa c'est ip fixe
auto eth0
iface eth0 inet static
address xx.xx.xx.xx
netmask xx.xx.xx.xx
gateway xx.xx.xx.xx



sa c'est dhcp
auto eth0
iface eth0 inet dhcp


pendnant qu'on y est donne le resultat de

ifconfig
0
root@nagios:/etc/network# cat interfaces

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 10.16.9.22
netmask 255.255.0.0
network 10.16.0.0
broadcast 255.255.0.0
gateway 10.16.1.100
dns-nameservers 84.103.237.144 86.64.145.144


root@nagios:/etc/network# ifconfig

eth0 Link encap:Ethernet HWaddr 00:22:15:d5:15:8a
inet addr:10.16.9.22 Bcast:255.255.0.0 Mask:255.255.0.0
inet6 addr: fe80::222:15ff:fed5:158a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:344166 errors:0 dropped:4030754070 overruns:0 frame:0
TX packets:133860 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:33284175 (33.2 MB) TX bytes:92195184 (92.1 MB)
Interrupt:220 Base address:0xe000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:32250 errors:0 dropped:0 overruns:0 frame:0
TX packets:32250 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:39451526 (39.4 MB) TX bytes:39451526 (39.4 MB)

root@nagios:/etc/network#

Voilà
0
Personne ne peut m'aider ? :/
0