Como resolver erros do yum durante a atualização - CentOS

4

Estou rodando o CentOS 6.4 com o Apache e estou tendo problemas para executar a atualização do Easy Apache através do WHM. Ele falha com erros relacionados ao yum, então resolvi atualizar o yum manualmente.

Aqui estão as últimas linhas de visão da saída ao executar a atualização yum --skip-broken

 Packages skipped because of dependency problems:
        compat-expat1-1.95.8-8.el6.x86_64 from base
        git-1.8.2.1-1.el5.x86_64 from epel
        glibc-2.12-1.107.el6_4.4.i686 from updates
        glibc-2.12-1.107.el6_4.4.x86_64 from updates
        glibc-devel-2.12-1.107.el6_4.4.i686 from updates
        glibc-devel-2.12-1.107.el6_4.4.x86_64 from updates
        glibc-headers-2.12-1.107.el6_4.4.x86_64 from updates
        glibc-static-2.12-1.107.el6_4.4.x86_64 from updates
        nscd-2.12-1.107.el6_4.4.x86_64 from updates
    Error:  Multilib version problems found. This often means that the root
           cause is something else and multilib version checking is just
           pointing out that there is a problem. Eg.:

             1. You have an upgrade for nss-softokn-freebl which is missing some
                dependency that another package requires. Yum is trying to
                solve this by installing an older version of nss-softokn-freebl of the
                different architecture. If you exclude the bad architecture
                yum will tell you what the root cause is (which package
                requires what). You can try redoing the upgrade with
                --exclude nss-softokn-freebl.otherarch ... this should give you an error
                message showing the root cause of the problem.

             2. You have multiple architectures of nss-softokn-freebl installed, but
                yum can only see an upgrade for one of those arcitectures.
                If you don't want/need both architectures anymore then you
                can remove the one with the missing update and everything
                will work.

             3. You have duplicate versions of nss-softokn-freebl installed already.
                You can use "yum check" to get yum show these errors.

           ...you can also use --setopt=protected_multilib=false to remove
           this checking, however this is almost never the correct thing to
           do as something else is very likely to go wrong (often causing
           much more problems).

           Protected multilib versions: nss-softokn-freebl-3.14.3-3.el6_4.i686 != nss-softokn-freebl-3.12.9-11.el6.x86_64
    Error: Protected multilib versions: libgcc-4.4.7-3.el6.i686 != libgcc-4.4.6-4.el6.x86_64
    ** Found 12 pre-existing rpmdb problem(s), 'yum check' output follows:
    bash-4.1.2-15.el6_4.x86_64 is a duplicate with bash-4.1.2-9.el6_2.x86_64
    centos-release-6-4.el6.centos.10.x86_64 is a duplicate with centos-release-6-3.el6.centos.9.x86_64
    12:dhcp-common-4.1.1-34.P1.el6_4.1.x86_64 is a duplicate with 12:dhcp-common-4.1.1-31.0.1.P1.el6.centos.1.x86_64
    frontpage-2002-SR1.2.i386 has missing requires of libexpat.so.0
    glibc-common-2.12-1.107.el6_4.4.x86_64 is a duplicate with glibc-common-2.12-1.80.el6_3.4.x86_64
    glibc-common-2.12-1.107.el6_4.4.x86_64 has missing requires of glibc = ('0', '2.12', '1.107.el6_4.4')
    libgcc-4.4.7-3.el6.x86_64 is a duplicate with libgcc-4.4.6-4.el6.x86_64
    nss-softokn-freebl-3.14.3-3.el6_4.x86_64 is a duplicate with nss-softokn-freebl-3.12.9-11.el6.x86_64
    sendmail-cf-8.14.4-8.el6.noarch has missing requires of sendmail = ('0', '8.14.4', '8.el6')
    setup-2.8.14-20.el6_4.1.noarch is a duplicate with setup-2.8.14-16.el6.noarch
    tzdata-2013c-2.el6.noarch is a duplicate with tzdata-2012c-3.el6.noarch
    xorg-x11-proto-devel-7.6-25.el6.noarch is a duplicate with xorg-x11-proto-devel-7.6-13.el6.noarch

Eu não segui os passos que os erros sugerem, porque sinto que há um grande problema subjacente com tantos problemas. Que passos devo dar para retornar para um yum em pleno funcionamento?

    
por chuckieDub 11.10.2013 / 07:35

1 resposta

6

aqui está o que resolveu este problema para mim:

  • yum limpa tudo
  • yum distro-sync
  • atualização do yum

-

achei as informações aqui

    
por 10.12.2013 / 12:16

Tags