yum update/install from a specific repo

PK superprad at gmail.com
Wed Jul 16 23:09:21 UTC 2008


hmm I don't want to change the repo files, prefer to leave them at its
default state and jus have yum do that for me. At least I don't have to do
that with up2date so I'm looking for a similar behaviour.

Thanks,


On Wed, Jul 16, 2008 at 7:05 PM, Rick Stevens <ricks at nerd.com> wrote:

> PK wrote:
>
>> hello:
>>
>> had a quick question. Is there a way to check/install updates from a
>> specific repo through yum. So say I have fedora, livna and atrpms repos on
>> my box, would like to install /update only from fedora. So for example,
>> up2date has a way of getting updates from a specific channel i.e up2date
>> --channel=updates -u.
>>
>> so whats equivalent of that with yum?
>>
>
> Set "enable=0" in all of the repos you have except for updates.  If you
> need to grab something from one of the disabled repos, use
>
>        yum --enablerepo=atrpms update
>
> ----------------------------------------------------------------------
> - Rick Stevens, Systems Engineer                       rps2 at nerd.com -
> - Hosting Consulting, Inc.                                           -
> -                                                                    -
> -          When all else fails, try reading the instructions.        -
> ----------------------------------------------------------------------
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20080716/13bdedd7/attachment-0001.html 


More information about the users mailing list