Bug 1302169 - dnf copr fails on centos 7
Summary: dnf copr fails on centos 7
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: dnf-plugins-core
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-27 01:35 UTC by John Heidemann
Modified: 2017-09-27 11:13 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-27 11:13:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.