Software updater hangs

Latest response

I am running RHEL 6.6 on an HP Proliant DL380 G8 server. The system is subscribed to the Red Hat Subscription manager to get automatic updates. Lately I have noticed that when I apply updates, the updater does not finish completely and it actually hangs toward the end of the package installation. I have to force it to close since it does not finish on its own.
Has anyone encountered this problem and how did you fix it? I did not have this problem until recently and the updates have always been installed and the updater would indicate as such without fail.

Thanks,
Michael Sutherland

Responses

I would recommend opening a case on this one (in case others have the same issue).

Were you able to figure out what process/PID it was hung up on and strace it?

James,
I was not able to find out what it was hung-up on. All I could see are the gpk processes running.
I will open a case.
Thanks.

I have this same issue, is there a solution to the problem?

Jim,
I opened a case on this back in November. The support engineer did not give me a good explanation as to why the updater was hanging. I believe it is a bug since it hangs without my provocation. I am hoping that Redhat will fix the problem in a future release.

I did a search online and found a way to make it start working, but I still experience the problem on some of my servers. Below is the text I submitted for my open case that explains how I cleared the hangup, but this is not a fix.

I found that when I executed the following command:
#ps -ef | grep yum
it showed that "yum" was running. (This is after receiving the following error trying to run "yum" from the command line: "Another app is currently holding the yum lock").

So I killed the yum session using # kill -9
. The result is it left the process in the process list but stated it was "defunct". So I searched for a way to get rid of a defunct process and someone said I should try to kill the parent process. (ppid). So I executed another ps -ef | grep yum and got the parent process id. Then I killed the parent process using # kill -9
. After that, the GUI Software Updater started running and it even had some updates, so I installed and everything finished normally.

I still think there is a problem with the GUI Software Updater, but that is how I got it to start running again.

Thanks, I found a yum running also. I kill it off and tried again, but nothing to update. Guess I will wait until tomorrow to see if it works with the next set of updates.

Thanks!
Jim

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.