On Mon, 2011-09-19 at 09:26 +0200, Zdeněk Pavlas wrote: > All 'presto' cares about are updates, the other message > (Presto reduced the update size) is explicit in this. > > So maybe just change the message? > --- > yum-presto/presto.py | 5 ++++- > 1 files changed, 4 insertions(+), 1 deletions(-) > > diff --git a/yum-presto/presto.py b/yum-presto/presto.py > index 169e938..fe81143 100644 > --- a/yum-presto/presto.py > +++ b/yum-presto/presto.py > @@ -588,8 +588,11 @@ def predownload_hook(conduit): > repos = set() > reposize = {} > download_pkgs = [] > + install_size = 0 > for po in pkglist: > if po.state != TS_UPDATE and po.name not in installonlypkgs: > + if po.state == TS_INSTALL: > + install_size += po.size
As well as the kernel you need to handle downgrades. This is one of those, the problems goes away if you just merge it into a single download loop (and gets the big feature of allowing delta rebuilds while downloading packages). _______________________________________________ Yum-devel mailing list Yum-devel@lists.baseurl.org http://lists.baseurl.org/mailman/listinfo/yum-devel