[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:
- [lmi-commits] [lmi] master updated (b80b1ae -> bd24b46), Greg Chicares, 2019/10/06
- [lmi-commits] [lmi] master 04cbbca 4/8: Let 'set -e' halt on bind-mount failure, Greg Chicares, 2019/10/06
- [lmi-commits] [lmi] master 954ab11 7/8: Use 'yum' to install "EPEL",
Greg Chicares <=
- [lmi-commits] [lmi] master c6802d2 2/8: Expunge comments related to the resolved circular-mounts issue, Greg Chicares, 2019/10/06
- [lmi-commits] [lmi] master 282907b 5/8: List handy commands to destroy a centos chroot, Greg Chicares, 2019/10/06
- [lmi-commits] [lmi] master d8d46c3 6/8: Comment out 'scl' stuff, Greg Chicares, 2019/10/06
- [lmi-commits] [lmi] master bd24b46 8/8: Install 'debootstrap', not 'debootstrap.noarch', Greg Chicares, 2019/10/06
- [lmi-commits] [lmi] master 4cd422c 1/8: Prevent 'findmnt' from failing in a 'set -e' script, Greg Chicares, 2019/10/06
- [lmi-commits] [lmi] master 71e8adb 3/8: Remove code to trace bind-mount activity, Greg Chicares, 2019/10/06