[CentOS-devel] yum update behavior plugin
charlieb-centos-devel at budge.apana.org.au
Sun Aug 13 10:23:57 UTC 2006
On Sat, 12 Aug 2006, David HrbÃ¡Ä~M wrote:
> Karanbir Singh napsal(a):
>> what I'd like to end up with is that if in a yum update process, there
>> is an update to yum itself - that yum update should run first, once
>> done, yum should then restart and run through the rest of yum update.
> Well, plugin to remove all packages but yum, if yum is within updated
> packages, is easy to write. But plugin can only stop yum execution and I
> can't see way to run yum again after yum update by itself.
I don't see why yum couldn't update yum, then exec the new yum program,
listing the remaining packages as install arguments. You'd need to unlock
the lock file before calling execve.
More information about the CentOS-devel