rhnpush fails with ''module' object has no attribute 'InvalidPackageError''

Solution Verified - Updated -

Issue

Wnen pushing a package to Red Hat Network Satellite, rhnpush command fails with following error:

# rhnpush -c test_channel my_package.src.rpm
Package  my_package.src.rpm Not Found on RHN Server -- Uploading
Uploading package my_package.src.rpm
'module' object has no attribute 'InvalidPackageError'

Environment

  • Red Hat Network Satellite version 5.5 and higher

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