Facing warning at the time of openjdk package updation/installation

General support questions
Post Reply
Sonu Khan
Posts: 2
Joined: 2019/02/05 05:03:53

Facing warning at the time of openjdk package updation/installation

Post by Sonu Khan » 2019/05/23 07:59:13

Hi Team,

Getting below warning:
[root@cucm ~]# rpm -Uvh java-1.7.0-openjdk-1.7.0.221-2.6.18.0.el7_6.i686.rpm java-1.7.0-openjdk-debuginfo-1.7.0.221-2.6.18.0.el7_6.i686.rpm java-1.7.0-openjdk-devel-1.7.0.221-2.6.18.0.el7_6.i686.rpm java-1.7.0-openjdk-headless-1.7.0.221-2.6.18.0.el7_6.i686.rpm
warning: java-1.7.0-openjdk-1.7.0.221-2.6.18.0.el7_6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
warning: java-1.7.0-openjdk-debuginfo-1.7.0.221-2.6.18.0.el7_6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID b6792c39: NOKEY
Preparing... ################################# [100%]
Updating / installing...
1:java-1.7.0-openjdk-debuginfo-1:1.################################# [ 14%]
2:java-1.7.0-openjdk-headless-1:1.7################################# [ 29%]
warning: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.221-2.6.18.0.el7_6.i386/jre/lib/security/java.security created as /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.221-2.6.18.0.el7_6.i386/jre/lib/security/java.security.rpmnew
/var/tmp/rpm-tmp.VOLkQF: line 7: /sbin/alternatives: Permission denied
/var/tmp/rpm-tmp.VOLkQF: line 39: /sbin/alternatives: Permission denied
/var/tmp/rpm-tmp.VOLkQF: line 39: /sbin/alternatives: Permission denied
/var/tmp/rpm-tmp.VOLkQF: line 45: /sbin/update-alternatives: Permission denied
/usr/libexec/copy_jdk_configs_fixFiles.sh: line 47: /bin/cat: Permission denied
/usr/libexec/copy_jdk_configs_fixFiles.sh: line 21: /bin/rm: Permission denied
3:java-1.7.0-openjdk-1:1.7.0.221-2.################################# [ 43%]
4:java-1.7.0-openjdk-devel-1:1.7.0.################################# [ 57%]
/var/tmp/rpm-tmp.dfyTkP: line 3: /sbin/alternatives: Permission denied
/var/tmp/rpm-tmp.dfyTkP: line 94: /sbin/alternatives: Permission denied
/var/tmp/rpm-tmp.dfyTkP: line 94: /sbin/alternatives: Permission denied
/var/tmp/rpm-tmp.dfyTkP: line 100: /sbin/update-alternatives: Permission denied
Cleaning up / removing...
5:java-1.7.0-openjdk-devel-1:1.7.0.################################# [ 71%]
/var/tmp/rpm-tmp.xvtftW: line 1: /sbin/alternatives: Permission denied
/var/tmp/rpm-tmp.xvtftW: line 2: /sbin/alternatives: Permission denied
/var/tmp/rpm-tmp.xvtftW: line 3: /sbin/alternatives: Permission denied
/var/tmp/rpm-tmp.xvtftW: line 4: /sbin/alternatives: Permission denied
6:java-1.7.0-openjdk-1:1.7.0.191-2.################################# [ 86%]
7:java-1.7.0-openjdk-headless-1:1.7warning: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/jre/lib/security/java.security saved as /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/jre/lib/security/java.security.rpmsave
################################# [100%]
/var/tmp/rpm-tmp.5Jy6Ib: line 1: /sbin/alternatives: Permission denied
/var/tmp/rpm-tmp.5Jy6Ib: line 2: /sbin/alternatives: Permission denied
/var/tmp/rpm-tmp.5Jy6Ib: line 3: /sbin/alternatives: Permission denied
/var/tmp/rpm-tmp.5Jy6Ib: line 4: /sbin/alternatives: Permission denied
[root@cucm ~]#

