Description of problem: I am told to run dnf migrate, but it doesn't exist: # yum upgrade -y Yum command has been deprecated, use dnf instead. See 'man dnf' and 'man yum2dnf' for more information. To transfer transaction metadata from yum to DNF, run 'dnf migrate'Redirecting to '/usr/bin/dnf upgrade -y' # dnf migrate No such command: migrate. Please use /bin/dnf-2 --help It could be a DNF plugin command. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
You need dnf-plugins-extras-migrate package
Could that be installed by default, or could you mention the package name in the error, or could you hide that error if the binary is not on the system?
There is already a patch (requested in bug 1208773) that changes the message: No such command: migrate. Please use /bin/dnf-2 --help It could be a DNF plugin command. to: No such command: migrate. Please use /bin/dnf-2 --help try: "dnf install 'dnf-command(%s)'" which may help a bit. Also the upstream DNF version now prints: To transfer transaction metadata from yum to DNF, run: 'dnf install python-dnf-plugins-extras-migrate && dnf-2 migrate' instead of: To transfer transaction metadata from yum to DNF, run 'dnf migrate'
Created attachment 1121351 [details] Vagrantfile demonstrating "Failed loading plugin: migrate"
I'm still getting related problems using Fedora 23: https://atlas.hashicorp.com/fedora/boxes/23-cloud-base/versions/20151030 To reproduce with the attached Vagrantfile do: 0. vagrant up 2. vagrant ssh -c 'sudo su - -c "dnf -y install python-dnf-plugins-extras-migrate && dnf-2 migrate"' ... Failed loading plugin: migrate No such command: migrate. Please use /usr/bin/dnf-2 --help It could be a DNF plugin command, try: "dnf install 'dnf-command(migrate)'" ... However, when I inject an additional step 1. 1. vagrant ssh -c 'sudo su - -c "dnf clean all&& yum -y update"' I don't get the errors. The following step, suggested by the failing step 2., fails anyway: 3. vagrant ssh -c "sudo su - -c \"dnf install 'dnf-command(migrate)'\"" ... No package dnf-command(migrate) available. Error: Unable to find a match.