dnf에서 컬 핸들 오류가 발생했습니다.

dnf에서 컬 핸들 오류가 발생했습니다.

전제 조건:

  • 리눅스: 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')

이 문제를 어떻게 해결하나요? 감사해요

관련 정보