Could anyone help me to resolve this warning?

Thanks in advance...!

Regards,
Sonu

User avatar
TrevorH
Forum Moderator
Posts: 25557
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Facing warning at the time of openjdk package updation/installation

Post by TrevorH » 2019/05/23 09:12:39

You should use yum to install packages not rpm.

But, your system looks sick. Never mind the warning about the GPG key, all those permission denied errors do not look good and some of them are on key utilities that are needed for day to day use like cat and rm.

What sort of output do you get if you run rpm -Va ? That will take a long time to run and may produce a lot of output so you might want to pipe it somewhere.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

Sonu Khan
Posts: 2
Joined: 2019/02/05 05:03:53

Re: Facing warning at the time of openjdk package updation/installation

Post by Sonu Khan » 2019/05/23 11:17:46

@TrevorH ,
Thanks for reply...!!

When we get /sbin/alternatives: Permission denied warning it means , Link is not updating in /etc/alternatives dir:
Inside this directory still displaying older version

[root@cucm alternatives]# ls -lrt
total 368
lrwxrwxrwx. 1 root root 13 May 22 14:47 pax -> /usr/bin/spax
lrwxrwxrwx. 1 root root 29 May 22 14:47 pax-man -> /usr/share/man/man1/spax.1.gz
lrwxrwxrwx. 1 root root 34 May 22 14:47 libnssckbi.so.x86_64 -> /usr/lib64/pkcs11/p11-kit-trust.so
lrwxrwxrwx. 1 root root 26 May 22 14:48 libnssckbi.so -> /usr/lib/nss/libnssckbi.so
lrwxrwxrwx. 1 root root 15 May 22 14:48 ld -> /usr/bin/ld.bfd
lrwxrwxrwx. 1 root root 41 May 22 14:48 mta-sendmailman -> /usr/share/man/man1/sendmail.postfix.1.gz
lrwxrwxrwx. 1 root root 25 May 22 14:48 mta-sendmail -> /usr/lib/sendmail.postfix
lrwxrwxrwx. 1 root root 22 May 22 14:48 mta-rmail -> /usr/bin/rmail.postfix
lrwxrwxrwx. 1 root root 23 May 22 14:48 mta-pam -> /etc/pam.d/smtp.postfix
lrwxrwxrwx. 1 root root 43 May 22 14:48 mta-newaliasesman -> /usr/share/man/man1/newaliases.postfix.1.gz
lrwxrwxrwx. 1 root root 27 May 22 14:48 mta-newaliases -> /usr/bin/newaliases.postfix
lrwxrwxrwx. 1 root root 38 May 22 14:48 mta-mailqman -> /usr/share/man/man1/mailq.postfix.1.gz
lrwxrwxrwx. 1 root root 22 May 22 14:48 mta-mailq -> /usr/bin/mailq.postfix
lrwxrwxrwx. 1 root root 40 May 22 14:48 mta-aliasesman -> /usr/share/man/man5/aliases.postfix.5.gz
lrwxrwxrwx. 1 root root 26 May 22 14:48 mta -> /usr/sbin/sendmail.postfix
lrwxrwxrwx. 1 root root 69 May 22 14:48 jre_openjdk_exports -> /usr/lib/jvm-exports/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386
lrwxrwxrwx. 1 root root 65 May 22 14:48 jre_openjdk -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/jre
lrwxrwxrwx. 1 root root 69 May 22 14:48 jre_1.7.0_openjdk_exports -> /usr/lib/jvm-exports/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386
lrwxrwxrwx. 1 root root 60 May 22 14:48 jre_1.7.0_openjdk -> /usr/lib/jvm/jre-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386
lrwxrwxrwx. 1 root root 69 May 22 14:48 jre_1.7.0_exports -> /usr/lib/jvm-exports/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386
lrwxrwxrwx. 1 root root 65 May 22 14:48 jre_1.7.0 -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/jre
lrwxrwxrwx. 1 root root 30 May 22 14:48 ksh-man -> /usr/share/man/man1/ksh93.1.gz
lrwxrwxrwx. 1 root root 10 May 22 14:48 ksh -> /bin/ksh93
lrwxrwxrwx. 1 root root 70 May 22 14:48 jhat -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/bin/jhat
lrwxrwxrwx. 1 root root 69 May 22 14:48 jdb -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/bin/jdb
lrwxrwxrwx. 1 root root 74 May 22 14:48 jconsole -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/bin/jconsole
lrwxrwxrwx. 1 root root 70 May 22 14:48 jcmd -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/bin/jcmd
lrwxrwxrwx. 1 root root 69 May 22 14:48 java_sdk_exports -> /usr/lib/jvm-exports/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386
lrwxrwxrwx. 1 root root 61 May 22 14:48 java_sdk -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386
lrwxrwxrwx. 1 root root 71 May 22 14:48 javap -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/bin/javap
lrwxrwxrwx. 1 root root 71 May 22 14:48 javah -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/bin/javah
lrwxrwxrwx. 1 root root 73 May 22 14:48 javadoc -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/bin/javadoc
lrwxrwxrwx. 1 root root 71 May 22 14:48 javac -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/bin/javac
lrwxrwxrwx. 1 root root 75 May 22 14:48 jarsigner -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/bin/jarsigner
lrwxrwxrwx. 1 root root 69 May 22 14:48 jar -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/bin/jar
lrwxrwxrwx. 1 root root 70 May 22 14:48 idlj -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/bin/idlj
lrwxrwxrwx. 1 root root 74 May 22 14:48 extcheck -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/bin/extcheck
lrwxrwxrwx. 1 root root 69 May 22 14:48 apt -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/bin/apt
lrwxrwxrwx. 1 root root 78 May 22 14:48 appletviewer -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/bin/appletviewer
lrwxrwxrwx. 1 root root 69 May 22 14:48 xjc -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/bin/xjc
lrwxrwxrwx. 1 root root 74 May 22 14:48 wsimport -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/bin/wsimport
lrwxrwxrwx. 1 root root 71 May 22 14:48 wsgen -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/bin/wsgen
lrwxrwxrwx. 1 root root 75 May 22 14:48 serialver -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/bin/serialver
lrwxrwxrwx. 1 root root 75 May 22 14:48 schemagen -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/bin/schemagen
lrwxrwxrwx. 1 root root 70 May 22 14:48 rmic -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/bin/rmic
lrwxrwxrwx. 1 root root 76 May 22 14:48 policytool -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/bin/policytool
lrwxrwxrwx. 1 root root 78 May 22 14:48 native2ascii -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/bin/native2ascii
lrwxrwxrwx. 1 root root 72 May 22 14:48 jstatd -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/bin/jstatd
lrwxrwxrwx. 1 root root 71 May 22 14:48 jstat -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/bin/jstat
lrwxrwxrwx. 1 root root 72 May 22 14:48 jstack -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/bin/jstack
lrwxrwxrwx. 1 root root 75 May 22 14:48 jsadebugd -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/bin/jsadebugd
lrwxrwxrwx. 1 root root 76 May 22 14:48 jrunscript -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/bin/jrunscript
lrwxrwxrwx. 1 root root 69 May 22 14:48 jps -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/bin/jps
lrwxrwxrwx. 1 root root 70 May 22 14:48 jmap -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/bin/jmap
lrwxrwxrwx. 1 root root 71 May 22 14:48 jinfo -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/bin/jinfo
lrwxrwxrwx. 1 root root 86 May 22 14:48 appletviewer.1.gz -> /usr/share/man/man1/appletviewer-java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386.1.gz
lrwxrwxrwx. 1 root root 77 May 22 14:48 xjc.1.gz -> /usr/share/man/man1/xjc-java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386.1.gz
lrwxrwxrwx. 1 root root 82 May 22 14:48 wsimport.1.gz -> /usr/share/man/man1/wsimport-java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386.1.gz
lrwxrwxrwx. 1 root root 79 May 22 14:48 wsgen.1.gz -> /usr/share/man/man1/wsgen-java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386.1.gz
lrwxrwxrwx. 1 root root 83 May 22 14:48 serialver.1.gz -> /usr/share/man/man1/serialver-java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386.1.gz
lrwxrwxrwx. 1 root root 83 May 22 14:48 schemagen.1.gz -> /usr/share/man/man1/schemagen-java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386.1.gz
lrwxrwxrwx. 1 root root 78 May 22 14:48 rmic.1.gz -> /usr/share/man/man1/rmic-java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386.1.gz
lrwxrwxrwx. 1 root root 84 May 22 14:48 policytool.1.gz -> /usr/share/man/man1/policytool-java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386.1.gz
lrwxrwxrwx. 1 root root 86 May 22 14:48 native2ascii.1.gz -> /usr/share/man/man1/native2ascii-java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386.1.gz
lrwxrwxrwx. 1 root root 80 May 22 14:48 jstatd.1.gz -> /usr/share/man/man1/jstatd-java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386.1.gz
lrwxrwxrwx. 1 root root 79 May 22 14:48 jstat.1.gz -> /usr/share/man/man1/jstat-java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386.1.gz
lrwxrwxrwx. 1 root root 80 May 22 14:48 jstack.1.gz -> /usr/share/man/man1/jstack-java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386.1.gz
lrwxrwxrwx. 1 root root 83 May 22 14:48 jsadebugd.1.gz -> /usr/share/man/man1/jsadebugd-java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386.1.gz
lrwxrwxrwx. 1 root root 84 May 22 14:48 jrunscript.1.gz -> /usr/share/man/man1/jrunscript-java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386.1.gz
lrwxrwxrwx. 1 root root 77 May 22 14:48 jps.1.gz -> /usr/share/man/man1/jps-java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386.1.gz
lrwxrwxrwx. 1 root root 78 May 22 14:48 jmap.1.gz -> /usr/share/man/man1/jmap-java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386.1.gz
lrwxrwxrwx. 1 root root 79 May 22 14:48 jinfo.1.gz -> /usr/share/man/man1/jinfo-java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386.1.gz
lrwxrwxrwx. 1 root root 78 May 22 14:48 jhat.1.gz -> /usr/share/man/man1/jhat-java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386.1.gz
lrwxrwxrwx. 1 root root 77 May 22 14:48 jdb.1.gz -> /usr/share/man/man1/jdb-java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386.1.gz
lrwxrwxrwx. 1 root root 82 May 22 14:48 jconsole.1.gz -> /usr/share/man/man1/jconsole-java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386.1.gz
lrwxrwxrwx. 1 root root 79 May 22 14:48 javap.1.gz -> /usr/share/man/man1/javap-java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386.1.gz
lrwxrwxrwx. 1 root root 79 May 22 14:48 javah.1.gz -> /usr/share/man/man1/javah-java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386.1.gz
lrwxrwxrwx. 1 root root 81 May 22 14:48 javadoc.1.gz -> /usr/share/man/man1/javadoc-java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386.1.gz
lrwxrwxrwx. 1 root root 79 May 22 14:48 javac.1.gz -> /usr/share/man/man1/javac-java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386.1.gz
lrwxrwxrwx. 1 root root 83 May 22 14:48 jarsigner.1.gz -> /usr/share/man/man1/jarsigner-java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386.1.gz
lrwxrwxrwx. 1 root root 77 May 22 14:48 jar.1.gz -> /usr/share/man/man1/jar-java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386.1.gz
lrwxrwxrwx. 1 root root 82 May 22 14:48 extcheck.1.gz -> /usr/share/man/man1/extcheck-java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386.1.gz
lrwxrwxrwx. 1 root root 77 May 22 14:48 apt.1.gz -> /usr/share/man/man1/apt-java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386.1.gz
lrwxrwxrwx. 1 root root 69 May 22 14:48 java_sdk_openjdk_exports -> /usr/lib/jvm-exports/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386
lrwxrwxrwx. 1 root root 61 May 22 14:48 java_sdk_openjdk -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386
lrwxrwxrwx. 1 root root 69 May 22 14:48 java_sdk_1.7.0_exports -> /usr/lib/jvm-exports/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386
lrwxrwxrwx. 1 root root 61 May 22 14:48 java_sdk_1.7.0 -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386
lrwxrwxrwx. 1 root root 69 May 22 14:48 java_sdk_1.7.0_openjdk_exports -> /usr/lib/jvm-exports/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386
lrwxrwxrwx. 1 root root 61 May 22 14:48 java_sdk_1.7.0_openjdk -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386
lrwxrwxrwx. 1 root root 74 May 23 10:05 java -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/jre/bin/java
lrwxrwxrwx. 1 root root 77 May 23 10:05 pack200 -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/jre/bin/pack200
lrwxrwxrwx. 1 root root 74 May 23 10:05 orbd -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/jre/bin/orbd
lrwxrwxrwx. 1 root root 77 May 23 10:05 keytool -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/jre/bin/keytool
lrwxrwxrwx. 1 root root 69 May 23 10:05 jre_exports -> /usr/lib/jvm-exports/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386
lrwxrwxrwx. 1 root root 65 May 23 10:05 jre -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/jre
lrwxrwxrwx. 1 root root 79 May 23 10:05 unpack200 -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/jre/bin/unpack200
lrwxrwxrwx. 1 root root 79 May 23 10:05 tnameserv -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/jre/bin/tnameserv
lrwxrwxrwx. 1 root root 80 May 23 10:05 servertool -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/jre/bin/servertool
lrwxrwxrwx. 1 root root 81 May 23 10:05 rmiregistry -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/jre/bin/rmiregistry
lrwxrwxrwx. 1 root root 74 May 23 10:05 rmid -> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386/jre/bin/rmid
lrwxrwxrwx. 1 root root 83 May 23 10:05 unpack200.1.gz -> /usr/share/man/man1/unpack200-java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386.1.gz
lrwxrwxrwx. 1 root root 83 May 23 10:05 tnameserv.1.gz -> /usr/share/man/man1/tnameserv-java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386.1.gz
lrwxrwxrwx. 1 root root 84 May 23 10:05 servertool.1.gz -> /usr/share/man/man1/servertool-java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386.1.gz
lrwxrwxrwx. 1 root root 85 May 23 10:05 rmiregistry.1.gz -> /usr/share/man/man1/rmiregistry-java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386.1.gz
lrwxrwxrwx. 1 root root 78 May 23 10:05 rmid.1.gz -> /usr/share/man/man1/rmid-java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386.1.gz
lrwxrwxrwx. 1 root root 81 May 23 10:05 pack200.1.gz -> /usr/share/man/man1/pack200-java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386.1.gz
lrwxrwxrwx. 1 root root 78 May 23 10:05 orbd.1.gz -> /usr/share/man/man1/orbd-java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386.1.gz
lrwxrwxrwx. 1 root root 81 May 23 10:05 keytool.1.gz -> /usr/share/man/man1/keytool-java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386.1.gz
lrwxrwxrwx. 1 root root 78 May 23 10:05 java.1.gz -> /usr/share/man/man1/java-java-1.7.0-openjdk-1.7.0.191-2.6.15.4.el7_5.i386.1.gz
[root@cucm alternatives]#


Regards,
Sonu

User avatar
TrevorH
Forum Moderator
Posts: 25557
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Facing warning at the time of openjdk package updation/installation

Post by TrevorH » 2019/05/23 14:33:24

It's trying to run /sbin/alternatives and that is not allowed on your system. Nor is running /bin/cat or /bin/rm. Those files are corrupted and something horrible is wrong with your system. It's not the contents of /etc/alternatives at fault - that's not modified because you don't have permission to run /sbin/alternatives.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply