$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.7 (Santiago)
I have wrongly installed following rpm
# rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm (instead of OL 6 , i installed for OL 7)
How do remove this completely ?
[root@rac-p111 ~]# yum install rlwrap
Loaded plugins: refresh-packagekit, security, ulninfo
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package rlwrap.x86_64 0:0.43-1.el7 will be installed
--> Processing Dependency: libc.so.6(GLIBC_2.15)(64bit) for package: rlwrap-0.43-1.el7.x86_64
--> Processing Dependency: /usr/bin/python3 for package: rlwrap-0.43-1.el7.x86_64
--> Running transaction check
---> Package python34.x86_64 0:3.4.9-1.el7 will be installed
--> Processing Dependency: python34-libs(x86-64) = 3.4.9-1.el7 for package: python34-3.4.9-1.el7.x86_64
--> Processing Dependency: libpython3.4m.so.1.0()(64bit) for package: python34-3.4.9-1.el7.x86_64
---> Package rlwrap.x86_64 0:0.43-1.el7 will be installed
--> Processing Dependency: libc.so.6(GLIBC_2.15)(64bit) for package: rlwrap-0.43-1.el7.x86_64
--> Running transaction check
---> Package python34-libs.x86_64 0:3.4.9-1.el7 will be installed
--> Processing Dependency: expat >= 2.1.0 for package: python34-libs-3.4.9-1.el7.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.17)(64bit) for package: python34-libs-3.4.9-1.el7.x86_64
--> Processing Dependency: liblzma.so.5(XZ_5.0)(64bit) for package: python34-libs-3.4.9-1.el7.x86_64
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.2)(64bit) for package: python34-libs-3.4.9-1.el7.x86_64
--> Processing Dependency: liblzma.so.5()(64bit) for package: python34-libs-3.4.9-1.el7.x86_64
--> Processing Dependency: libgdbm.so.4()(64bit) for package: python34-libs-3.4.9-1.el7.x86_64
--> Processing Dependency: libgdbm_compat.so.4()(64bit) for package: python34-libs-3.4.9-1.el7.x86_64
--> Processing Dependency: libffi.so.6()(64bit) for package: python34-libs-3.4.9-1.el7.x86_64
---> Package rlwrap.x86_64 0:0.43-1.el7 will be installed
--> Processing Dependency: libc.so.6(GLIBC_2.15)(64bit) for package: rlwrap-0.43-1.el7.x86_64
--> Finished Dependency Resolution
Error: Package: python34-libs-3.4.9-1.el7.x86_64 (epel)
Requires: libgdbm.so.4()(64bit)
Error: Package: python34-libs-3.4.9-1.el7.x86_64 (epel)
Requires: libgdbm_compat.so.4()(64bit)
Error: Package: rlwrap-0.43-1.el7.x86_64 (epel)
Requires: libc.so.6(GLIBC_2.15)(64bit)
Error: Package: python34-libs-3.4.9-1.el7.x86_64 (epel)
Requires: libcrypto.so.10(OPENSSL_1.0.2)(64bit)
Error: Package: python34-libs-3.4.9-1.el7.x86_64 (epel)
Requires: expat >= 2.1.0
Installed: expat-2.0.1-11.el6_2.x86_64 (@anaconda-OracleLinuxServer-201507280245.x86_64/6.7)
expat = 2.0.1-11.el6_2
Available: expat-2.0.1-13.el6_8.i686 (public_ol6_latest)
expat = 2.0.1-13.el6_8
Error: Package: python34-libs-3.4.9-1.el7.x86_64 (epel)
Requires: liblzma.so.5(XZ_5.0)(64bit)
Error: Package: python34-libs-3.4.9-1.el7.x86_64 (epel)
Requires: libc.so.6(GLIBC_2.17)(64bit)
Error: Package: python34-libs-3.4.9-1.el7.x86_64 (epel)
Requires: liblzma.so.5()(64bit)
Error: Package: python34-libs-3.4.9-1.el7.x86_64 (epel)
Requires: libffi.so.6()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
# yum install rlwrap --skip-broken
Loaded plugins: refresh-packagekit, security, ulninfo
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package rlwrap.x86_64 0:0.43-1.el7 will be installed
--> Processing Dependency: libc.so.6(GLIBC_2.15)(64bit) for package: rlwrap-0.43-1.el7.x86_64
--> Processing Dependency: /usr/bin/python3 for package: rlwrap-0.43-1.el7.x86_64
--> Running transaction check
---> Package python34.x86_64 0:3.4.9-1.el7 will be installed
--> Processing Dependency: python34-libs(x86-64) = 3.4.9-1.el7 for package: python34-3.4.9-1.el7.x86_64
--> Processing Dependency: libpython3.4m.so.1.0()(64bit) for package: python34-3.4.9-1.el7.x86_64
---> Package rlwrap.x86_64 0:0.43-1.el7 will be installed
--> Processing Dependency: libc.so.6(GLIBC_2.15)(64bit) for package: rlwrap-0.43-1.el7.x86_64
--> Running transaction check
---> Package python34-libs.x86_64 0:3.4.9-1.el7 will be installed
--> Processing Dependency: expat >= 2.1.0 for package: python34-libs-3.4.9-1.el7.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.17)(64bit) for package: python34-libs-3.4.9-1.el7.x86_64
--> Processing Dependency: liblzma.so.5(XZ_5.0)(64bit) for package: python34-libs-3.4.9-1.el7.x86_64
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.2)(64bit) for package: python34-libs-3.4.9-1.el7.x86_64
--> Processing Dependency: liblzma.so.5()(64bit) for package: python34-libs-3.4.9-1.el7.x86_64
--> Processing Dependency: libgdbm.so.4()(64bit) for package: python34-libs-3.4.9-1.el7.x86_64
--> Processing Dependency: libgdbm_compat.so.4()(64bit) for package: python34-libs-3.4.9-1.el7.x86_64
--> Processing Dependency: libffi.so.6()(64bit) for package: python34-libs-3.4.9-1.el7.x86_64
---> Package rlwrap.x86_64 0:0.43-1.el7 will be installed
--> Processing Dependency: libc.so.6(GLIBC_2.15)(64bit) for package: rlwrap-0.43-1.el7.x86_64
Packages skipped because of dependency problems:
python34-3.4.9-1.el7.x86_64 from epel
python34-libs-3.4.9-1.el7.x86_64 from epel
rlwrap-0.43-1.el7.x86_64 from epel
$ . .bash_profile
ORACLE_SID = [pxbdb1] ?
The Oracle base remains unchanged with value /u01/app/oracle
-bash: rlwrap: command not found