Project

General

Profile

Actions

Bug #7815

closed

package_upload yum plugin doesn't work on CentOS 6

Added by Anonymous about 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
High
Category:
Client/Agent
Target version:
Difficulty:
medium
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

After installing subscription-manager (from http://repos.fedorapeople.org/repos/candlepin/subscription-manager/epel-6/x86_64/ as described on katello.org) I'm getting on every yum command:

Plugin "package_upload" can't be imported

Trying to execute the command manually raises:
Traceback (most recent call last):
  File "/usr/sbin/katello-package-upload", line 19, in <module>
    import package_upload
  File "/usr/lib/yum-plugins/package_upload.py", line 19, in <module>
    from subscription_manager import certmgr
ImportError: cannot import name certmgr

It seems there was some rewrite: https://github.com/candlepin/subscription-manager/commit/b53fdb99c879f6b5c311d1f93894a80a2bd2e983
The versions in that repo:
subscription-manager-1.13.5-1.el6.x86_64
python-rhsm-1.13.3-1.el6.x86_64

Actions

Also available in: Atom PDF