[Yum] overly cautious free space checking?

Robert P. J. Day rpjday at mindspring.com
Thu Oct 27 13:49:07 UTC 2005


On Thu, 27 Oct 2005, seth vidal wrote:

> On Thu, 2005-10-27 at 14:31 +0200, Hans-Peter Jansen wrote:
> > Am Donnerstag, 27. Oktober 2005 12:46 schrieb Robert P. J. Day:
> > >   on a new install of FC4, trying to do a full update appears to be
> > > failing because yum calculates that it doesn't have enough space in
> > > /usr to complete the update.
> > >
> > >   /usr has 2.7G free but there are 553 packages listed to be updated.
> > > i'm pretty sure there was an option to force yum to ignore space
> > > issues, no?  i'm assuming that 2.7G of free space should be enough
> > > for the update to complete and that yum is just being incredibly
> > > cautious here and that i can just bypass that check.
> >
> > Try:
> >
> > [main]
> > [...]
> > # don't stat all fs: (which possibly leads to hanging (autofs/nfs))
> > diskspacecheck=0
>
> yes, that will work - but to be clear - this isn't yum's check. Yum is
> just relaying the diskspacecheck message from rpm.

hmmm ... no command-line option?  ok.

rday

p.s.  just thinking out loud but would it be unreasonable for yum to
print a reference to that workaround under these circumstances?
clearly, what i was doing was a bit extreme -- trying to update a
fresh FC4 install months after its official release which represented
an update of 500+ packages, but it's not hard to imagine the
occasional person doing this and failing the same way and not knowing
what to do at that point.

just a thought.



More information about the Yum mailing list