Centos 6 yum update - Pacotes ignorados devido a problemas de dependência

1

Estou tentando manter meu servidor de backup off-site atualizado, por isso executei uma atualização e estou recebendo problemas de dependência. Eu não tenho ideia de como continuar. Abaixo está a saída do YUM.

[root@localhost philosophy-admin]# yum update --skip-broken
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * Webmin: webmin.mirror.somersettechsolutions.co.uk
 * base: mirror.mhd.uk.as44574.net
 * epel: mirror.bytemark.co.uk
 * extras: mirror.mhd.uk.as44574.net
 * updates: mirror.mhd.uk.as44574.net
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package TurboGears2.noarch 0:2.1-0.1.b2.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: TurboGears2-2.1-0.1.b2.el5.noarch
---> Package iotop.noarch 0:0.4.1-2.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: iotop-0.4.1-2.el5.noarch
---> Package python-babel.noarch 0:0.9.5-2.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: python-babel-0.9.5-2.el5.noarch
---> Package python-beaker.noarch 0:1.5.4-1.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: python-beaker-1.5.4-1.el5.noarch
---> Package python-ethtool.x86_64 0:0.6-2.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: python-ethtool-0.6-2.el5.x86_64
---> Package python-markdown.noarch 0:2.0.3-1.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: python-markdown-2.0.3-1.el5.noarch
--> Processing Dependency: python-elementtree for package: python-markdown-2.0.3-1.el5.noarch
---> Package python-nose.noarch 0:0.11.3-2.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: python-nose-0.11.3-2.el5.noarch
---> Package python-paramiko.noarch 0:1.7.6-1.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: python-paramiko-1.7.6-1.el5.noarch
---> Package python-psycopg2.x86_64 0:2.0.14-1.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: python-psycopg2-2.0.14-1.el5.x86_64
--> Processing Dependency: libpq.so.4()(64bit) for package: python-psycopg2-2.0.14-1.el5.x86_64
---> Package python-pygments.noarch 0:1.4-3.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: python-pygments-1.4-3.el5.noarch
--> Processing Dependency: python-imaging for package: python-pygments-1.4-3.el5.noarch
---> Package python-pylons.noarch 0:0.9.7-4.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: python-pylons-0.9.7-4.el5.noarch
--> Processing Dependency: python-decorator3 for package: python-pylons-0.9.7-4.el5.noarch
---> Package python-repoze-tm2.noarch 0:1.0-0.6.a5.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: python-repoze-tm2-1.0-0.6.a5.el5.noarch
---> Package python-repoze-who.noarch 0:1.0.18-2.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: python-repoze-who-1.0.18-2.el5.noarch
---> Package python-repoze-who-testutil.noarch 0:1.0-1.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: python-repoze-who-testutil-1.0-1.el5.noarch
---> Package python-routes.noarch 0:1.12.1-1.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: python-routes-1.12.1-1.el5.noarch
---> Package python-turbojson.noarch 0:1.2.1-9.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: python-turbojson-1.2.1-9.el5.noarch
---> Package python-webhelpers.noarch 0:1.0-0.2.b7.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: python-webhelpers-1.0-0.2.b7.el5.noarch
---> Package python-webob.noarch 0:0.9.8-2.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: python-webob-0.9.8-2.el5.noarch
--> Running transaction check
---> Package TurboGears2.noarch 0:2.1-0.1.b2.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: TurboGears2-2.1-0.1.b2.el5.noarch
---> Package iotop.noarch 0:0.4.1-2.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: iotop-0.4.1-2.el5.noarch
---> Package python-babel.noarch 0:0.9.5-2.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: python-babel-0.9.5-2.el5.noarch
---> Package python-beaker.noarch 0:1.5.4-1.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: python-beaker-1.5.4-1.el5.noarch
---> Package python-decorator3.noarch 0:3.1.2-2.el5.1 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: python-decorator3-3.1.2-2.el5.1.noarch
---> Package python-ethtool.x86_64 0:0.6-2.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: python-ethtool-0.6-2.el5.x86_64
---> Package python-imaging.x86_64 0:1.1.6-19.el6 set to be updated
---> Package python-markdown.noarch 0:2.0.3-1.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: python-markdown-2.0.3-1.el5.noarch
--> Processing Dependency: python-elementtree for package: python-markdown-2.0.3-1.el5.noarch
---> Package python-nose.noarch 0:0.11.3-2.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: python-nose-0.11.3-2.el5.noarch
---> Package python-paramiko.noarch 0:1.7.6-1.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: python-paramiko-1.7.6-1.el5.noarch
---> Package python-psycopg2.x86_64 0:2.0.14-1.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: python-psycopg2-2.0.14-1.el5.x86_64
--> Processing Dependency: libpq.so.4()(64bit) for package: python-psycopg2-2.0.14-1.el5.x86_64
---> Package python-pygments.noarch 0:1.4-3.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: python-pygments-1.4-3.el5.noarch
---> Package python-pylons.noarch 0:0.9.7-4.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: python-pylons-0.9.7-4.el5.noarch
---> Package python-repoze-tm2.noarch 0:1.0-0.6.a5.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: python-repoze-tm2-1.0-0.6.a5.el5.noarch
---> Package python-repoze-who.noarch 0:1.0.18-2.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: python-repoze-who-1.0.18-2.el5.noarch
---> Package python-repoze-who-testutil.noarch 0:1.0-1.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: python-repoze-who-testutil-1.0-1.el5.noarch
---> Package python-routes.noarch 0:1.12.1-1.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: python-routes-1.12.1-1.el5.noarch
---> Package python-turbojson.noarch 0:1.2.1-9.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: python-turbojson-1.2.1-9.el5.noarch
---> Package python-webhelpers.noarch 0:1.0-0.2.b7.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: python-webhelpers-1.0-0.2.b7.el5.noarch
---> Package python-webob.noarch 0:0.9.8-2.el5 set to be updated
--> Processing Dependency: python(abi) = 2.4 for package: python-webob-0.9.8-2.el5.noarch
--> Finished Dependency Resolution

