Re: [CentOS] Selectively updating protected repos

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



On Sat, 2006-07-01 at 09:14 -0700, Bart Schaefer wrote:
> On 7/1/06, Bart Schaefer <barton.schaefer@xxxxxxxxx> wrote:
> > Hmm, what would happen if I left out the
> > exclude for base but used the include for plus?
> 
> I tried this with the kernel* packages and it doesn't do what I hoped,
> unless I also turn off protect on base, which sort of defeats the
> purpose.  Oh, well.
> 
> Related question:  How does one get a list of the contents of a repo
> so as to maintain a correct includepkgs line, while still having the
> includepkgs line present?  E.g. suppose some new package is added to
> centosplus that I might want to use to update a base package.  If I
> have an includepkgs line for centosplus, "yum check-update" will never
> show me that a new package is there, because it will ignore everything
> except what's already in the includepkgs line.

How I do it is with a separate config file (not named .repo) that you
can pass in via the command line ...

yum -c /path/to/yum.check.conf


Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[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