[Centos] Yum configuration question

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



Ignacio Vazquez-Abrams wrote:

>On Fri, 2005-03-04 at 16:45 -0500, James B. Byrne wrote:
>  
>
>>I am installing the ClamAV package from Dag's depository.  Is it 
>>possible to configure Yum to get specific packages only from a 
>>particular depository?  The reason that I ask this is that I do not 
>>want to get any updates from http://dag.wieers.com/packages other 
>>than for the particular packages that I install from there.  I 
>>would love to be able to run yum update and pick up the new clamav 
>>packages but not if this also means updating things like webmin as 
>>well.
>>    
>>
>
>Just leave "enabled=0" in the section for dag and pass
>"--enablerepo=dag" to yum to temporarily enable it for when you
>want/need it.
>  
>
Just to be clear, combine Ignacio's technique with yum update <pgkname> 
to do what your describing.

You could also technically do this with every single yum config so you 
would have to enable each repo explicitly if you wanted to ultimate in 
flexiblity (and annoyance).

Jonathan

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux