Erro de dependência ao instalar o Oracle Client SDK no Linux

1

Tentando instalar o Oracle Client e o SDK no Red Hat Linux EL6:

[~]: sudo rpm -ivh oracle-instantclient12.1-basiclite-12.1.0.2.0-1.x86_64.rpm
Preparing...                ########################################### [100%]
   1:oracle-instantclient12.########################################### [100%]

Isso pareceu dar certo. Mas então tentando instalar o SDK ...

[~]: sudo rpm -ivh oracle-instantclient12.1-devel-12.1.0.2.0-1.x86_64.rpm 
error: Failed dependencies:
    oracle-instantclient12.1-basic >= 12.1.0.2.0 is needed by oracle-instantclient12.1-devel-12.1.0.2.0-1.x86_64

Eu não instalei o oracle-instantclient12.1-basiclite-12.1.0.2.0-1?

    
por Marcus 23.10.2014 / 22:45

1 resposta

1

Como Michael Hampton apontou, eu não li a mensagem de erro corretamente. Eu tinha instalado o Oracle Instant Client 'Basic Lite', enquanto o pacote SDK (oracle-instantclient12.1-devel) exigia o Oracle Instant Client 'Básico'.

Meu sucesso abaixo. O pacote sqlplus entrou ok também.

[~]: sudo rpm -ivh oracle-instantclient12.1-basic-12.1.0.2.0-1.x86_64.rpm
Preparing...                ########################################### [100%]
   1:oracle-instantclient12.########################################### [100%]
[~]: sudo rpm -ivh oracle-instantclient12.1-devel-12.1.0.2.0-1.x86_64.rpm
Preparing...                ########################################### [100%]
   1:oracle-instantclient12.########################################### [100%]
[~]: sudo rpm -ivh oracle-instantclient12.1-sqlplus-12.1.0.2.0-1.x86_64.rpm 
Preparing...                ########################################### [100%]
   1:oracle-instantclient12.########################################### [100%]
    
por 24.10.2014 / 21:13

Tags