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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.