Bug 1279671
| Summary: | dnf upgrade download step fails "No such command: system-upgrade" but LANG=en_US.UTF-8 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Richard L. England <rlengland> |
| Component: | dnf-plugin-system-upgrade | Assignee: | Will Woods <wwoods> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 22 | CC: | rlengland, wwoods, zbyszek |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-11-14 16:53:36 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
Richard L. England
2015-11-10 02:15:47 UTC
Could you attach a list of your installed DNF packages? (Just do 'rpm -qa | grep dnf | sort' to get a list..) This looks like it might be the same problem as bug 1280240 - I'm guessing your system might be using the python3 dnf for /usr/bin/dnf somehow, which doesn't work because you don't have python3-dnf-plugin-system-upgrade installed. So, two more questions: 1) Does it work if you do 'dnf-2 system-upgrade'? 2) Did you do something to set up your system to use python3-dnf by default? Tried dnf-2 with the same results # dnf-2 system-upgrade download --releasever=23 No such command: system-upgrade. Please use /usr/bin/dnf-2 --help It could be a DNF plugin command, try: "dnf install 'dnf-command(system-upgrade)'" Python is version as far as python is reporting. # python --version Python 2.7.10 dnf listing # rpm -qa | grep dnf | sort dnf-1.1.3-1.fc22.noarch dnf-conf-1.1.3-1.fc22.noarch dnfdaemon-0.3.8-1.fc22.noarch dnf-langpacks-0.15.1-1.fc22.noarch dnf-langpacks-conf-0.15.1-1.fc22.noarch dnf-plugins-core-0.1.13-1.fc22.noarch dnf-plugin-system-upgrade-0.7.0-1.fc22.noarch dnf-yum-1.1.3-1.fc22.noarch python2-dnf-plugin-system-upgrade-0.7.0-1.fc22.noarch python3-dnf-1.1.3-1.fc22.noarch python3-dnfdaemon-0.3.8-1.fc22.noarch python-dnf-1.1.3-1.fc22.noarch python-dnf-langpacks-0.15.1-1.fc22.noarch python-dnf-plugins-core-0.1.13-1.fc22.noarch python-dnf-plugins-extras-common-0.0.11-1.fc22.noarch python-dnf-plugins-extras-migrate-0.0.11-1.fc22.noarch yumex-dnf-4.1.2-1.fc22.noarch ..do you, by any chance, have `plugins=0` or similar in your dnf.conf? (See bug 1280240, again) Bingo! Yes dnf.conf contained the line 'plugins=0'. I changed that to 'plugins=1' and the download is now working. To the best of my knowledge I have not modified anything in /etc/dnf, at least not by manually editing anything. Thank you for your persistence, and promptness. *** This bug has been marked as a duplicate of bug 1280240 *** |