Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 235892 - Yum miscaculates disk space requirements
Yum miscaculates disk space requirements
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Panu Matilainen
: 233391 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2007-04-10 13:32 EDT by Kwan Lowe
Modified: 2014-01-21 17:57 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-08-28 01:37:38 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Full output of yum update session (17.95 KB, text/plain)
2007-04-10 13:32 EDT, Kwan Lowe
no flags Details

  None (edit)
Description Kwan Lowe 2007-04-10 13:32:19 EDT
Previous bug 233391 against test:

Description of problem:
yum miscalculates disk requirements when disk space is low:
Transaction Summary
Install      0 Package(s)
Update      52 Package(s)
Remove       0 Package(s)

Total download size: 76 M

Error Summary
Disk Requirements:
  At least 5732MB needed on the /usr filesystem.

[root] xm-fc7-001 ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
                      1.9G  1.7G  119M  94% /usr

Version-Release number of selected component (if applicable):

How reproducible:
Run "yum update" with less space than required for updates.

Steps to Reproduce:
1. Run yum update with less space than needed for proper installation

Actual results:
yum reports that Disk Requirements are close to 6Gig whereas the proper number
is about 50M extra needed.

Expected results:

yum disk space number should be correct
Additional info:

Possibly related to bug id=209980
Comment 1 Kwan Lowe 2007-04-10 13:32:19 EDT
Created attachment 152160 [details]
Full output of yum update session
Comment 2 Kwan Lowe 2007-04-10 13:34:53 EDT
*** Bug 233391 has been marked as a duplicate of this bug. ***
Comment 3 Jeff Johnson 2007-04-30 18:25:26 EDT
rpmlib disk space calculation will never be correct until #209306 is fixed.
Comment 4 Panu Matilainen 2007-08-10 07:47:38 EDT
If the miscalculation was due to #209306 then it should be fixed in current
rawhide / f8-test1 - can you verify please?
Comment 5 Panu Matilainen 2007-08-28 01:37:38 EDT
rpm has been pushed to F7 updates which should fix or at least help
considerably. If not, feel free to reopen.

Note You need to log in before you can comment on or make changes to this bug.