F13-Question: Cannot start a new yum immediately after an old "yum update" ends

Adam Williamson awilliam at redhat.com
Tue Apr 6 19:06:30 UTC 2010


On Tue, 2010-04-06 at 11:51 -0700, Jesse Keating wrote:
> On Tue, 2010-04-06 at 14:44 -0400, Seth Vidal wrote:
> > 
> > On Tue, 6 Apr 2010, Adam Williamson wrote:
> > 
> > > However, we already established that the problem case is when it runs
> > > right after you've done a yum operation, in which case the metadata has
> > > already just been refreshed, and it should be using the already-cached
> > > metadata. In that case, does it need to lock?
> > 
> > If the metadata is current then the operation is really quite quick.
> > 
> > If this lock is taking longer than that then it is worth knowing what's 
> > not the same.

> The lock is longer, because PK is downloading content not normally used
> directly by yum (updateinfo IIRC), which makes it not read-only, which
> makes it require the lock.

Mmmm. Still seems like it could be improved, somehow, since what PK is
doing essentially really doesn't interfere with what you're doing with
yum. I guess it would require some re-engineering though :(
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Fedora Talk: adamwill AT fedoraproject DOT org
http://www.happyassassin.net



More information about the test mailing list