The rhn_package_manager command fails with

Solution Verified - Updated -

Issue

  • The rhn_package_manager -l command fails with below error,
Unable to find package management libraries.
Path not correct? '/usr/share/rhn'
Traceback (most recent call last):
  File "/usr/bin/rhn_package_manager", line 20, in <module>
    from PackageManager import rhn_package_manager
  File "/usr/share/rhn/PackageManager/rhn_package_manager.py", line 39, in <module>
    from rhnpush.uploadLib import UploadError
ImportError: No module named uploadLib

Environment

  • Red Hat Network Proxy

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