Linux commad

Hi,

any one can get it's reason:

Run VM on Virtual-box and found this error while run command.

[root@LBClusterNode01 ~]# yum --disablerepo=\* --enablerepo=c5-media grouplist
Loaded plugins: fastestmirror, refresh-packagekit


Error getting repository data for c5-media, repository not found

I already checked different forums found this should be enable:

 “enabled=0¿

In  """ /etc/yum.repos.d/CentOS-Media.repo  """"

Its already enabled as mentioned but error still same.

Your prompt reply will be appreciative.

BR
Javaid
LVL 2
Shamsul KamalJunior TechAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

rindiCommented:
If I'm not mistaken, the "c5-media" is the CD/DVD, so you would only have to enable that "repo" if you want to install something directly from the installation DVD. Of course the DVD or CD would also have to be present in the drive.
0
Shamsul KamalJunior TechAuthor Commented:
Hi  rindi,

Thanks for quick response, you are correct as you informed, now kindly share how i can enable "repo" in my case. ?

BR
Javaid
0
rindiCommented:
I never install anything directly from the CD/DVD, I prefer using online repo's, as those are more current. So I'm not sure whether the drive must be mounted. The repo itself is enabled the same way as all other repo's. So i suggest you try it when the drive is mounted.

But I still don't see any need for installing from the CD.
0
MazdajaiCommented:
What repo you want to disable?

Try -

yum grouplist
yum --disablerepo=\* --enablerepo=CentOS-Media grouplist

Open in new window

0
slubekCommented:
@smksa: if you edit /etc/yum.repos.d/CentOS-Media.repo you can see that c5-repo has files in /media/CentOS, /media/cdrom or /media/cdrecorder (section [c5-media], parameter baseurl=).

So to use c5-media repo you have to mount your CentOS 5 DVD in /media. If you have default configuration, put your CentOS DVD into your CD reader.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.