Re: reading installonlypkgs config option?

seth vidal <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <1175787214.19199.11.camel@cutter>
On Thu, 2007-04-05 at 11:26 -0400, Matthew Miller wrote:
> Background: I have hunch that the weird behavior where $1 == 0 in rpm
> scripts on *upgrade* in some cases (causing all sorts of brokenness when it
> happens) is related to transactions which involve kernel upgrades, and
> specifically because those transactions involve installonlypkgs.
> 
> To help test this theory and also as a workaround in case I'm right, I'd
> like to change our auto-update cron script to run `yum update
> {installonlypkgs}` before the general `yum update` command. I could of
> course hardcode a list of things for {installonlypkgs}, but it seemed nicer
> to query for it.
> 
> Is there a particular reason the yum shell 'config' command only accepts a
> certain subset of config values? Could "installonlypkgs" be added to that
> list? That'd be handy.
> 
> Or, is there some other way I'm missing? Thanks!

there's no reason. the ones implemented were the ones that seemed most
likely to be needed.

-sv
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.