Não é possível instalar nenhum pacote no RHEL devido a dependências

2

Estou tentando instalar pacotes, mas continuo recebendo erros de dependência.

Eu já instalei os repositórios EPEL, IUS, REMI.

Exemplo:

yum install gcc

e eu recebo

Error: Package: devtoolset-2-gcc-4.8.2-15.1.el6.x86_64 (slc6-devtoolset) 
requires: glibc-devel >= 2.2.90-12   (and other dependencies)

e quando tento instalar o glibc (ou as outras dependências)

yum install glibc-devel*

Eu obtenho

no package glibc-devel* available.  Nothing to do.


yum list installed |grep glibc* 

não mostra nenhum glibc-devel instalado.

Versão RHEL = 2.6.32-358.el6.x86_64

[root@localhost yum.repos.d]# yum repolist all
Loaded plugins: product-id, refresh-packagekit, replace, security, subscription-
              : manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
repo id                        repo name                          status
InstallMedia                   Red Hat Enterprise Linux 6.4       disabled
epel                           Extra Packages for Enterprise Linu enabled: 11,141
epel-debuginfo                 Extra Packages for Enterprise Linu disabled
epel-source                    Extra Packages for Enterprise Linu disabled
epel-testing                   Extra Packages for Enterprise Linu disabled
epel-testing-debuginfo         Extra Packages for Enterprise Linu disabled
epel-testing-source            Extra Packages for Enterprise Linu disabled
ius                            IUS Community Packages for Enterpr enabled:    232
ius-archive                    IUS Community Packages for Enterpr disabled
ius-archive-debuginfo          IUS Community Packages for Enterpr disabled
ius-archive-source             IUS Community Packages for Enterpr disabled
ius-debuginfo                  IUS Community Packages for Enterpr disabled
ius-dev                        IUS Community Packages for Enterpr enabled:     25
ius-dev-debuginfo              IUS Community Packages for Enterpr disabled
ius-dev-source                 IUS Community Packages for Enterpr disabled
ius-source                     IUS Community Packages for Enterpr disabled
ius-testing                    IUS Community Packages for Enterpr disabled
ius-testing-debuginfo          IUS Community Packages for Enterpr disabled
ius-testing-source             IUS Community Packages for Enterpr disabled
pgdg93                         PostgreSQL 9.3 6Server - x86_64    enabled:    256
pgdg93-source                  PostgreSQL 9.3 6Server - x86_64 -  disabled
remi                           Les RPM de remi pour Enterprise Li disabled
remi-debuginfo                 Les RPM de remi pour Enterprise Li disabled
remi-php55                     Les RPM de remi de PHP 5.5 pour En disabled
remi-php55-debuginfo           Les RPM de remi de PHP 5.5 pour En disabled
remi-php56                     Les RPM de remi de PHP 5.6 pour En disabled
remi-php56-debuginfo           Les RPM de remi de PHP 5.6 pour En disabled
remi-test                      Les RPM de remi en test pour Enter disabled
remi-test-debuginfo            Les RPM de remi en test pour Enter disabled
rhel-source                    Red Hat Enterprise Linux 6Server - disabled
rhel-source-beta               Red Hat Enterprise Linux 6Server B disabled
rpmforge                       RHEL 6Server - RPMforge.net - dag  enabled:  4,718
rpmforge-extras                RHEL 6Server - RPMforge.net - extr disabled
rpmforge-testing               RHEL 6Server - RPMforge.net - test disabled
slc6-devtoolset                Scientific Linux CERN 6 (SLC6) - D enabled:    458
slc6-devtoolset-debug          Scientific Linux CERN 6 (SLC6) - D disabled
slc6-devtoolset-source         Scientific Linux CERN 6 (SLC6) - D disabled
slc6-devtoolset-testing        Scientific Linux CERN 6 (SLC6) - D disabled
slc6-devtoolset-testing-debug  Scientific Linux CERN 6 (SLC6) - D disabled
slc6-devtoolset-testing-source Scientific Linux CERN 6 (SLC6) - D disabled
slc6-os                        Scientific Linux CERN 6 (SLC6) bas disabled
webtatic                       Webtatic Repository 6Server - x86_ enabled:    383
webtatic-debuginfo             Webtatic Repository 6Server - x86_ disabled
webtatic-source                Webtatic Repository 6Server - x86_ disabled
repolist: 17,213
    
por Jason 20.10.2014 / 09:46

2 respostas

2

Você deve instalar o pacote gcc de

slc6-os.repo ou slc6-updates.repo

As dependências também serão fornecidas a partir daí, em vez de usar a versão devtoolset .

Entradas de repositórios do Yum

/etc/yum.repos.d/slc6-os.repo
/etc/yum.repos.d/slc6-updates.repo
/etc/yum.repos.d/slc6-extras.repo

Instruções de instalação

Localização:

slc6-os.repo
slc6-updates.repo
slc6-extras.repo

Importar a chave GPG:

rpm --import http://linuxsoft.cern.ch/cern/slc6X/x86_64/RPM-GPG-KEY-cern
    
por 22.10.2014 / 11:36
0

A glibc-devel deve fazer parte do repositório base, você pode ter alguns conflitos com seus repositórios.

tente desabilitar todos os repositórios extras que você adicionou e tente novamente.

Você também deve verificar o plug-in Prioridades , que pode impedir que um repositório de terceiros substitua os pacotes básicos, ou impedir que a base / atualizações substituam um pacote de terceiros.

    
por 20.10.2014 / 16:17