Hi,
I did a fresh install of Fedora 29 a few weeks ago. It seems to work fine
except now dnf seems to not want to use the fedora repo. If I remove the
fedora.repo file, or even disable the fedora repo in the file, it works.
Any help would be appreciated!
Thank you!
If I run dnf -v update, here is the last part of the output:
Fedora 29 - x86_64
13 kB/s | 18 kB 00:01
reviving: 'fedora' can be revived - metalink checksums match.
not found other for: Fedora 29 - x86_64
not found modules for: Fedora 29 - x86_64
not found deltainfo for: Fedora 29 - x86_64
not found updateinfo for: Fedora 29 - x86_64
loading repo 'fedora' failure: repo_add_solv() has failed.
Error: Loading repository 'fedora' has failed
Here is the last part of the dnf.log file:
2018-11-30T14:56:58Z DEBUG loading repo 'fedora' failure: repo_add_solv()
has failed.
2018-11-30T14:56:58Z DDEBUG Cleaning up.
2018-11-30T14:56:58Z SUBDEBUG
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/dnf/base.py", line 144, in
_add_repo_to_sack
self._sack.load_repo(hrepo, build_cache=True, **mdload_flags)
_hawkey.Exception: repo_add_solv() has failed.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/dnf/cli/main.py", line 64, in main
return _main(base, args, cli_class, option_parser_class)
File "/usr/lib/python3.7/site-packages/dnf/cli/main.py", line 99, in _main
return cli_run(cli, base)
File "/usr/lib/python3.7/site-packages/dnf/cli/main.py", line 115, in
cli_run
cli.run()
File "/usr/lib/python3.7/site-packages/dnf/cli/cli.py", line 1054, in run
self._process_demands()
File "/usr/lib/python3.7/site-packages/dnf/cli/cli.py", line 785, in
_process_demands
load_available_repos=self.demands.available_repos)
File "/usr/lib/python3.7/site-packages/dnf/base.py", line 400, in
fill_sack
self._add_repo_to_sack(r)
File "/usr/lib/python3.7/site-packages/dnf/base.py", line 148, in
_add_repo_to_sack
_("Loading repository '{}' has failed").format(repo.id))
dnf.exceptions.RepoError: Loading repository 'fedora' has failed
2018-11-30T14:56:58Z CRITICAL Error: Loading repository 'fedora' has failed