Yum fails with - Plugin "rhnplugin" can't be imported .

Solution Verified - Updated -

Issue

  • Running yum commands returns the below errors:
# yum repolist
Plugin "rhnplugin" can't be imported
Plugin "refresh-packagekit" can't be imported

# yum update 
Plugin "rhnplugin" can't be imported 
Loaded plugins: security 
Skipping security plugin, no data 
Setting up Update Process 
No Packages marked for Update 

Environment

  • Red Hat Enterprise Linux 5.x
  • Red Hat Enterprise Linux 6.x

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