Bug 1302169

Summary: dnf copr fails on centos 7
Product: [Fedora] Fedora EPEL Reporter: John Heidemann <johnh>
Component: dnf-plugins-coreAssignee: rpm-software-management
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: dmach, Marcin.Dulak, mluscon, packaging-team-maint, pnemade, RadekHolyPublic, vlastimil.holer, vmukhame, zlthooray
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-27 11:13:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description John Heidemann 2016-01-27 01:35:21 UTC
Description of problem:
dnf copr fails on centos 7, even with dnf-plugins-core


Version-Release number of selected component (if applicable):

dnf-plugins-core-0.1.5-3.el7

How reproducible:

every time


Steps to Reproduce:
1. dnf copr info

Actual results:

No such command: copr. Please use /bin/dnf --help
It could be a DNF plugin command.


Expected results:
Error: exactly two additional parameters to copr command are required
 Mini usage:

copr 
  enable name/project [chroot]
  disable name/project
...


Additional info:

Following copr directions, I did

   dnf install dnf-plugins-core

While that package includes
/usr/share/man/man8/dnf.plugin.copr.8.gz

it lacks the python code to support copr.

On fedora, this code is in the package

python-dnf-plugins-core
and the file
/usr/lib/python2.7/site-packages/dnf-plugins/copr.py

but that package doesn't exist in centos 7.

Suggestions?

Comment 1 Miroslav Suchý 2016-01-27 07:51:06 UTC
In Epel there is version dnf-plugins-core-0.1.5-3 which does not have copr plugin due missing dependency.

In later version of dnf-plugins-core the copr plugin was rewritten to use different library and can be build for Epel without problem.

So this can be fixed by releasing recent dnf-plugins-core version to Epel7.

Comment 2 marcindulak 2016-09-10 10:35:08 UTC
The problem is still there.
Can we get dnf-plugins-core updated in epel7?

Comment 3 Daniel Mach 2017-09-27 11:13:44 UTC
There's no DNF in EPEL already.