Description of problem: If the local plugin is installed, when I try to install a package by passing its location to dnf at the command line dnf crashes immediately after installing packages due to a KeyError for the "@commandline" repo. Version-Release number of selected component (if applicable): python3-dnf-plugins-extras-local-0.0.11-1.fc23.noarch python-dnf-plugins-extras-local-0.0.11-1.fc22.noarch Steps to Reproduce: 1. dnf install dnf-plugins-extras-local 2. dnf install http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm Actual results: % sudo dnf install http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm Last metadata expiration check performed 2:46:16 ago on Thu Nov 5 15:29:41 2015. Dependencies resolved. ======================================================================== Package Arch Version Repository Size ======================================================================== Installing: adobe-release-x86_64 noarch 1.0-1 @commandline 4.2 k Transaction Summary ======================================================================== Install 1 Package Total size: 4.2 k Installed size: 1.9 k Is this ok [y/N]: y Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Installing : adobe-release-x86_64-1.0-1.noarch 1/1 Verifying : adobe-release-x86_64-1.0-1.noarch 1/1 Installed: adobe-release-x86_64.noarch 1.0-1 Traceback (most recent call last): File "/bin/dnf", line 36, in <module> main.user_main(sys.argv[1:], exit_code=True) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 198, 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 144, in _main ret = resolving(cli, base) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 183, in resolving base.plugins.run_transaction() File "/usr/lib/python2.7/site-packages/dnf/plugin.py", line 82, in fn dnf.util.mapall(operator.methodcaller(method), self.plugins) File "/usr/lib/python2.7/site-packages/dnf/util.py", line 157, in mapall return list(map(fn, *seq)) File "/usr/lib/python2.7/site-packages/dnf-plugins/local.py", line 119, in transaction if pkg.repo.pkgdir == repodir: File "/usr/lib/python2.7/site-packages/dnf/package.py", line 115, in repo return self.base.repos[self.reponame] KeyError: u'@commandline' Additional info: This occurs on both Fedora 22 and 23. Packages are installed, but not copied to the local package repo.
*** This bug has been marked as a duplicate of bug 1226766 ***