How to fix Yum or rhn_check when it hangs at “Setting up Package Sacks”
Issue
- Executing
yum
orrhn_check
hangs atSetting up Package Sacks
# rhn_check -vvvv
[.. SNIP..]
Setting up Package Sacks
# yum repolist -v
[.. SNIP..]
# yum update -v -v
Loading "rhnplugin" plugin
Loading "fastestmirror" plugin
Config time: 0.098
Setting up Package Sacks
- Issue can also occur when
yum repolist
hangs on the message:
Updating Subscription Management repositories.
Environment
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.