Sublime Forum

Help, Sublime Text Has Broken My DNF

#1

So I previously was using Sublime Text installed manually into /opt using the tarball version. As Sublime Text now offers a DNF repo, I decided to switch to that. Bad idea it turns out, as my DNF is now broken. No matter what DNF related command I try, I get this:

Traceback (most recent call last):
File “/bin/dnf”, line 58, in
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 1008, in run
self._process_demands()
File “/usr/lib/python3.6/site-packages/dnf/cli/cli.py”, line 767, in _process_demands
load_available_repos=self.demands.available_repos)
File “/usr/lib/python3.6/site-packages/dnf/base.py”, line 317, in fill_sack
self._add_repo_to_sack®
File “/usr/lib/python3.6/site-packages/dnf/base.py”, line 131, in _add_repo_to_sack
load_updateinfo=True)
_hawkey.Exception: failed to add solv

I followed the instructions on the documentation page to add the repo, so I’m not sure why this is happening. I’m running Fedora 26. Any help would be greatly appreciated in fixing DNF.

Thank you

0 Likes