If you create a Repo object and write it to a file using the .dump() function DNF cannot use the file as written because it writes baseurl = [REPO-URL] instead of baseurl = REPO-URL, and gpgkeys = [GPGKEYS] instead of gpgkeys = GPGKEYS eg. import dnf dbo = dnf.Base() r = dnf.repo.Repo("testing", dbo.conf) r.baseurl="https://some-repo-url/" r.dump() [testing] bandwidth = 0 basecachedir = /var/tmp/dnf-bcl-sy8x8i baseurl = ['https://some-repo-url'] cost = 1000 ...
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle. Changing version to '29'.
PR https://github.com/rpm-software-management/libdnf/pull/752
FEDORA-2019-d4b6ede072 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-d4b6ede072
dnf-4.2.5-4.fc29, dnf-plugins-extras-4.0.4-2.fc29, libdnf-0.31.0-6.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-d4b6ede072
dnf-4.2.5-4.fc29, dnf-plugins-extras-4.0.4-2.fc29, libdnf-0.31.0-6.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.