[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.
Craig,
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...)
[epel-testing-source]
name=Extra Packages for Enterprise Linux 6 - Testing - $basearch - Source
#baseurl=http://download.fedoraproject.org/pub/epel/testing/6/SRPMS
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=testing-source-epel6&arch=$basearch
failovermethod=priority
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1
Arrow down to the enabled=1 line and change it to enabled=0, then write
and quit (:wq!)
-Doc
-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.
- References:
- repo's
- From: "Craig E. Ziegel" <mwtransport@wisperhome.com>
- Re: repo's
- From: Casey Boone <caseyboone@gmail.com>
- Re: repo's
- From: "Craig E. Ziegel" <mwtransport@wisperhome.com>
- Re: repo's
- From: Casey Boone <caseyboone@gmail.com>
- Re: repo's
- From: "Craig E. Ziegel" <mwtransport@wisperhome.com>