Como instalar com o yum todos os pacotes python, exceto quebrado?

0

Eu quero instalar todos os pacotes python no meu sistema Fedora 20, e há dependências quebradas. Como posso instalar todos, exceto os quebrados ou com erros?

]$ 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

Eu tentei:

]$ sudo yum install *python* --skip-broken

Mas dá isto:

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
-------------
    
por somethingSomething 27.05.2014 / 03:14

3 respostas

0

Isso funcionou:

~]$ 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*
    
por 28.05.2014 / 09:05
1

nada além do rpm pode ver conflitos de arquivos, e é por isso que a política do Fedora é que se um pacote os tiver, ele deve ter um conflito real também ... mas essa é uma das muitas coisas que não são verificadas muito bem.

Parece que há apenas alguns problemas, por isso você pode:

yum install -- '*python*' -python3-queuelib -python-django-federated-login
    
por 27.05.2014 / 16:38
0

para mim: yum install python3

você também pode yum search python3 , o que mostra o que o yum encontra, mas simplesmente instale o python3 e instale o python3, o python 3.2 com outra pasta chamada python 3.2mj também.

    
por 02.12.2016 / 04:14