Red Hat Bugzilla – Bug 115695
yum upgrade from FC1 to FC2 test1 reports disk space incorrectly
Last modified: 2014-01-21 17:49:19 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040124
Description of problem:
Currently running a fully updated FC1 install, trying to use yum to
upgrade to FC2 test1. Command used to attempt upgrade = 'yum upgrade'.
yum states the upgrade requires 538MB on /. There is currently 1.1gig
available but yum stops with the error:
('installing package kernel-source-2.6.1-1.65 needs 38MB on the /
filesystem', (9, '/', 38875136L))
('installing package gnome-session-2.5.3-1 needs 538MB on the /
filesystem', (9, '/', 563412992L))
Filesystem Size Used Avail Use% Mounted on
/dev/hda2 4.0G 2.8G 1.1G 72% /
/dev/hda1 99M 8.3M 86M 9% /boot
/dev/hda5 6.0G 1.4G 4.3G 24% /home
none 252M 0 252M 0% /dev/shm
/dev/hda3 7.9G 4.9G 2.6G 66% /var
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. change yum.conf to point to new test1 repository
2. manually upgrade fedora-release package
3. yum upgrade
4. answer y to package changes
Actual Results: Error, not enough disk space. Space is available.
Expected Results: Upgrade from FC1 to FC2 test1.
I tried this with the FC1 yum version, and the FC2 test1 version.
The message says "needs", as in requires 538MB additional
to what already exists.
I had the same experience (yum needing space although there was plenty
left), and then I updated piecewise, with
$ yum update 'a*' 'b*' 'c*' 'd*' 'e*' 'f*' 'g*'
and so on, it worked and I still have space left.
I reported it to the yum list, but seth said that it is a bug in rpm
that don't report the right space.