more than one repo with --disablerepo

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



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

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.

-- 
Bowie

[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