Bug 288681
Summary: | yum reports file sizes inconsistently | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jack Tanner <ihok> |
Component: | yum | Assignee: | Seth Vidal <skvidal> |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 7 | CC: | james.antill, mattdm, pmatilai, tim.lauridsen |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-03-12 14:40:08 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
Jack Tanner
2007-09-12 23:39:49 UTC
So you think that the installed package should display the rpm-file size and not the installed size? or do you think the remote package should display the installed size and not the size of what you have to download? Can we have it both ways? The "yum info" case could have another line to describe the download size. And for yum update, I think the size column should list the installed size -- there already is the "Total download size: 171 M" line. From a user's perspective, yum operates on rpms, and less so on their contents. It should by default report rpm-file sizes everywhere for the sake of usability and consistency. Arguably, installed file size is not very relevant when one is doing an update (after all, one already has the package installed, and installed size is unlikely to change dramatically), so there's little reason to try to display the installed file size there. (Therefore, I disagree with comment #2.) But I can see how installed file size is useful when one does "yum info" in order to decide whether or not to install a package, so it could be an additional line there. Installed file size is also useful on installed packages if you're trying to clean up space -- you can judge how worthwhile it is to bother with some particular thing. I'm going to close this wontfix. I believe the behavior it has now is correct. It's consistent for each type of package and it displays the right info in yum info per type of package. None of the arguments so far have convinced me. Got any other arguments? Nope. :) It just looks weird if yum says "Look, I'm going to download a 10M package, and that's an update for this 60M package you have." It's comparing apples and oranges. It could say "Look, I'm going to download 10M (60M uncompressed) package, and that's an update for this 60M uncompressed package you have." It could also be smart in yum info: if (installed) print "Installed Size: 60M" else if (available for download) print "Download Size: 10M" |