[Yum-devel] yum, yum-cron & background downloading

Zdeněk Pavlas zpavlas at redhat.com
Mon Sep 10 13:51:25 UTC 2012


Just an idea.. Yum-cron can download updates to user cachedir without
holding the /var/run/yum.pid lock.  'yum update' then just preloads
RPMs from the user cachedir.

- Must preload before 'predownload' hook, otherwise presto etc would
  try to download it anyway.

- Source is user-writable, do an extra copy before verifyLocalPkg().
  I can't think of a safe way to avoid this.


More information about the Yum-devel mailing list