Bug 1483540 - dnf can't load config-manager plugin in rawhide (and probably F27)
Summary: dnf can't load config-manager plugin in rawhide (and probably F27)
Keywords:
Status: CLOSED DUPLICATE of bug 1483342
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: rawhide
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: 2017-08-21 11:22 UTC by Kamil Páral
Modified: 2017-08-21 11:34 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-08-21 11:34:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Kamil Páral 2017-08-21 11:22:52 UTC
Description of problem:
"dnf config-manager" command no longer works even though config-manager plugin is available:

$ dnf config-manager -h
No such command: config-manager. Please use /usr/bin/dnf --help
It could be a DNF plugin command, try: "dnf install 'dnf-command(config-manager)'"

$ rpm -qa | grep dnf | sort
dnf-2.6.3-2.fc28.noarch
dnf-conf-2.6.3-2.fc28.noarch
dnf-plugins-core-2.1.3-2.fc27.noarch
dnf-yum-2.6.3-2.fc28.noarch
libdnf-0.9.3-7.fc28.x86_64
platform-python-dnf-2.6.3-2.fc28.noarch
python3-dnf-2.6.3-2.fc28.noarch
python3-dnf-plugins-core-2.1.3-2.fc27.noarch

$ rpm -ql python3-dnf-plugins-core | grep config_manager
/usr/lib/python3.6/site-packages/dnf-plugins/__pycache__/config_manager.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/dnf-plugins/__pycache__/config_manager.cpython-36.pyc
/usr/lib/python3.6/site-packages/dnf-plugins/config_manager.py

Comment 1 Kamil Páral 2017-08-21 11:30:19 UTC
This works with 
dnf-2.6.3-1.fc27
but breaks with
dnf-2.6.3-2.fc27/fc28

From changelog:
* Fri Aug 11 2017 Miro Hrončok <mhroncok> - 2.6.3-2 
- Add platform-python subpackage 
- Remove system_python macros 
- Switch /usr/bin/dnf to use platform-python

CC Miro.

Comment 2 Petr Viktorin (pviktori) 2017-08-21 11:34:34 UTC
We hope to fix this later today.

*** This bug has been marked as a duplicate of bug 1483342 ***


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