Description of problem:
Downloading a package with "pkcon download" from yum repository with baseurl defined with file:// protocol does not work.
On the other hand "yum download" can download from file:// repositories. It would be nice if this functionality was consistent across both yum (dnf) and PackageKit.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. create simple file:// repository with some "foo" package
2. pkcon download . foo
Fatal error: Refusing to download from local repository "file"
The package is downloaded.
This is from libdnf/dnf-repo.cpp, reassigning.
I created a PR that should fix this:
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.