On Fri, 2003-05-16 at 15:25, Brian Lalor wrote: > Hey all. I just upgraded my laptop from RH7.3 to RH9 the old fashioned > way (via CD). After upgrading, I installed yum and did an upgrade. I > soon found myself up the proverbial effluent stream without a method of > propulsion, or nearly so, anyway. /var filled up as yum downloaded > packages and I got lots of errors about being unable to write to > /var/lib/rpm/Packages. When the update finally finished, glibc wasn't in > the RPM database and some files were missing, which caused things like rpm > to be unable to run due to bad dependencies. I've also got bits and > pieces of the newest kernel hanging around, but it also is not in the > database. I finally got back up and running by copying over the contents > of the glibc package. I'm now verifying all packages and fixing broken > dependencies. > > It looks to me like yum needs to be more careful about disk space... Hey Brian, I'm confused by this - so what were the steps that occured you're on 7.3 - you're using 1.0 or one of the dailies? you do a yum upgrade, it downloads headers it does dep checking it then asks you if you want to do all the stuff it says needs to be done. it asks you if it is ok you say yes. it downloads lots of stuff here. it says "calculating disk space, please hold" (or whatever) then it begins chewing through pkgs, right? so it had already downloaded all the pkgs into yum when it does the disk space check. This means that rpm has incorrectly estimated the amount of disk space necessary or available for the upgrade process. Here is how yum does the diskspace check: it runs a sample transaction set of the sets of pkgs to be installed and it turns off all test checks except for the "tell me if I have enough disk space to do this" check. If that one returns an error it bails and tells you why its broken. So this might be a bug in rpm's mechanism for checking available disk space. I'll have to see if I can replicate this error. Thanks Brian, I'm sorry your system got into an unhappy state. -sv