Yum fails with "Excluding Packages from Red Hat Enterprise Linux "
Environment
Red Hat Enterprise Linux
Issue
yum update
failed with following output :
- yum update
Loaded plugins: rhnplugin
This system is receiving updates from RHN Classic or RHN Satellite.
Excluding Packages from Red Hat Enterprise Linux (v. 5 for 64-bit x86_64) Finished
Excluding Packages from RHEL FasTrack (v. 5 for 64-bit x86_64) Finished
Excluding Packages from RHEL Hardware Certification (v. 5 for 64-bit x86_64) Finished
Excluding Packages from RHEL Optional Productivity Apps (v. 5 for 64-bit x86_64) Finished
Excluding Packages from RHEL Supplementary (v. 5 for 64-bit x86_64) Finished
Excluding Packages from RHEL Virtualization (v. 5 for 64-bit x86_64) Finished
Excluding Packages from Red Hat Network Tools for RHEL Server (v.5 64-bit x86_64) Finished
Resolution
This issue can be investigated from the following approaches
-
Check the yum configuration file i.e
/etc/yum.conf
for any exclude option enabled. -
Verify /etc/yum.repos.d for for exlude option
-
Clear the yum cache
# yum clean all
# rm -rf /var/cache/yum/*
Diagnostic Steps
System calls while running yum command can be checked as below
# strace -ff -o /tmp/strace/strace -tt -s 500 yum update
check /tmp/strace/strace file
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments