Results 1 to 5 of 5
hi
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 ...
- 02-17-2010 #1Just Joined!
- Join Date
- Sep 2007
- Posts
- 40
problem when installing package via yum
hi
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 http://apt.sw.be/redhat/el4/en/mirrors-rpmforge 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
- 02-17-2010 #2Perhaps you should either register or use a free (as in beer) RHEL clone like Scientific Linux or CentOS?This system is not registered with RHN.
- 02-17-2010 #3Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
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!
- 02-17-2010 #4
the first error was you did the command wrong, should be:
the second error is an obvious failure to resolve a name. Perhaps you should try:Code:yum install packagename
When you use 3rd party repositories, it is highly recommended that you also use yum-priorities.Code:/etc/yum.repos.d/rpmforge.repo mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge
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 occuringlinux user # 503963
- 02-17-2010 #5Just Joined!
- Join Date
- Jul 2009
- Posts
- 20
for you install apache as below
yum install httpd*
it should take you to repositories as mentioned in /etc/yum.repos/***.repo


Reply With Quote