Red Hat Bugzilla – Bug 175789
yum does not subtract cached packages from download total
Last modified: 2014-01-21 17:53:26 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
Description of problem:
yum does not show account for cached packages when displaying the size to download. This results in users thinking they have to redownload 2+ GB of updates for their full install.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. yum update
2. Cancel, or update fails
3. yum update
at this point in the process we don't even know that we have _any_ cached packages.
so we can't do this easily.
We could do it with a fair bit of code shuffling but I don't think it's really
worth doing. The benefit is extremely minimal.
The benefit is that users can understand exactly how much amount of stuff they
need to download. For low bandwidth users this can mean a lot. The current
process does not take cache data into account and is pretty misleading. If the
amount of code required to provide this information is large, then can you
change the message to indicate that it does not take cache into account?