破損したパッケージを除くすべてのPythonパッケージをインストールするためにyumを使用する方法は?

破損したパッケージを除くすべてのPythonパッケージをインストールするためにyumを使用する方法は?

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

おすすめ記事