Search This Blog

Total Pageviews

Saturday, 23 September 2017

Can't locate Term/ReadKey.pm in @INC (@INC contains:


[oracle@cloud-ora admin]$ echo $ORACLE_HOME
/u01/app/oracle/product/12.1.0/db_1

[oracle@cloud-ora admin]$ perl catcon.pl -d /u01/app/oracle/product/12.1.0/db_1/rdbms/admin -b catalog catalog.sql

Can't locate Term/ReadKey.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . ./) at catcon.pm line 189.
BEGIN failed--compilation aborted at catcon.pm line 189.
Compilation failed in require at catcon.pl line 94.
BEGIN failed--compilation aborted at catcon.pl line 94.




Install This rpm ...

yum install perl-TermReadKey !!!!!!!!!!!!!

Loaded plugins: ulninfo
Setting up Install Process
datapipe | 2.9 kB 00:00
datapipe-internal | 2.9 kB 00:00
epel/metalink | 13 kB 00:00
epel | 4.3 kB 00:00
public_ol6_UEKR3_latest | 1.2 kB 00:00
public_ol6_latest | 1.4 kB 00:00
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
The program yum-complete-transaction is found in the yum-utils package.
--> Running transaction check
---> Package perl-TermReadKey.x86_64 0:2.30-13.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
perl-TermReadKey x86_64 2.30-13.el6 public_ol6_latest 30 k

Transaction Summary
================================================================================
Install 1 Package(s)

Total download size: 30 k
Installed size: 62 k
Is this ok [y/N]: y
Downloading Packages:
perl-TermReadKey-2.30-13.el6.x86_64.rpm | 30 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : perl-TermReadKey-2.30-13.el6.x86_64 1/1
Verifying : perl-TermReadKey-2.30-13.el6.x86_64 1/1

Installed:
perl-TermReadKey.x86_64 0:2.30-13.el6

Complete!



Then try again !!!!!!!!!!

No comments:

Oracle DBA

anuj blog Archive