lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 70a5c91 4/9: Remove a gratuitous difference i


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 70a5c91 4/9: Remove a gratuitous difference in 'yum' commands
Date: Wed, 20 May 2020 18:14:05 -0400 (EDT)

branch: master
commit 70a5c9141b6f3b451f36dcfe66d9b38b6c8fac74
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Remove a gratuitous difference in 'yum' commands
    
    Added an update-before-install block from 'install_redhat.sh'. Now a
    large block of commands is identical for redhat and centos, and can be
    factored out into a single file for both to use.
---
 install_centos_1.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/install_centos_1.sh b/install_centos_1.sh
index 19efc4d..5fb39da 100755
--- a/install_centos_1.sh
+++ b/install_centos_1.sh
@@ -77,6 +77,9 @@ sed -e'/^[^#]/s/^/# SUPPRESSED # /' -i /etc/zlogout
 # and then they'll be available in that environment.
 
 # Fix weird errors like "Problem with the SSL CA cert (path? access rights?)".
+# Try 'update' before 'install' as described here:
+#   https://lists.nongnu.org/archive/html/lmi/2020-02/msg00003.html
+yum --assumeyes update ca-certificates curl nss-pem
 yum --assumeyes install ca-certificates curl nss-pem
 
 # Install "EPEL" by using 'rpm' directly [historical]. See:



reply via email to

[Prev in Thread] Current Thread [Next in Thread]