Bug 503020
| Summary: | rpm reports a large disk space requirement | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Pádraig Brady <p> |
| Component: | rpm | Assignee: | Panu Matilainen <pmatilai> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | rawhide | CC: | bkearney, chrisw, ffesti, jnovy, jwboyer, pmatilai, tmz |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 4.7.0-2.fc11 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-06-03 13:55:13 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: | |||
I don't know what would cause this. The rpm maintainers should be better able to help. Reassigning to rpm. Right, another fix in this area forgot to deal with hardlinks so size of hardlinked files is calculated incorrectly now. Will fix. Fixed in rpm-4.7.0-5.fc12, will pull to F11 too once past the zero-day update flood. rpm-4.7.0-2.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/rpm-4.7.0-2.fc11 rpm-4.7.0-2.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report. |
I noticed an anomaly with %{SIZE} for the git rpm on fedora 11 beta. On fedora 8 I can see the size is around the same as the actual usage: $ rpm -q --qf="%{SIZE}\n" git-core 8543647 $ find $(rpm -ql git-core) -maxdepth 0 -type f | xargs du -b | cut -f1 | (tr '\n' +; echo 0) | bc 8717743 However on fedora 11 the %{SIZE} reports 100MB, which the usage is a more reasonable 15MB: $ rpm -q git git-1.6.2.2-1.fc11.i586 $ rpm -q --qf="%{SIZE}\n" git 100428002 $ find $(rpm -ql git) -maxdepth 0 -type f | xargs du -b | cut -f1 | (tr '\n' +; echo 0) | bc 15864614 What am I missing?