Red Hat(7.7) 구독 관리자를 시작할 때 문제 발생

Red Hat(7.7) 구독 관리자를 시작할 때 문제 발생

내 시스템 구성: Red Hat 7.7 [Developer Edition]. 독립 시스템.

root@thinkred1cartoon:$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.7 (Maipo)

root@thinkred1cartoon:$ uname -a
Linux thinkred1cartoon.biz 3.10.0-1062.9.1.el7.x86_64 #1 SMP Mon Dec 2 08:31:54 EST 2019 x86_64 x86_64 x86_64 GNU/Linux

구독 관리자(CLI 또는 GUI)를 시작하는 데 문제가 있습니다. 실수 -

root@thinkred1cartoon:$ subscription-manager
Traceback (most recent call last):
  File "/usr/sbin/subscription-manager", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 3011, in <module>
    parse_requirements(__requires__), Environment()
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 626, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: six
subscription-manager via CLI or GUI failing to launch

나는 이 Redhat 솔루션을 따랐습니다.https://access.redhat.com/solutions/3967521

1. Uninstall packages installed via pip3

    pip3 pip freeze --local | xargs pip3 uninstall -y

2. Uninstall packages installed via pip

    scl enable python27 bash
    pip freeze --local | xargs pip uninstall -y

3. Uninstalled all python packages from 3rd party listed by command below using "yum remove"

    rpm -qa --queryformat "%{name}-%{version}-%{release}.%{arch}------->%{vendor}\n" | grep -v "Red Hat" | grep -i python

4.  yum reinstall insights-client python-requests python-urllib3

5. yum update -y

6. Rebooted system

불운.

네트워크는 괜찮습니다. yum은 기존의 활성화된 저장소와 함께 작동하며 웹 브라우저를 통해 온라인에 접속할 수 있습니다.

root@thinkred1cartoon:$ strace -T -tt -f -v -s 1024 -o register.out insights-client --register
Traceback (most recent call last):
  File "/usr/bin/insights-client", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 3007, in <module>
    working_set.require(__requires__)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 728, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 626, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: six

시스템 오류 메시지 -

root@thinkred1cartoon:$ tail -f /var/log/messages

Dec 26 15:54:30 thinkred1cartoon python: detected unhandled Python exception in '/usr/sbin/subscription-manager'
Dec 26 15:54:30 thinkred1cartoon python: detected unhandled Python exception in '/usr/sbin/sosreport'
Dec 26 15:54:35 thinkred1cartoon python: communication with ABRT daemon failed: timed out
Dec 26 15:54:35 thinkred1cartoon python: communication with ABRT daemon failed: timed out
Dec 26 15:54:35 thinkred1cartoon abrt-server: sosreport run failed with exit code 1, log follows:
Dec 26 15:54:35 thinkred1cartoon abrt-server: Traceback (most recent call last):
Dec 26 15:54:35 thinkred1cartoon abrt-server:  File "/usr/sbin/sosreport", line 14, in <module>
Dec 26 15:54:35 thinkred1cartoon abrt-server:    from sos.sosreport import main
Dec 26 15:54:35 thinkred1cartoon abrt-server:  File "/usr/lib/python2.7/site-packages/sos/__init__.py", line 19, in <module>
Dec 26 15:54:35 thinkred1cartoon abrt-server:    import six
Dec 26 15:54:35 thinkred1cartoon abrt-server: ImportError: No module named six
Dec 26 15:54:35 thinkred1cartoon abrt-server: 'post-create' on '/var/spool/abrt/Python-2019-12-26-15:54:30-20008' exited with 1
Dec 26 15:54:35 thinkred1cartoon abrt-server: Deleting problem directory '/var/spool/abrt/Python-2019-12-26-15:54:30-20008'
Dec 26 15:54:35 thinkred1cartoon python: detected unhandled Python exception in '/usr/sbin/sosreport'
Dec 26 15:54:36 thinkred1cartoon abrt-server: Not saving repeating crash in '/usr/sbin/sosreport'
Dec 26 15:54:36 thinkred1cartoon abrt-server: sosreport run failed with exit code 1, log follows:
Dec 26 15:54:36 thinkred1cartoon abrt-server: Traceback (most recent call last):
Dec 26 15:54:36 thinkred1cartoon abrt-server:  File "/usr/sbin/sosreport", line 14, in <module>
Dec 26 15:54:36 thinkred1cartoon abrt-server:    from sos.sosreport import main
Dec 26 15:54:36 thinkred1cartoon abrt-server:  File "/usr/lib/python2.7/site-packages/sos/__init__.py", line 19, in <module>
Dec 26 15:54:36 thinkred1cartoon abrt-server:    import six
Dec 26 15:54:36 thinkred1cartoon abrt-server: ImportError: No module named six
Dec 26 15:54:36 thinkred1cartoon abrt-server: 'post-create' on '/var/spool/abrt/Python-2019-12-26-15:54:30-20024' exited with 1
Dec 26 15:54:36 thinkred1cartoon abrt-server: Deleting problem directory '/var/spool/abrt/Python-2019-12-26-15:54:30-20024'

어떤 제안이라도 감사하겠습니다.

관련 정보