Contenu | Rechercher | Menus

Annonce

Si vous rencontrez des soucis à rester connecté sur le forum (ou si vous avez perdu votre mot de passe) déconnectez-vous et reconnectez-vous depuis cette page, en cochant la case "Me connecter automatiquement lors de mes prochaines visites".
Test de l'ISO d'Ubuntu francophone : nous avons besoin de testeurs pour la version francophone d'Ubuntu 14.04. Liens et informations ici.

#1 Le 27/01/2014, à 12:52

tauriol

Soucis avec apt-get install snmptrapd

Bonjour à tous,

Je viens de récupérer la maintenance d'un serveur sous ubuntu, une veille version et je dois installer snmptrapd mais je n'y arrive pas.

Voici la version:

# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu 8.04.4 LTS"

Avant d'exéctuer la commande je fait:

# apt-get update
Atteint http://old-releases.ubuntu.com hardy Release.gpg
Atteint http://old-releases.ubuntu.com hardy/main Translation-fr
Atteint http://old-releases.ubuntu.com hardy/restricted Translation-fr
Atteint http://old-releases.ubuntu.com hardy/universe Translation-fr
Atteint http://old-releases.ubuntu.com hardy/multiverse Translation-fr
Atteint http://old-releases.ubuntu.com hardy-updates Release.gpg
Atteint http://old-releases.ubuntu.com hardy-updates/main Translation-fr
Atteint http://old-releases.ubuntu.com hardy-updates/restricted Translation-fr
Atteint http://old-releases.ubuntu.com hardy-updates/universe Translation-fr
Atteint http://old-releases.ubuntu.com hardy-updates/multiverse Translation-fr
Atteint http://old-releases.ubuntu.com hardy Release
Atteint http://old-releases.ubuntu.com hardy-updates Release
Atteint http://old-releases.ubuntu.com hardy/main Packages
Atteint http://old-releases.ubuntu.com hardy/restricted Packages
Atteint http://old-releases.ubuntu.com hardy/main Sources
Atteint http://old-releases.ubuntu.com hardy/restricted Sources
Atteint http://old-releases.ubuntu.com hardy/universe Packages
Atteint http://old-releases.ubuntu.com hardy/universe Sources
Atteint http://old-releases.ubuntu.com hardy/multiverse Packages
Atteint http://old-releases.ubuntu.com hardy/multiverse Sources
Atteint http://old-releases.ubuntu.com hardy-updates/main Packages
Atteint http://old-releases.ubuntu.com hardy-updates/restricted Packages
Atteint http://old-releases.ubuntu.com hardy-updates/main Sources
Atteint http://old-releases.ubuntu.com hardy-updates/restricted Sources
Atteint http://old-releases.ubuntu.com hardy-updates/universe Packages
Atteint http://old-releases.ubuntu.com hardy-updates/universe Sources
Atteint http://old-releases.ubuntu.com hardy-updates/multiverse Packages
Atteint http://old-releases.ubuntu.com hardy-updates/multiverse Sources
Ign http://security.ubuntu.com hardy-security Release.gpg
Ign http://security.ubuntu.com hardy-security/main Translation-fr
Ign http://security.ubuntu.com hardy-security/restricted Translation-fr
Ign http://security.ubuntu.com hardy-security/universe Translation-fr
Ign http://security.ubuntu.com hardy-security/multiverse Translation-fr
Ign http://security.ubuntu.com hardy-security Release
Ign http://security.ubuntu.com hardy-security/main Packages
Ign http://security.ubuntu.com hardy-security/restricted Packages
Ign http://security.ubuntu.com hardy-security/main Sources
Ign http://security.ubuntu.com hardy-security/restricted Sources
Ign http://security.ubuntu.com hardy-security/universe Packages
Ign http://security.ubuntu.com hardy-security/universe Sources
Ign http://security.ubuntu.com hardy-security/multiverse Packages
Ign http://security.ubuntu.com hardy-security/multiverse Sources
Err http://security.ubuntu.com hardy-security/main Packages
  404 Not Found [IP : 91.189.91.13 80]
Err http://security.ubuntu.com hardy-security/restricted Packages
  404 Not Found [IP : 91.189.91.13 80]
Err http://security.ubuntu.com hardy-security/main Sources
  404 Not Found [IP : 91.189.91.13 80]
Err http://security.ubuntu.com hardy-security/restricted Sources
  404 Not Found [IP : 91.189.91.13 80]
Err http://security.ubuntu.com hardy-security/universe Packages
  404 Not Found [IP : 91.189.91.13 80]
Err http://security.ubuntu.com hardy-security/universe Sources
  404 Not Found [IP : 91.189.91.13 80]
Err http://security.ubuntu.com hardy-security/multiverse Packages
  404 Not Found [IP : 91.189.91.13 80]
Err http://security.ubuntu.com hardy-security/multiverse Sources
  404 Not Found [IP : 91.189.91.13 80]
W: Impossible de récupérer http://security.ubuntu.com/ubuntu/dists/hardy-security/main/binary-i386/Packages.gz  404 Not Found [IP : 91.189.91.13 80]

W: Impossible de récupérer http://security.ubuntu.com/ubuntu/dists/hardy-security/restricted/binary-i386/Packages.gz  404 Not Found [IP : 91.189.91.13 80]

W: Impossible de récupérer http://security.ubuntu.com/ubuntu/dists/hardy-security/main/source/Sources.gz  404 Not Found [IP : 91.189.91.13 80]

W: Impossible de récupérer http://security.ubuntu.com/ubuntu/dists/hardy-security/restricted/source/Sources.gz  404 Not Found [IP : 91.189.91.13 80]

W: Impossible de récupérer http://security.ubuntu.com/ubuntu/dists/hardy-security/universe/binary-i386/Packages.gz  404 Not Found [IP : 91.189.91.13 80]

W: Impossible de récupérer http://security.ubuntu.com/ubuntu/dists/hardy-security/universe/source/Sources.gz  404 Not Found [IP : 91.189.91.13 80]

W: Impossible de récupérer http://security.ubuntu.com/ubuntu/dists/hardy-security/multiverse/binary-i386/Packages.gz  404 Not Found [IP : 91.189.91.13 80]

W: Impossible de récupérer http://security.ubuntu.com/ubuntu/dists/hardy-security/multiverse/source/Sources.gz  404 Not Found [IP : 91.189.91.13 80]

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.
root@nagios:~#

Lorsque je exécute la commande: apt-get install snmptrapd j'ai le résultat suivant:

# apt-get install snmptrapd
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 snmptrapd

J'ai modifier le fichier /etc/apt/sources.list, j'ai remplacer http://fr.archive.ubuntu.com/ubuntu/ par http://old-releases.ubuntu.com/ubuntu/

#
# deb cdrom:[Ubuntu-Server 8.04.1 _Hardy Heron_ - Release i386 (20080701)]/ hardy main restricted

#deb cdrom:[Ubuntu-Server 8.04.1 _Hardy Heron_ - Release i386 (20080701)]/ hardy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://old-releases.ubuntu.com/ubuntu/ hardy main restricted
deb-src http://old-releases.ubuntu.com/ubuntu/ hardy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://old-releases.ubuntu.com/ubuntu/ hardy-updates main restricted
deb-src http://old-releases.ubuntu.com/ubuntu/ hardy-updates main restricted

## 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
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://old-releases.ubuntu.com/ubuntu/ hardy universe
deb-src http://old-releases.ubuntu.com/ubuntu/ hardy universe
deb http://old-releases.ubuntu.com/ubuntu/ hardy-updates universe
deb-src http://old-releases.ubuntu.com/ubuntu/ hardy-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://old-releases.ubuntu.com/ubuntu/ hardy multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ hardy multiverse
deb http://old-releases.ubuntu.com/ubuntu/ hardy-updates multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ hardy-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://old-releases.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
# deb-src http://old-releases.ubuntu.com/ubuntu/ hardy-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 hardy partner
# deb-src http://archive.canonical.com/ubuntu hardy partner

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

D'après vous qu'est-ce qui cloche?

D'avanc merci de votre aide.

Hors ligne

#2 Le 27/01/2014, à 12:57

jeanjd63

Re : Soucis avec apt-get install snmptrapd

Salut
déjà dans sources.list il faudrait remplacer cela :

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

par ça :

deb http://old-releases.ubuntu.com/ubuntu hardy-security main restricted
deb-src http://old-releases.ubuntu.com/ubuntu hardy-security main restricted
deb http://old-releases.ubuntu.com/ubuntu hardy-security universe
deb-src http://old-releases.ubuntu.com/ubuntu hardy-security universe
deb http://old-releases.ubuntu.com/ubuntu hardy-security multiverse
deb-src http://old-releases.ubuntu.com/ubuntu hardy-security multiverse

puis faire un :
sudo  apt-get  update

etc..

Hors ligne

Haut de page ↑