more than one repo with --disablerepo

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



On Thu, 2006-04-13 at 11:04 -0400, Bowie Bailey wrote:
> Rodrigo Barbosa wrote:
> > 
> > Another interesting trick I use all the time:
> > 
> > yum --disablerepo=* --enablerepo=dag install XXXX
> > 
> > That way, all repos will be disabled, and only the one explicitily
> > listed will be used.
> 
> What I would love to find a way to do is this:
> 
> yum --disablerepo=* --enablerepo=csgfs update
> ...and still allow yum to use the base and update repos to satisfy
> dependencies.
> 
> What I did instead was this:
> 
> yum --disablerepo=* --enablerepo=csgfs check-update
> 

yum --disablerepo=* --enablerepo=csgfs --enablerepo=base --enablerepo=updates update

> I then grabbed the list, extracted the package names and fed them back
> to "yum update".
> 
> The idea was that I wanted to update the csgfs packages and the
> required kernel (and other) packages, but I wanted to hold off on the
> rest of the 4.3 updates.
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.centos.org/pipermail/centos/attachments/20060413/2a685165/attachment.bin

[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