slow FC4 to FC5 upgrade

Paul Howarth paul at city-fan.org
Fri Mar 31 20:57:00 UTC 2006


On Fri, 2006-03-31 at 15:45 -0500, Henry Hartley wrote:
> Some further testing
> indicates that the removal of old kernel-devel packages (15 of them) is
> at least part of the problem.  I tried running:
> 
> $ package-cleanup --oldkernels
> 
> from yum-utils.  That resulted in the same error as did my big yum
> update (which was "memory alloc (4 bytes) returned NULL").  So I tried:
> 
> $ yum remove kernel-devel-2.6.12-*_FC4
> 
> Figuring that 15 was too many to remove at once so just remove these 5.
> Same error.  In fact, attempting to remove just one kernel-devel package
> resulted in this error.  Is there another way to remove them that may
> work?

Try:

# for kd in $(rpm -q kernel-devel); do rpm -e $kd; done

Also get rid of as many old kernels as you can.

Paul.




More information about the fedora-list mailing list