Find the answer to your Linux question:
Results 1 to 5 of 5
yum is not working in my centos5, I am trying to install it but in the first step I found the following error: [root@localhost yum]# wget http://mirror.centos.org/centos-5/5/...el5.2.i386.rpm --14:27:44-- http://mirror.centos.org/centos-5/5/...el5.2.i386.rpm Resolving ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2008
    Posts
    7

    yum not working in centos5


    yum is not working in my centos5, I am trying to install it but in the first step I found the following error:

    [root@localhost yum]# wget http://mirror.centos.org/centos-5/5/...el5.2.i386.rpm
    --14:27:44-- http://mirror.centos.org/centos-5/5/...el5.2.i386.rpm
    Resolving mirror.centos.org... failed: Temporary failure in name resolution.


    any idea?
    thanks

  2. #2
    Linux Guru smolloy's Avatar
    Join Date
    Apr 2005
    Location
    CA, but from N.Ireland
    Posts
    2,414
    You're trying to install yum? Did you delete it?
    Registered Linux user #388328 || Registered LFS user #15880
    AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
    Need instant help? Try us on IRC -- #linuxforums on freenode

  3. #3
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    You shouldn't have to manually install yum on CentOS because its part of the base system, so should be already installed.

  4. #4
    Just Joined!
    Join Date
    Apr 2008
    Posts
    7

    Re

    Thanks 'smolloy' & 'daark.child' for reply

    I didn't delete yum...
    but when I try to install any thing,e.g:
    [root@localhost ~]# yum install zlib
    Loading "installonlyn" plugin
    Setting up Install Process
    Setting up repositories
    Could not retrieve mirrorlist http://mirrorlist.centos.org/?releas...86&repo=extras error was
    [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
    Error: Cannot find a valid baseurl for repo: extras


    I found that error what can I do????

  5. #5
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    Is your internect connection working properly? Is your machine behind a proxy? Try the following
    Code:
    yum --disablerepo=extras install zlib

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •