IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Administration système Discussion :

l'utilitaire yum ne fonctionne pas sur mon centos


Sujet :

Administration système

  1. #1
    Membre à l'essai
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Avril 2006
    Messages
    12
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Cameroun

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : Conseil

    Informations forums :
    Inscription : Avril 2006
    Messages : 12
    Points : 20
    Points
    20
    Par défaut l'utilitaire yum ne fonctionne pas sur mon centos
    Bonjour,

    je dois installer la librairie graphique QT4 sur un CentOs, sauf que je peu installer uncun paquet mon système ne connais pas la commande "yum".
    Il me renvoie un bash command.

    Merci pour toute solution

  2. #2
    Membre confirmé Avatar de cboudy
    Profil pro
    Ingénieur informatique industrielle
    Inscrit en
    Avril 2006
    Messages
    406
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations professionnelles :
    Activité : Ingénieur informatique industrielle
    Secteur : Conseil

    Informations forums :
    Inscription : Avril 2006
    Messages : 406
    Points : 616
    Points
    616
    Par défaut
    tu as quelle version de centos ?

  3. #3
    Rédacteur

    Avatar de ok.Idriss
    Homme Profil pro
    IS Consultant
    Inscrit en
    Février 2009
    Messages
    5 220
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 33
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : IS Consultant
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Février 2009
    Messages : 5 220
    Points : 19 452
    Points
    19 452
    Par défaut
    Bonsoir.

    Es-tu en root avec les bonnes variables d'environnement ? (yum n'est peut être pas dans ton PATH dans le cas contraire).

    Cordialement,
    Idriss

  4. #4
    Membre à l'essai
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Avril 2006
    Messages
    12
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Cameroun

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : Conseil

    Informations forums :
    Inscription : Avril 2006
    Messages : 12
    Points : 20
    Points
    20
    Par défaut
    j'utilise la version 5.6 de centos

  5. #5
    Rédacteur

    Avatar de ok.Idriss
    Homme Profil pro
    IS Consultant
    Inscrit en
    Février 2009
    Messages
    5 220
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 33
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : IS Consultant
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Février 2009
    Messages : 5 220
    Points : 19 452
    Points
    19 452
    Par défaut
    Bonjour.

    Essayes en root en chargeant les bonnes variables d'environnement :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    [ ~] su -
    root's password:
    [ $] yum install ...
    ça donnes quoi ?

    Si ça ne fonctionne toujours pas, renvoie nous (en restant en root) :

    Cordialement,
    Idriss

  6. #6
    Membre à l'essai
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Avril 2006
    Messages
    12
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Cameroun

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : Conseil

    Informations forums :
    Inscription : Avril 2006
    Messages : 12
    Points : 20
    Points
    20
    Par défaut
    Merci,

    mais ça ne marche pas
    Images attachées Images attachées  

  7. #7
    Membre à l'essai
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Avril 2006
    Messages
    12
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Cameroun

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : Conseil

    Informations forums :
    Inscription : Avril 2006
    Messages : 12
    Points : 20
    Points
    20
    Par défaut
    En faite je pense que le paquet n'est pas présent et donc ne peut s'installer

    tous les lien avec "wget" ne marchent pas

    existe t-il une autre façon d'installer un paquet?

    Merci

    par ailleurs j'ai

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    $ echo root
    $ /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

  8. #8
    Membre chevronné Avatar de jeanbi
    Profil pro
    Inscrit en
    Avril 2003
    Messages
    1 703
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Avril 2003
    Messages : 1 703
    Points : 2 247
    Points
    2 247
    Par défaut
    bonjour,
    avant de chercher , serai bon de savoir si yum est installe
    whereis yum
    la reponse doit etre
    whereis yum
    yum: /usr/bin/yum /etc/yum /etc/yum.conf /usr/share/man/man8/yum.8.gz
    centos peut utiliser apt
    whereis apt
    a+

  9. #9
    Rédacteur

    Avatar de ok.Idriss
    Homme Profil pro
    IS Consultant
    Inscrit en
    Février 2009
    Messages
    5 220
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 33
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : IS Consultant
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Février 2009
    Messages : 5 220
    Points : 19 452
    Points
    19 452
    Par défaut
    Bonsoir.

    Citation Envoyé par bertybert Voir le message
    existe t-il une autre façon d'installer un paquet?
    Avec la commande rpm pour les packages rpm mais ça ne gère pas les dépendances ... Sinon en recompilant le contenu d'archives .tar.gz etc

    Bref, l'idéal c'est que yum soit installé (ce qui devrait normalement être le cas sous une CentOS 5). Essayes de faire un whereis comme te l'a indiqué jeanbi.

    Cordialement,
    Idriss

  10. #10
    Membre à l'essai
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Avril 2006
    Messages
    12
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Cameroun

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : Conseil

    Informations forums :
    Inscription : Avril 2006
    Messages : 12
    Points : 20
    Points
    20
    Par défaut
    salut,

    un whereis yum renvoie:

    yum:
    et rien d'autre

    Merci

  11. #11
    Expert éminent sénior Avatar de frp31
    Homme Profil pro
    Ingénieur systèmes et réseaux
    Inscrit en
    Juillet 2006
    Messages
    5 196
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 47
    Localisation : France, Haute Garonne (Midi Pyrénées)

    Informations professionnelles :
    Activité : Ingénieur systèmes et réseaux
    Secteur : Aéronautique - Marine - Espace - Armement

    Informations forums :
    Inscription : Juillet 2006
    Messages : 5 196
    Points : 12 264
    Points
    12 264
    Par défaut
    si le whereis ne répond rien c'est que yum n'"est pas présent.
    donc faut pas chercher plus loin...

    faut le mettre en place, ou utiliser rpm de façon classique et manuelle
    pour ce qui concerne les dépendances.

  12. #12
    Membre à l'essai
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Avril 2006
    Messages
    12
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Cameroun

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : Conseil

    Informations forums :
    Inscription : Avril 2006
    Messages : 12
    Points : 20
    Points
    20
    Par défaut
    Merci

    et c'est ce pourquoi j'ai publié cette requête.

    en faite j'ai essayé pas mal de chose pour mettre en place yum sur mon centos mais ça n'a pas marché.

    je souhaite avoir une procédure efficace qui marcherait à tous les coups

    Merci

  13. #13
    Invité
    Invité(e)
    Par défaut
    Salut,

    Ton vps est-il hebergé chez ovh à tout hasard?

    http://wiki.centos.org/TipsAndTricks/BrokenVserver


    2. I don't have yum on my CentOS installation

    If yum is not installed and working, it is not CentOS. If you have a installation 'based on' or 'derived from' CentOS, but yum is missing, you don't have a real CentOS installation. It is not really possible for non-developers to install CentOS without installing yum.

    Several VPS (Virtual Server) providers and some downstream forks of CentOS and its management tools (think: OpenVZ, cPanel, Plesk, webmin, Direct Admin, BlueQuartz, Asterisk, Trixbox, Elastix) seem to install only parts of CentOS on their virtual servers. Some then also remove yum from the installation, or alter the settings of the yum configurations. Some 'manage' the box outside of the package management system. See also the Other Voices page for a list of more fork tines, derived in whole or in part from CentOS.

    Why they do it is unclear. Maybe they try to make it harder for you to overwrite their kernel. Perhaps they do it from ignorance or sloth. The CentOS view of this is that such an approach is ill-considered. yum has mechanisms to protect specific packages from change. Perhaps, they cannot figure out how to read: man yum for the 'exclude' option; or perhaps they want to avoid support calls and are willing to sell a system which cannot be updated with facility. The second way, when the machine gets compromised though some newly emerged exploit which they prevented patching away, they can charge you for a full reinstall or restore from backups.

    Before you try anything: Please STOP, and ask your VPS provider why they removed yum and how you are supposed to keep your system up to date without yum. This article makes some assumptions, such that simply blindly following advice below might break your system if there is more than just the kernel package which has to be protected!
    http://wiki.centos.org/AdditionalResources/OtherVoices


    OVH

    OVH is providing a modified CentOS version with a modified kernel (2.6.38.2-grs (OVH)) and few others things. See the discussion on their forum (in French): http://forum.ovh.com/showthread.php?t=60009

  14. #14
    Membre à l'essai
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Avril 2006
    Messages
    12
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Cameroun

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : Conseil

    Informations forums :
    Inscription : Avril 2006
    Messages : 12
    Points : 20
    Points
    20
    Par défaut
    j'utilise effectivement un VPS d'un provider et je commence à pensé que c'est un centos modifié.

    Si je dois comprendre c'est compliqué d'installer dans ces conditions yum sans passé par mon provider?

  15. #15
    Membre à l'essai
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Avril 2006
    Messages
    12
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Cameroun

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : Conseil

    Informations forums :
    Inscription : Avril 2006
    Messages : 12
    Points : 20
    Points
    20
    Par défaut
    Non c'est pas ovh

    jusqu’à présent je suis toujours dans l'impasse
    je n'ai pas toujours installé yum

    ceci " wget http://mirror.centos.org/centos-4/4.6/os/i386/CentOS/RPMS/centos-release-4-4.4.i386.rpm" ne marche pas je reçois toujours un "404 Not Found"

  16. #16
    Invité
    Invité(e)
    Par défaut
    Salut,

    Le mieux serait de contacter le support de ton provider et de lui demander quel gestionnaire de package est installé sur les vps.

  17. #17
    Membre confirmé Avatar de cboudy
    Profil pro
    Ingénieur informatique industrielle
    Inscrit en
    Avril 2006
    Messages
    406
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations professionnelles :
    Activité : Ingénieur informatique industrielle
    Secteur : Conseil

    Informations forums :
    Inscription : Avril 2006
    Messages : 406
    Points : 616
    Points
    616
    Par défaut
    Citation Envoyé par bertybert Voir le message
    Non c'est pas ovh

    jusqu’à présent je suis toujours dans l'impasse
    je n'ai pas toujours installé yum

    ceci " wget http://mirror.centos.org/centos-4/4.6/os/i386/CentOS/RPMS/centos-release-4-4.4.i386.rpm" ne marche pas je reçois toujours un "404 Not Found"
    en même temps c'est normal si tu utilises ton navigateur tu as une erreur 404 aussi, cette version est déconseillée dixit http://mirror.centos.org/centos-4/4.6/readme

Discussions similaires

  1. ssh ne fonctionne pas sur mon routeur
    Par supcomingenieur dans le forum Réseau
    Réponses: 3
    Dernier message: 25/07/2013, 16h07
  2. Le rewriting ne fonctionne pas sur mon serveur
    Par Regis0122 dans le forum Apache
    Réponses: 2
    Dernier message: 30/01/2010, 20h58
  3. Réponses: 2
    Dernier message: 23/04/2008, 12h17
  4. mod_rewrite ne fonctionne pas sur mon serveur
    Par lsamourail dans le forum Apache
    Réponses: 2
    Dernier message: 13/01/2008, 13h55
  5. [NASM] Int 21h qui ne fonctionne pas sur mon mini OS
    Par andromeda dans le forum Assembleur
    Réponses: 4
    Dernier message: 07/04/2007, 18h03

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo