Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be available on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 235892 - Yum miscaculates disk space requirements
Summary: Yum miscaculates disk space requirements
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Panu Matilainen
QA Contact:
: 233391 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2007-04-10 17:32 UTC by Kwan Lowe
Modified: 2014-01-21 22:57 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2007-08-28 05:37:38 UTC
Type: ---

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

Description Kwan Lowe 2007-04-10 17:32:19 UTC
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 17:32:19 UTC
Created attachment 152160 [details]
Full output of yum update session

Comment 2 Kwan Lowe 2007-04-10 17:34:53 UTC
*** Bug 233391 has been marked as a duplicate of this bug. ***

Comment 3 Jeff Johnson 2007-04-30 22:25:26 UTC
rpmlib disk space calculation will never be correct until #209306 is fixed.

Comment 4 Panu Matilainen 2007-08-10 11:47:38 UTC
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 05:37:38 UTC
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.