Hi All, I just discovered that the remi repo has updated versions of firefox. This is good news, but it leads me to a question. Is it possible to exclude all packages except one or two in a repo file? The man page for yum.conf didn't give me any hints. I tried unsuccessfully adding this line: exclude=!firefox*,!xulrunner* Is there a way to set up this repo so that when I run "yum upgrade" it will only check the firefox and xulrunner packages from the remi repo? c
On Tue, Sep 03, 2013 at 07:05:47AM -0400, Carl T. Miller wrote:> > Is there a way to set up this repo so that when I run > "yum upgrade" it will only check the firefox and > xulrunner packages from the remi repo?Add includepkgs=firefox xulrunner to the repo definition for remi. This will _only_ allow those specific packages from remi and exclude everything else. John -- Are you really sure that a floor can't also be a ceiling? -- Maurits Cornelis (M.C.) Escher (1898-1972), Dutch artist, M.C. Escher, His Life and Complete Graphic Work: with a fully illustrated catalogue, Volume 1982, Part 1, H. N. Abrams (1982) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20130903/fe1c80c8/attachment-0002.sig>
John R. Dennison wrote:> On Tue, Sep 03, 2013 at 07:05:47AM -0400, Carl T. Miller wrote: >> >> Is there a way to set up this repo so that when I run >> "yum upgrade" it will only check the firefox and >> xulrunner packages from the remi repo? > > Add > > includepkgs=firefox xulrunner > > to the repo definition for remi. > > This will _only_ allow those specific packages from remi and exclude > everything else.Thanks. That's exactly what I was looking for. And I've made a note to myself to not only search man page for the a string, but to see if there is a separate man page for the config file. c