Red Hat Bugzilla – Bug 451173
yum update hangs every time
Last modified: 2014-01-21 18:03:02 EST
Description of problem:
yum update hangs and the only way to end the process is by
# kill -9 $(cat /var/run/yum.pid)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
# yum --verbose --noplugins update
Config time: 0.148
Yum Version: 3.2.16
COMMAND: yum --verbose --noplugins update
Reading Local RPMDB
rpmdb time: 0.000
Setting up Package Sacks
Excluding Packages in global exclude list
pkgsack time: 0.926
Setting up Update Process
2. Wait to see that nothing more happens.
3. Try SIGINT (^C), SIGQUIT (^\), kill $(cat /var/run/yum.pid), kill -15 $(cat
/var/run/yum.pid) and similar before you fall back on kill -9 $(cat
Doing a yum clean all first makes no difference. Network connectivity and such
are of course fine.
Actual results: Process hangs
Expected results: Process completes.
This is a new problem after I installed this week's updates and rebooted the
system. The list of updated packages (extract from yum.log) is attached.
THis may be an underlying rpm problem, but yum shouldn't just hang with no output.
Created attachment 309180 [details]
This appears to be a bad interaction with PackageKit. Booting to runlevel 3 and
removing the gnome-packagekit package appears to fix the problem for me.
(But I still think yum should tell me what the problem is....)
(In reply to comment #2)
> This appears to be a bad interaction with PackageKit. Booting to runlevel 3 and
> removing the gnome-packagekit package appears to fix the problem for me.
Said that too quickly. I am unable to use yum under Gnome / X Windows. Does
yum use dbus anywhere?
After (further) erasing yum-packagekit (and the dependent package PackageKit) I
am able to use yum again in a gnome-terminal.
yum doesn't use dbus but packagekit does. If you want to re-enable/install it
and file this bug under packagekit I'm sure they'd appreciate it.
otherwise I'm just going to close it.