'yum --enablerepo' command (Newbie).

Dan grinnz at gmail.com
Tue Apr 11 03:46:22 UTC 2006


Brian Durant wrote:
> I am a Fedora Core 5 PPC64 user and am curious about the 'yum 
> --enablerepo' command. If I wanted to run 'yum --enablerepo=atrpms 
> install w32codec' would yum be able to sort out whether there was a 
> PPC or PPC64 version of "w32codec" or not? Do all repositories also 
> have PPC and PPC64 versions or are there only certain repositories 
> that contain PPC and PPC64 versions, like FreshRPMS?
>
> Cheers,
>
> Brian
>
I'm not sure I fully understand the question. --enablerepo won't place 
any priority on the listed repository(s), it will just enable it if it 
is disabled in the appropriate repo file. Similarly, --disablerepo will 
cause a repository to be disabled for the duration of the command. 
Enabling a repo that is already enabled won't do anything, AFAIK.
-Dan




More information about the fedora-list mailing list