Description of problem:
If you take a system that was using yum, and fedup it to F22, dnf immmediately suggests you run dnf-2 migrate.
This command calls "yum-deprecated -q group list installed -C".
This command cannot work, because you've just done a fresh upgrade and there's no yum F22 metadata cached.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. fedup --network f22
2. Run 'yum <anything>'
3. Try and run the suggested command
Cannot find repomd.xml file for fedora/22/x86_64
Traceback (most recent call last):
File "/usr/bin/dnf-2", line 36, in <module>
File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 185, in user_main
errcode = main(args)
File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 84, in main
return _main(base, args)
File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 134, in _main
File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 1077, in run
File "/usr/lib/python2.7/site-packages/dnf-plugins/migrate.py", line 126, in run
File "/usr/lib/python2.7/site-packages/dnf-plugins/migrate.py", line 242, in migrate_groups
installed = self.get_yum_installed_groups(yum_exec)
File "/usr/lib/python2.7/site-packages/dnf-plugins/migrate.py", line 257, in get_yum_installed_groups
File "/usr/lib64/python2.7/subprocess.py", line 573, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '[u'/usr/bin/yum-deprecated', u'-q', u'group', u'list', u'installed', u'-C']' returned non-zero exit status 1
Also, it runs yum-deprecated in a way that it re-prints out the deprecation warning, even though's run internally by dnf.
Printing of warnings from yum are fixed here:
The origin reported error is duplicate of bug 1226607
dnf-plugins-extras-0.0.9-1.fc22 has been submitted as an update for Fedora 22.
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dnf-plugins-extras-0.0.9-1.fc22'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
dnf-plugins-extras-0.0.9-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.