Packages skipped because of dependency problems:
    TurboGears2-2.1-0.1.b2.el5.noarch from epel
    iotop-0.4.1-2.el5.noarch from epel
    python-babel-0.9.5-2.el5.noarch from epel
    python-beaker-1.5.4-1.el5.noarch from epel
    python-decorator3-3.1.2-2.el5.1.noarch from epel
    python-ethtool-0.6-2.el5.x86_64 from epel
    python-imaging-1.1.6-19.el6.x86_64 from base
    python-markdown-2.0.3-1.el5.noarch from epel
    python-nose-0.11.3-2.el5.noarch from epel
    python-paramiko-1.7.6-1.el5.noarch from epel
    python-psycopg2-2.0.14-1.el5.x86_64 from epel
    python-pygments-1.4-3.el5.noarch from epel
    python-pylons-0.9.7-4.el5.noarch from epel
    python-repoze-tm2-1.0-0.6.a5.el5.noarch from epel
    python-repoze-who-1.0.18-2.el5.noarch from epel
    python-repoze-who-testutil-1.0-1.el5.noarch from epel
    python-routes-1.12.1-1.el5.noarch from epel
    python-turbojson-1.2.1-9.el5.noarch from epel
    python-webhelpers-1.0-0.2.b7.el5.noarch from epel
    python-webob-0.9.8-2.el5.noarch from epel

Como resolvo esses problemas de dependência?

    
por Brady 19.10.2011 / 16:33

5 respostas

3

Eu tenho o mesmo problema com você quando eu uso linode vps centos 6 template. Para resolver o problema, faça isso

1) rpm -qa | grep epel então você pode conseguir isso epel-release-5-4.noarch

2) yum remove epel-release-5-4.noarch

3) instalar a versão 6 epel para i386: rpm -Uvh link para x86_64 link

4) yum update

Isso é tudo.

    
por 01.12.2011 / 11:32
2

Eu vi os mesmos problemas de dependência após instalar equivocadamente o epel-release-5.4 em um sistema CentOS 6, removendo-o e instalando o epel-release-6.5. A execução de yum clean all resolveu o problema.

    
por 27.01.2012 / 00:26
2

Eu tive o mesmo erro e percebi como meu erro aconteceu, corrigi o problema, mas ainda recebi o erro. Eu basicamente já tinha feito tudo nesse segmento também, mas o problema persistiu. Corrigi-o agora e queria compartilhar minha solução.

Sintoma: As versões do El5 tentam instalar no CentOS 6 e estão listadas em rpm -qa

Causa Original: Ao instalar o repositório EPEL (ou qualquer outro), a versão errada é instalada para o SO.

Solução tentada: Desinstalar repo errado instalar repo correto

Solução final: Mesmo que a versão correta esteja instalada, o diretório de cache ainda contém as informações do el5. A fim de corrigir isso, depois de desinstalar o repo errado instalar o repositório correto, você deve excluir as informações de repositório em cache com esta linha:

rm -Rf / var / cache / yum / x86_64 / 6 / epel *

Por favor, edite essa linha para ser específica à sua versão ou simplesmente exclua tudo sob o diretório yum.

    
por 11.09.2015 / 01:55
1

Você deve atualizar seu repositório epel, porque, como disse Martian, você usa o repositório EL5 em vez de EL6

Experimente esta manipulação para atualizar o seu repo:

# wget http://ftp.riken.jp/Linux/fedora/epel/RPM-GPG-KEY-EPEL-6
# rpm --import RPM-GPG-KEY-EPEL-6 
# rm -f RPM-GPG-KEY-EPEL-6

Normalmente, isso resolveria seu problema

    
por 18.11.2011 / 15:49
0

$ TITLE diz que é o CentOS 6, enquanto o yum update reclama sobre os pacotes do el5. Parece que epel repo para RHEL5 é usado em vez de para RHEL6.

Você precisa atualizar o lançamento de epel primeiro se presente ou obter um, se estiver ausente. Simplesmente execute o seguinte e tente novamente o yum update:

wget "http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm"
sudo yum update ./epel-release-6-5.noarch.rpm

Leitura adicional:

por 18.11.2011 / 15:15