Red Hat Bugzilla – Bug 188189
yumex repeatedly fails to update kernel
Last modified: 2007-11-30 17:11:29 EST
Description of problem:
On a freshly installed FC5 I installed yumex, and ran an update using it, it
downloaded and claimed to have successfully updated all packaages from updates
repo. However several packages including kernel 2080_FC5 had not been installed,
repeated attempts to install claimed to have updated but still failed, tried
rebooting, tried yum clean all, still the same.
Used "yum update" instead of yumex and all packages were installed
Version-Release number of selected component (if applicable):
always (but updates in question have now done using yum)
Steps to Reproduce:
2. wait for repos to refresh
3. update, select all, add to queue, process queue
About 8 pakages repeatedly failed to install
yumex behaves the same as yum
see attached /var/log/yum.log
Created attachment 127424 [details]
Do you see any AVC denial messages in /var/log/audit/audit.log* pointing to yumex?
grep -i yum audit.log finds nothing ...
On my system the AVC messages is written to /var/log/messages.
Try this as root.
grep -i yumex /var/log/messages
Another way to see the problem is by running 'yumex' from the console.
You will see some rpm scriplet error when installing the kernal.
Read about the problem here.
you have to update you system with 'yum update selinux-policy*' to get the
latest selinux policy installed. (2.2.25-3.fc5), after installation a reboot is
needed. After that you should be able to install the kernal with yumex.
(In reply to comment #4)
> On my system the AVC messages is written to /var/log/messages.
yes I did check /var/log/messges (and even dmesg) for anything yumex related
> Another way to see the problem is by running 'yumex' from the console.
> You will see some rpm scriplet error when installing the kernal.
I didn't try that, but it's too late now to see if any errors went to the
console, I did manage to "kick" the relevnt upgrades by using yum instead of
yumex, certainly in yumex's output window there were no errors, it claimed to
have installed successfully.
> Read about the problem here.
Ok, that's good, so long as the problem is understood, is any more error
checking needed in yumex so that in future it will report the error rather than
It is rpm there is repost the scriptlet errors as warning on the console, but it
dont return any errorcode so the yum installation api routines cant detect it as
an error, so yumex thinks that everytings was installed succesfully. The RPM
warnings are written directly to the stdout, so where is no way to redirect so
the user can see it in the GUI, even when using the python ways to redirect
stdout, dont redirect there errors.