On 10/08/17 19:02, kc wrote:
I initially observed it when trying tor remove VirtualBox. Just now I
did some
debugging, it seems to happen regardless of whether the package name is valid, e.g.
[kc1212@bluehat ~]$ sudo dnf remove zzz
Traceback (most recent call last):
File "/bin/dnf", line 58, in <module>
main.user_main(sys.argv[1:], exit_code=True)
File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 179, in
user_main
errcode = main(args)
File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 64, in main
return _main(base, args, cli_class, option_parser_class)
File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 99, in _main
return cli_run(cli, base)
File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 115, in
cli_run
cli.run()
File "/usr/lib/python3.6/site-packages/dnf/cli/cli.py", line 1010, in run
self._process_demands()
File "/usr/lib/python3.6/site-packages/dnf/cli/cli.py", line 763, in
_process_demands
load_available_repos=self.demands.available_repos)
File "/usr/lib/python3.6/site-packages/dnf/base.py", line 347, in fill_sack
self._setup_excludes_includes()
File "/usr/lib/python3.6/site-packages/dnf/base.py", line 157, in
_setup_excludes_includes
self.sack.set_use_includes(True, r.id)
ValueError: Can't set use_includes for repo with given name.
I've not seen that error before and I don't get that error now.
Since the last line has "repo" in it I wonder if you don't have a problem
with a
specific non-fedora repo?
What are the ones you're using?
dnf repolist
--
Fedora Users List - The place to go to speculate endlessly