Why does subscription manager command fail with error: pkg_resources.DistributionNotFound: ethtool

Solution Verified - Updated -

Issue

  • Subscription manager failed with the following error.

    # subscription-manager status
    Traceback (most recent call last):
     File "/sbin/subscription-manager", line 5, in <module>
       from pkg_resources import load_entry_point
     File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 3007, in <module>
       working_set.require(__requires__)
     File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 728, in require
       needed = self.resolve(parse_requirements(requirements))
     File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 626, in resolve
       raise DistributionNotFound(req)
    pkg_resources.DistributionNotFound: ethtool
    

Environment

  • Red Hat Enterprise Linux 7.9
  • Red Hat Enterprise Linux 8

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