How to fix Yum or rhn_check when it hangs at “Setting up Package Sacks”

Solution In Progress - Updated -

Issue

  • Executing yum or rhn_check hangs at Setting 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content