lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 954ab11 7/8: Use 'yum' to install "EPEL"


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 954ab11 7/8: Use 'yum' to install "EPEL"
Date: Sun, 6 Oct 2019 19:48:11 -0400 (EDT)

branch: master
commit 954ab11006e8c786b84150abea8499378ab9dc46
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Use 'yum' to install "EPEL"
    
    This avoids issues like:
    
    Warning: RPMDB altered outside of yum.
    ** Found 41 pre-existing rpmdb problem(s), 'yum check' output follows:
---
 install_centos.sh | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/install_centos.sh b/install_centos.sh
index 3b6229a..4965ae9 100755
--- a/install_centos.sh
+++ b/install_centos.sh
@@ -88,10 +88,15 @@ chsh -s /bin/zsh greg
 #   scl enable devtoolset-8 rh-git218 $SHELL
 # and then they'll be available in that environment.
 
-# Install "EPEL". See:
-#   https://lists.nongnu.org/archive/html/lmi/2019-09/msg00037.html
+# Fix weird errors like "Problem with the SSL CA cert (path? access rights?)".
 yum --assumeyes install ca-certificates curl nss-pem
-rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
+
+# Install "EPEL" by using 'rpm' directly [historical]. See:
+#   https://lists.nongnu.org/archive/html/lmi/2019-09/msg00037.html
+#rpm -ivh 
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
+# Instead, use 'yum' to install "EPEL".
+#yum --assumeyes install 
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
+yum --assumeyes install epel-release
 
 yum --assumeyes install schroot
 # To show available debootstrap scripts:



reply via email to

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