[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:
- [lmi-commits] [lmi] master updated (c193ba1 -> 71eeb9b), Greg Chicares, 2020/05/20
- [lmi-commits] [lmi] master 4b512a0 1/9: Adjust copyright notices, Greg Chicares, 2020/05/20
- [lmi-commits] [lmi] master 05d51fe 3/9: Change the meaning of "chrooted" assertions, Greg Chicares, 2020/05/20
- [lmi-commits] [lmi] master 237f11e 2/9: Refactor a too-complex script, Greg Chicares, 2020/05/20
- [lmi-commits] [lmi] master eb7edf5 6/9: Perform dynamic configuration earlier, Greg Chicares, 2020/05/20
- [lmi-commits] [lmi] master 0125e0f 8/9: Extract marked blocks into sub-scripts #05, Greg Chicares, 2020/05/20
- [lmi-commits] [lmi] master 71eeb9b 9/9: Extract marked blocks into sub-scripts #07, Greg Chicares, 2020/05/20
- [lmi-commits] [lmi] master 32da141 5/9: Mark script blocks for extraction into sub-scripts, Greg Chicares, 2020/05/20
- [lmi-commits] [lmi] master 70a5c91 4/9: Remove a gratuitous difference in 'yum' commands,
Greg Chicares <=
- [lmi-commits] [lmi] master 7583624 7/9: Extract marked blocks into sub-scripts #02, Greg Chicares, 2020/05/20