Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
# Note: yum-RHN-plugin doesn't honor this.
# installonly_limit = 3
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
Oh.. I forgot to let you know whats in /etc/yum.repos.d directory.
--- Centos-Media.repo ---
# This repo is used to mount the default locations for a CDROM / DVD on
# CentOS-5. You can use this repo and yum to install items directly off the
# DVD ISO that we release.
# To use this repo, put in your DVD and use it with the other repos too:
# yum --enablerepo=c5-media [command]
# or for ONLY the media repo, do this:
# yum --disablerepo=\* --enablerepo=c5-media [command]
name=CentOS-5 - Media
# This file uses a new mirrorlist system developed by Lance Davis for CentOS.
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
name=CentOS-5 - Base
#packages used/produced in the build but not released
name=CentOS-5 - Addons
#additional packages that may be useful
name=CentOS-5 - Extras
#additional packages that extend functionality of existing packages
name=CentOS-5 - Plus
If you use a proxy at port 3128 (3128 is typically the port for a proxy server), you need to configure yum to use it. If you fortinet is just a firewall, it should have port 80 opened, not 3128, as the yum servers are approached through the regular http port (80).
Thank you for your advice on the Media. I have disable it. Enclosed repolist.
[root@www ~]# yum repolist all
repo id repo name status
addons CentOS-5 - Addons enabled
base CentOS-5 - Base enabled
c5-media CentOS-5 - Media disabled
centosplus CentOS-5 - Plus enabled
extras CentOS-5 - Extras enabled
rpmforge Red Hat Enterprise 5 - RPMforge.net - da enabled
updates CentOS-5 - Updates enabled