Yum took looong time to install kernel
Panu Matilainen
pmatilai at laiskiainen.org
Mon Apr 21 18:08:43 UTC 2008
On Sat, 19 Apr 2008, seth vidal wrote:
> On Sat, 2008-04-19 at 09:08 -0600, Reid Rivenburgh wrote:
>> Hi. Yesterday I did a "yum update" and got the new kernel,
>> kernel.x86_64 0-2.6.25-1.fc9, among other packages. The first time I
>> ran it, it seemed to hang at the kernel "Installing" step. I killed
>> it after a few minutes and cleaned up the mess it caused (duplicate
>> packages that would have been removed later in the process). Later, I
>> tried updating again with "-v -d 10", letting it go as long as needed.
>> It finally finished:
>>
>> Running Transaction
>> Installing: kernel ######################### [1/3]
>> Cleanup : kernel ######################### [2/3]
>> Erasing : kmod-nvidia-2.6.25-0.204.rc8 ######################### [3/3]
>> Running "posttrans" handler for "changelog" plugin
>> Running "posttrans" handler for "refresh-packagekit" plugin
>> Running "posttrans" handler for "merge-conf" plugin
>> Transaction time: 3168.841
>>
>> It froze at the 1/3 step again, but at least it eventually finished.
>> As you can see, that took a really long time, much longer than I've
>> ever seen yum take. Does anyone know why? Should I be concerned
>> about my system? Was it just waiting for some resource to become
>> free?
>
> how many kernels do you have installed?
>
> rpm -q kernel
>
> nevertheless it is most likely the file fingerprint routine in rpm.
Fingerprinting happens when preparing for the transaction, not while
installing. A "hang" during installation is most likely a scriptlet (%post
or so) just taking forever to run.
- Panu -
More information about the fedora-test-list
mailing list