2007/3/2, Fajar A. Nugraha <fajar@xxxxxxxxx>:
Michel Salim wrote: > I have an unreliable system that is prone to overheating (at which > point the kill switch would mercifully save the CPU from a flaming > death, but at the expense of whatever is going on at the moment) -- > and doing a large yum transaction is quite reliable at causing a > lock-up (I'm making sure I set the CPU speed to minimum before > updating now). > I may be saying the obvious here, but you should find out how to cool down that server, or throw it away. Unless it's NOT a server :-P
That's the scary thing. It's a laptop (Turion 64)! And it's a good suggestion -- I'm waiting for the next iteration of the Macbook. Hopefully Linux has full support for it by then (apart from EFI)
> Anyway, the question is, if you're partway into the transaction, and > some packages have been installed (but the old ones not removed yet), > is there a way to tell yum to clean up the mess? There must be some > transaction logs somewhere that can be used to automate the process. > IMHO the best way is to recover rpmdb from backup, and restart the yum process. SUSE has /etc/cron.daily/suse.de-backup-rpmdb. I don't think Redhat has it by default.
Hmm .. the thing is, some RPMs have already been installed (e.g. if foo-x.y is updated to foo-y.z, the system has both installed). If I roll back the rpmdb, it will actually be inconsistent with what's on the disk, right? What I want is a way for yum to say "oh, I detect an incomplete transaction -- let me just continue it and make sure the old RPMs get properly removed"
Regards, Fajar _______________________________________________ Yum mailing list Yum@xxxxxxxxxxxxxxxxxxxx https://lists.dulug.duke.edu/mailman/listinfo/yum
-- Michel Salim http://hircus.wordpress.com/ My theology, briefly, is that the universe was dictated but not signed. -- Christopher Morley _______________________________________________ Yum mailing list Yum@xxxxxxxxxxxxxxxxxxxx https://lists.dulug.duke.edu/mailman/listinfo/yum