Fedora 20 시스템에 모든 Python 패키지를 설치하고 싶지만 종속성이 손상되었습니다. 손상되었거나 오류가 있는 경우를 제외하고 모든 것을 어떻게 설치합니까?
]$ sudo yum install *python*
…
--> Finished Dependency Resolution
Error: Package: python-qpid_messaging-0.24-3.fc20.x86_64 (fedora)
Requires: qpid-cpp-client(x86-64) = 0.24
Available: qpid-cpp-client-0.24-6.fc20.x86_64 (fedora)
qpid-cpp-client(x86-64) = 0.24-6.fc20
Installing: qpid-cpp-client-0.26-3.fc20.x86_64 (updates)
qpid-cpp-client(x86-64) = 0.26-3.fc20
Error: Package: gcc-python2-debug-plugin-0.12-15.fc20.x86_64 (fedora)
Requires: gcc = 4.8.2-1.fc20
Installed: gcc-4.8.2-7.fc20.x86_64 (@updates)
gcc = 4.8.2-7.fc20
Available: gcc-4.8.2-1.fc20.x86_64 (fedora)
gcc = 4.8.2-1.fc20
Error: Package: gcc-python3-plugin-0.12-15.fc20.x86_64 (fedora)
Requires: gcc = 4.8.2-1.fc20
Installed: gcc-4.8.2-7.fc20.x86_64 (@updates)
gcc = 4.8.2-7.fc20
Available: gcc-4.8.2-1.fc20.x86_64 (fedora)
gcc = 4.8.2-1.fc20
Error: Package: python-neutron-2013.2.3-2.fc20.noarch (updates)
Requires: python-neutronclient >= 2.3.4
Available: python-neutronclient-2.3.1-2.fc20.noarch (fedora)
python-neutronclient = 2.3.1-2.fc20
Installing: python-neutronclient-2.3.1-3.fc20.noarch (updates)
python-neutronclient = 2.3.1-3.fc20
Error: Package: gcc-python3-debug-plugin-0.12-15.fc20.x86_64 (fedora)
Requires: gcc = 4.8.2-1.fc20
Installed: gcc-4.8.2-7.fc20.x86_64 (@updates)
gcc = 4.8.2-7.fc20
Available: gcc-4.8.2-1.fc20.x86_64 (fedora)
gcc = 4.8.2-1.fc20
Error: Package: gcc-python2-plugin-0.12-15.fc20.x86_64 (fedora)
Requires: gcc = 4.8.2-1.fc20
Installed: gcc-4.8.2-7.fc20.x86_64 (@updates)
gcc = 4.8.2-7.fc20
Available: gcc-4.8.2-1.fc20.x86_64 (fedora)
gcc = 4.8.2-1.fc20
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
나는 시도했다:
]$ sudo yum install *python* --skip-broken
그러나 이것은 다음을 제공합니다:
Running transaction check
Running transaction test
Transaction check error:
file /etc/bash_completion.d/django_bash_completion from install of python3-django15-1.5.6-1.fc20.noarch conflicts with file from package python-django-bash-completion-1.6.4-1.fc20.noarch
file /etc/bash_completion.d/django_bash_completion from install of python-django15-1.5.6-1.fc20.noarch conflicts with file from package python-django-bash-completion-1.6.4-1.fc20.noarch
file /usr/lib/python2.7/site-packages/tests/__init__.py conflicts between attempted installs of python-libturpial-1.7.0-1.fc20.noarch and python-django-federated-login-1.0.0-1.fc20.noarch
file /usr/lib/python2.7/site-packages/tests/__init__.pyc conflicts between attempted installs of python-libturpial-1.7.0-1.fc20.noarch and python-django-federated-login-1.0.0-1.fc20.noarch
file /usr/lib/python2.7/site-packages/tests/__init__.pyo conflicts between attempted installs of python-libturpial-1.7.0-1.fc20.noarch and python-django-federated-login-1.0.0-1.fc20.noarch
file /usr/lib/python3.3/site-packages/queuelib/__pycache__/__init__.cpython-33.pyc conflicts between attempted installs of python3-queuelib-1.1.1-1.fc20.noarch and python3-python-queuelib-1.0-2.fc20.noarch
file /usr/lib/python3.3/site-packages/queuelib/__pycache__/__init__.cpython-33.pyo conflicts between attempted installs of python3-queuelib-1.1.1-1.fc20.noarch and python3-python-queuelib-1.0-2.fc20.noarch
file /usr/lib/python3.3/site-packages/queuelib/__pycache__/pqueue.cpython-33.pyc conflicts between attempted installs of python3-queuelib-1.1.1-1.fc20.noarch and python3-python-queuelib-1.0-2.fc20.noarch
file /usr/lib/python3.3/site-packages/queuelib/__pycache__/pqueue.cpython-33.pyo conflicts between attempted installs of python3-queuelib-1.1.1-1.fc20.noarch and python3-python-queuelib-1.0-2.fc20.noarch
file /usr/lib/python3.3/site-packages/queuelib/__pycache__/queue.cpython-33.pyc conflicts between attempted installs of python3-queuelib-1.1.1-1.fc20.noarch and python3-python-queuelib-1.0-2.fc20.noarch
file /usr/lib/python3.3/site-packages/queuelib/__pycache__/queue.cpython-33.pyo conflicts between attempted installs of python3-queuelib-1.1.1-1.fc20.noarch and python3-python-queuelib-1.0-2.fc20.noarch
file /usr/lib/python3.3/site-packages/queuelib/pqueue.py conflicts between attempted installs of python3-queuelib-1.1.1-1.fc20.noarch and python3-python-queuelib-1.0-2.fc20.noarch
file /usr/lib/python3.3/site-packages/queuelib/queue.py conflicts between attempted installs of python3-queuelib-1.1.1-1.fc20.noarch and python3-python-queuelib-1.0-2.fc20.noarch
file /usr/lib/python3.3/site-packages/queuelib/tests/__pycache__/__init__.cpython-33.pyc conflicts between attempted installs of python3-queuelib-1.1.1-1.fc20.noarch and python3-python-queuelib-1.0-2.fc20.noarch
file /usr/lib/python3.3/site-packages/queuelib/tests/__pycache__/__init__.cpython-33.pyo conflicts between attempted installs of python3-queuelib-1.1.1-1.fc20.noarch and python3-python-queuelib-1.0-2.fc20.noarch
file /usr/lib/python3.3/site-packages/queuelib/tests/__pycache__/test_pqueue.cpython-33.pyc conflicts between attempted installs of python3-queuelib-1.1.1-1.fc20.noarch and python3-python-queuelib-1.0-2.fc20.noarch
file /usr/lib/python3.3/site-packages/queuelib/tests/__pycache__/test_pqueue.cpython-33.pyo conflicts between attempted installs of python3-queuelib-1.1.1-1.fc20.noarch and python3-python-queuelib-1.0-2.fc20.noarch
file /usr/lib/python3.3/site-packages/queuelib/tests/__pycache__/test_queue.cpython-33.pyc conflicts between attempted installs of python3-queuelib-1.1.1-1.fc20.noarch and python3-python-queuelib-1.0-2.fc20.noarch
file /usr/lib/python3.3/site-packages/queuelib/tests/__pycache__/test_queue.cpython-33.pyo conflicts between attempted installs of python3-queuelib-1.1.1-1.fc20.noarch and python3-python-queuelib-1.0-2.fc20.noarch
file /usr/lib/python3.3/site-packages/queuelib/tests/test_pqueue.py conflicts between attempted installs of python3-queuelib-1.1.1-1.fc20.noarch and python3-python-queuelib-1.0-2.fc20.noarch
file /usr/lib/python3.3/site-packages/queuelib/tests/test_queue.py conflicts between attempted installs of python3-queuelib-1.1.1-1.fc20.noarch and python3-python-queuelib-1.0-2.fc20.noarch
Error Summary
-------------
답변1
잘. 오직 rpm만이 파일 충돌을 볼 수 있습니다. 이것이 바로 Fedora의 정책이 패키지에 이러한 충돌이 있으면 실제 충돌도 있어야 한다는 것입니다... 그러나 이것은 잘 확인되지 않는 많은 패키지 중 하나일 뿐입니다.
몇 가지 문제만 있는 것 같으므로 다음과 같이 할 수 있습니다.
yum install -- '*python*' -python3-queuelib -python-django-federated-login
답변2
이것은 작동합니다:
~]$ sudo yum install -- '*python*' -python3-queuelib -python-django-federated-login -gcc-python3-plugin -python-qpid_messaging -gcc-python2-plugin -gcc-python3-debug-plugin -python-django* -django* -gcc-python2-debug-plugin -python3-django15-1.5.8-1 python-django-bash-completion* -python-django15*
답변3
나를 위한:yum install python3
yum이 찾은 것을 표시 할 수도 있지만 yum search python3
저는 단순히 python3을 설치했고 그 결과 python3, python 3.2 및 python 3.2mj라는 다른 폴더가 설치되었습니다.