Downloading epel-release-latest-6.noarch.rpm [ERROR] Failed with error: 7

Hi ,

I installed install.sh after install CentOS 6.9

wget http://software.virtualmin.com/gpl/scripts/install.sh

chmod +x ./*

sh ./install.sh

I met a error messages after install.

Please help me.

Thank you.

Welcome to the Virtualmin GPL installer, version 6.0.8

This script must be run on a freshly installed supported OS. It does not
perform updates or upgrades (use your system package manager) or license
changes (use the “virtualmin change-license” command).

The systems currently supported by install.sh are:

CentOS/RHEL Linux 6 and 7 on x86_64

Debian 7, 8, and 9, on i386 and amd64

Ubuntu 14.04 LTS and 16.04 LTS, on i386 and amd64

If your OS/version/arch is not listed, installation will fail. More
details about the systems supported by the script can be found here:

http://www.virtualmin.com/os-support

The selected package bundle is LAMP and the size of install is
full. It will require up to 650 MB of disk space.

Exit and re-run this script with --help flag to see available options.

Continue? (y/n) y

[INFO] Started installation log in /root/virtualmin-install.log

▣□□ Phase 1 of 3: Setup

Downloading virtualmin-release-latest.noarch.rpm [ :heavy_check_mark: ]

Installing virtualmin-release package [ :heavy_check_mark: ]

▣▣□ Phase 2 of 3: Installation
Downloading epel-release-latest-6.noarch.rpm [ERROR] Failed with error: 7
[ ✘ ]

[ERROR] Something went wrong. Exiting.

[ERROR] The last few log entries were:

[2018-03-23 17:16:57 KST] [DEBUG] Operating system type: centos

[2018-03-23 17:16:57 KST] [DEBUG] Operating system major: 6

[2018-03-23 17:16:57 KST] [DEBUG] Configuring package manager for CentOS 6.9…

[2018-03-23 17:16:57 KST] [DEBUG] Disabling SELinux during installation…

[2018-03-23 17:16:57 KST] [DEBUG] setenforce 0 succeeded

Spin pid is: 11237

Downloading virtualmin-release-latest.noarch.rpm: Success.

Spin pid is: 11268

경고: virtualmin-release-latest.noarch.rpm: Header V4 RSA/SHA1 Signature, key ID 60d62a6b: NOKEY

Installing virtualmin-release package: Success.

[2018-03-23 17:16:59 KST] [DEBUG] Phase 2 of 3: Installation

Spin pid is: 11322

Downloading epel-release-latest-6.noarch.rpm: [2018-03-23 17:16:59 KST] [ERROR] Failed with error: 7

[2018-03-23 17:16:59 KST] [ERROR] Something went wrong. Exiting.

[2018-03-23 17:16:59 KST] [ERROR] The last few log entries were:

                                                                    [root@huso backup]#

Thank you.

I was able to resolve the error by referring to the documentation below.

cd /tmp

wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm

yum install ./epel-release-latest-*.noarch.rpm

after reboot

sh ./install.sh

https://www.liquidweb.com/kb/enable-epel-repository