前提条件:
- Linux: YorktoLinux
- パッケージ-rpm
- dnfがインストールされました
私の目標はdnfパッケージマネージャを使用することですが、dnfですべてのオプションを実行しようとすると、次のPythonエラーが発生し続けます。
Traceback (most recent call last):
File "/usr/bin/dnf", line 58, in <module>
main.user_main(sys.argv[1:], exit_code=True)
File "/usr/lib64/python3.5/site-packages/dnf/cli/main.py", line 179, in user_main
errcode = main(args)
File "/usr/lib64/python3.5/site-packages/dnf/cli/main.py", line 64, in main
return _main(base, args, cli_class, option_parser_class)
File "/usr/lib64/python3.5/site-packages/dnf/cli/main.py", line 99, in _main
return cli_run(cli, base)
File "/usr/lib64/python3.5/site-packages/dnf/cli/main.py", line 115, in cli_run
cli.run()
File "/usr/lib64/python3.5/site-packages/dnf/cli/cli.py", line 1010, in run
self._process_demands()
File "/usr/lib64/python3.5/site-packages/dnf/cli/cli.py", line 763, in _process_demands
load_available_repos=self.demands.available_repos)
File "/usr/lib64/python3.5/site-packages/dnf/base.py", line 353, in fill_sack
self._add_repo_to_sack(r)
File "/usr/lib64/python3.5/site-packages/dnf/base.py", line 118, in _add_repo_to_sack
repo.load()
File "/usr/lib64/python3.5/site-packages/dnf/repo.py", line 916, in load
handle = self._handle_new_remote(tmpdir)
File "/usr/lib64/python3.5/site-packages/dnf/repo.py", line 744, in _handle_new_remote
h.setopt(librepo.LRO_PROXYAUTH, True)
File "/usr/lib64/python3.5/site-packages/librepo/__init__.py", line 1435, in setopt
_librepo.Handle.setopt(self, option, val)
librepo.LibrepoException: (8, 'curl error: Error', 'An Curl handle error')
この問題をどのように解決しますか?ありがとう