[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: repo's

On Fri, 2012-09-14 at 19:55 -0500, Craig E. Ziegel wrote:
> That makes two of us. I rooted cd /etc/yum.repos.d/
> when I type in the repo I want to disable it 
> bash:repo name:command not found...
> Failed to search for file:Operation was cancelled
> I have seen the repo's listed and just arrow down to enable or disable
> just don't know how to do it.


Become root. Then:

# cd /etc/yum.repos.d
# ls *.repo
Pick the one that has a Rawhide stanza.
Open that file with your editor:

        # vi desired.repo
A "stanza" looks like this (obviously not the one you want, but...)
        name=Extra Packages for Enterprise Linux 6 - Testing - $basearch - Source
Arrow down to the enabled=1 line and change it to enabled=0, then write
and quit (:wq!)


To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.