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

Seth Vidal skvidal at fedoraproject.org
Tue Apr 6 18:14:59 UTC 2010



On Tue, 6 Apr 2010, Adam Williamson wrote:

> Since checking for updates is a read-only operation, does it actually
> need to lock other operations out of the database? The worst I can think
> could happen is the resulting information on available updates could be
> slightly inaccurate, but if it's made a non-blocking operation it could
> be done more frequently probably without anyone noticing, so even if it
> winds up being slightly off for a bit, it would fairly quickly be fixed.


checking for updates isn't read-only. It's downloading new metadata. Now, 
for the user-run - it's fine - but for root-run - it needs to lock.

-sv



More information about the test mailing list