marmar24012 / Bash-Scripts

A Cumulative Of Bash Scripts Made To Make My Job Easier
0 stars 0 forks source link

Review yum/dnf Exclusions #28

Open marmar24012 opened 2 weeks ago

marmar24012 commented 2 weeks ago

NOTE: OCI cloud has Oracle Java in it’s public repository. Java could update to the latest uncertified java version unless you exclude it before you run yum/dnf update.

NOTE: For Java, check both jdk and jre. It’s possible issues could arise if jdk is excluded, but not jre if it’s installed (version conflict). jdk1.8 jre1.8

cat /etc/yum.conf exclude=jdk1.8 # Oracle Java - OCI instances exclude=python3.i686 python-pillow.i686

exclude=openssh openssh-server openssh-clients

Why can’t I do anything using yum/dnf with jdk1.8? It’s because it’s excluded in /etc/yum.conf file. yum search jdk1.8 yum list jdk1.8 yum --showduplicates list jdk1.8