Find the answer to your Linux question:
Results 1 to 5 of 5
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    problem when installing package via yum


    please me , am trying to install some package in my red hat 5 ,via yum but am unable and getting the following errors :

    [root@ns2 webmail]# yum apache install
    Loading "rhnplugin" plugin
    Loading "security" plugin
    This system is not registered with RHN.
    RHN support will be disabled.
    usage: yum [options] < grouplist, localinstall, groupinfo, localupdate, resolvedep, erase, deplist, groupremove, makecache, upgrade, list-security, provides, shell, install, whatprovides, groupinstall, update, repolist, groupupdate, info, search, check-update, list-sec, list, remove, info-sec, clean, info-security, grouperase >
    i have tried to update my yum it gives the below output:

    [root@ns2 webmail]# yum update
    Loading "rhnplugin" plugin
    Loading "security" plugin
    This system is not registered with RHN.
    RHN support will be disabled.
    Could not retrieve mirrorlist error was
    [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
    Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmforge. Please verify its path and try again

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Boston, MA
    This system is not registered with RHN.
    Perhaps you should either register or use a free (as in beer) RHEL clone like Scientific Linux or CentOS?

  3. #3
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    You could change your yum configuration to look for updates in the CentOS and related repositories.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  4. $spacer_open
  5. #4
    Linux Enthusiast scathefire's Avatar
    Join Date
    Jan 2010
    Western Kentucky
    the first error was you did the command wrong, should be:

    yum install packagename
    the second error is an obvious failure to resolve a name. Perhaps you should try:
    mirrorlist =
    When you use 3rd party repositories, it is highly recommended that you also use yum-priorities.

    base, plugins, updates should be given like 1 or 2. third party repos like rpmforge should be assigned a number like 10, to keep package overlapping from occuring
    linux user # 503963

  6. #5
    for you install apache as below

    yum install httpd*

    it should take you to repositories as mentioned in /etc/yum.repos/***.repo

Posting Permissions

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