Bug 1280240
| Summary: | dnf should warn if plugins are disabled and an unknown command is requested | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Stefan Assmann <sassmann> |
| Component: | dnf | Assignee: | Michal Luscon <mluscon> |
| Status: | CLOSED ERRATA | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | jsilhan, mluscon, packaging-team-maint, pnemade, rlengland, sassmann, vmukhame, wwoods, zbyszek |
| Target Milestone: | --- | Keywords: | FutureFeature, Reopened |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | dnf-1.1.5-1.fc23 dnf-1.1.5-1.fc22 | Doc Type: | Enhancement |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-12-22 21:59:18 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
Stefan Assmann
2015-11-11 10:11:12 UTC
You've got both the python2 and python3 DNF versions installed, but only python2-dnf-plugin-system-upgrade. Maybe your system is (somehow) using the python3 version of DNF by default? Does it work if you try "dnf-2 system-upgrade download --releasever=23", or if you install python3-dnf-plugin-system-upgrade? # dnf-2 system-upgrade download --releasever=23 No such command: system-upgrade. Please use /bin/dnf-2 --help It could be a DNF plugin command, try: "dnf install 'dnf-command(system-upgrade)'" Let me know which RPMs I should de-install and I'll give it a try. Also tried installing python3-dnf-plugin-system-upgrade, didn't help either. Sorry I forgot to mention that. Hrm. Well, I'm not sure how to debug dnf's plugin loader further, so I'm reassigning this to dnf. ok, I found plugins=0 in my dnf.conf. I can't remember putting it there. Sorry for the noise. Anyway, as a RFE could we print a warning if plugins are disabled and somebody tries to use a plugin? Thanks for considering! *** Bug 1279671 has been marked as a duplicate of this bug. *** Unfortunately, plugin name check would require loading of plugins. No, not really. I'm asking for the text """ It could be a DNF plugin command, try: "dnf install 'dnf-command(system-upgrade)'" """ to be changed to something like """ If could be a DNF plugin command, but plugin loading is currently disabled. """ when plugins=0. dnf-plugins-core-0.1.15-1.fc23 dnf-1.1.5-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-c72cd24fa0 dnf-plugins-core-0.1.15-1.fc22 dnf-1.1.5-1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-1bb112ccc6 dnf-1.1.5-1.fc23, dnf-plugins-core-0.1.15-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update dnf dnf-plugins-core' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-c72cd24fa0 dnf-1.1.5-1.fc22, dnf-plugins-core-0.1.15-1.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-1bb112ccc6 dnf-1.1.5-1.fc23, dnf-plugins-core-0.1.15-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. dnf-1.1.5-1.fc22, dnf-plugins-core-0.1.15-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. |