Bug 175789

Summary: yum does not subtract cached packages from download total
Product: [Fedora] Fedora Reporter: John Mahowald <jpmahowald>
Component: yumAssignee: Jeremy Katz <katzj>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: katzj, sundaram
Target Milestone: ---   
Target Release: ---   
Hardware: noarch   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-12-19 06:06:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description John Mahowald 2005-12-15 00:09:57 UTC
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):


How reproducible:
Always

Steps to Reproduce:
1. yum update
2. Cancel, or update fails
3. yum update
  

Additional info:

Comment 1 Seth Vidal 2005-12-19 06:06:24 UTC
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.

Comment 2 Rahul Sundaram 2005-12-19 12:07:31 UTC
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?