Error: Cannot retrieve metalink for repository: epel


#1

Hi there,
I am Cherry. There are two problems that confused me servel days when I build scidb14.12.

[scidb@yq ~]$ sudo svn co https://svn.scidb.net/scidb/trunk scidbtrunk [sudo] password for scidb: Authentication realm: <https://svn.scidb.net:443> SVN “root” password: Authentication realm: <https://svn.scidb.net:443> SVN username:
Q1:How can I get the SVN? I don’t know where I can get username and password.

[scidb@yq scidb_source]$ ssh localhost Warning: Permanently added 'localhost' (RSA) to the list of known hosts. Last login: Sat Apr 18 08:47:57 2015 from yq [scidb@yq ~]$ exit logout Connection to localhost closed. [scidb@yq scidb_source]$ ssh 192.168.1.49 Warning: Permanently added '192.168.1.49' (RSA) to the list of known hosts. Last login: Sat Apr 18 09:57:52 2015 from localhost [scidb@yq ~]$ exit logout Connection to 192.168.1.49 closed. [scidb@yq scidb_source]$ ssh 127.0.0.1 Warning: Permanently added '127.0.0.1' (RSA) to the list of known hosts. Last login: Sat Apr 18 09:58:10 2015 from yq [scidb@yq ~]$ exit logout Connection to 127.0.0.1 closed.

[code][scidb@yq ~]$ cd …
[scidb@yq home]$ ls
scidb scidb_source yq
[scidb@yq home]$ cd scidb_source
[scidb@yq scidb_source]$ ls
scidbtrunk
[scidb@yq scidb_source]$ cd scidbtrunk
[scidb@yq scidbtrunk]$ deployment/deploy.sh prepare_toolchain 192.168.1.49
Source path: /home/scidb_source/scidbtrunk
Script common path: /home/scidb_source/scidbtrunk/deployment/common
Build path: /home/scidb_source/scidbtrunk
SciDB version: 14.12
Executing: prepare_toolchain 192.168.1.49

Prepare toolchain @192.168.1.49
Register SciDB 3rdparty repository on 192.168.1.49
spawn ssh -o StrictHostKeyChecking=no root@192.168.1.49 rm -rf /tmp/root/deployment && mkdir -p /tmp/root
Warning: Permanently added ‘192.168.1.49’ (RSA) to the list of known hosts.
spawn scp -r -q -o StrictHostKeyChecking=no /home/scidb_source/scidbtrunk/deployment/common root@192.168.1.49:/tmp/root/deployment
spawn ssh -o StrictHostKeyChecking=no root@192.168.1.49 cd /tmp/root/deployment && ./register_3rdparty_scidb_repository.sh
Warning: Permanently added ‘192.168.1.49’ (RSA) to the list of known hosts.
[scidb3rdparty]
name=SciDB 3rdparty repository
baseurl=https://downloads.paradigm4.com/centos6.3/3rdparty
gpgkey=https://downloads.paradigm4.com/key
gpgcheck=1
enabled=0
Loaded plugins: fastestmirror, refresh-packagekit, security
Cleaning repos: base extras updates
Cleaning up Everything
Cleaning up list of fastest mirrors
spawn ssh -o StrictHostKeyChecking=no root@192.168.1.49 rm -rf /tmp/root/deployment
Warning: Permanently added ‘192.168.1.49’ (RSA) to the list of known hosts.
spawn ssh -o StrictHostKeyChecking=no root@192.168.1.49 rm -rf /tmp/root/deployment && mkdir -p /tmp/root
Warning: Permanently added ‘192.168.1.49’ (RSA) to the list of known hosts.
spawn scp -r -q -o StrictHostKeyChecking=no /home/scidb_source/scidbtrunk/deployment/common root@192.168.1.49:/tmp/root/deployment
spawn ssh -o StrictHostKeyChecking=no root@192.168.1.49 cd /tmp/root/deployment && ./prepare_toolchain.sh 14.12
Warning: Permanently added ‘192.168.1.49’ (RSA) to the list of known hosts.
Prepare CentOS 6 for building SciDB
warning: /var/tmp/rpm-tmp.TCA4za: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
Loaded plugins: fastestmirror, refresh-packagekit, security
Determining fastest mirrors
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
DONE
spawn ssh -o StrictHostKeyChecking=no root@192.168.1.49 rm -rf /tmp/root/deployment
Warning: Permanently added ‘192.168.1.49’ (RSA) to the list of known hosts.
spawn ssh -o StrictHostKeyChecking=no root@192.168.1.49 rm -rf /tmp/root/deployment && mkdir -p /tmp/root
Warning: Permanently added ‘192.168.1.49’ (RSA) to the list of known hosts.
spawn scp -r -q -o StrictHostKeyChecking=no /home/scidb_source/scidbtrunk/deployment/common root@192.168.1.49:/tmp/root/deployment
spawn ssh -o StrictHostKeyChecking=no root@192.168.1.49 cd /tmp/root/deployment && ./stop_virbr0.sh
Warning: Permanently added ‘192.168.1.49’ (RSA) to the list of known hosts.
spawn ssh -o StrictHostKeyChecking=no root@192.168.1.49 rm -rf /tmp/root/deployment
Warning: Permanently added ‘192.168.1.49’ (RSA) to the list of known hosts.
[scidb@yq scidbtrunk]$ vi deployment/deploy.sh
[scidb@yq scidbtrunk]$ ls
3rdparty debian extern license.txt scripts version
cmake deployment include revision src
CMakeLists.txt doc install.cmake run.py tests
cpack-deps examples license.py.txt scidb.spec.in utils
[scidb@yq scidbtrunk]$ cd deployment
[scidb@yq deployment]$ ./deploy.sh access root “” 127.0.0.1f
Source path: /home/scidb_source/scidbtrunk
Script common path: /home/scidb_source/scidbtrunk/deployment/common
Build path: /home/scidb_source/scidbtrunk/deployment
SciDB version: 14.12
Executing: access root 127.0.0.1f

USAGE
deploy.sh usage - print this usage
deploy.sh help - print verbose help

Configuring remote access:
deploy.sh access <os_user> <os_user_passwd> <ssh_public_key> <host …>

Preparing remote machines:
deploy.sh prepare_toolchain <host …>
deploy.sh prepare_coordinator <host …>
deploy.sh setup_ccache <scidb_os_user> <host …>
deploy.sh prepare_chroot <scidb_os_user> <host …>
deploy.sh prepare_postgresql <postgresql_os_username>
<postgresql_os_password>
<network/mask>

Building packages:
deploy.sh build {Debug|RelWithDebInfo|Release} <packages_path>
deploy.sh build_fast <packages_path>
deploy.sh build_deps <packages_path>

SciDB control on remote machines:
deploy.sh scidb_install {<packages_path>|} [host …]
deploy.sh scidb_remove {<packages_path>|} [host …]
deploy.sh scidb_prepare <scidb_os_user> <scidb_os_passwd> <db_user> <db_passwd>
<base_path>
<instance_count> <no_watchdog>
<coordinator-dns-host/IP> [host …]
deploy.sh scidb_start <scidb_os_user>
deploy.sh scidb_stop <scidb_os_user>

[scidb@yq deployment]$ ./deploy.sh access root “” 127.0.0.1
Source path: /home/scidb_source/scidbtrunk
Script common path: /home/scidb_source/scidbtrunk/deployment/common
Build path: /home/scidb_source/scidbtrunk/deployment
SciDB version: 14.12
Executing: access root 127.0.0.1

USAGE
deploy.sh usage - print this usage
deploy.sh help - print verbose help

Configuring remote access:
deploy.sh access <os_user> <os_user_passwd> <ssh_public_key> <host …>

Preparing remote machines:
deploy.sh prepare_toolchain <host …>
deploy.sh prepare_coordinator <host …>
deploy.sh setup_ccache <scidb_os_user> <host …>
deploy.sh prepare_chroot <scidb_os_user> <host …>
deploy.sh prepare_postgresql <postgresql_os_username>
<postgresql_os_password>
<network/mask>

Building packages:
deploy.sh build {Debug|RelWithDebInfo|Release} <packages_path>
deploy.sh build_fast <packages_path>
deploy.sh build_deps <packages_path>

SciDB control on remote machines:
deploy.sh scidb_install {<packages_path>|} [host …]
deploy.sh scidb_remove {<packages_path>|} [host …]
deploy.sh scidb_prepare <scidb_os_user> <scidb_os_passwd> <db_user> <db_passwd>
<base_path>
<instance_count> <no_watchdog>
<coordinator-dns-host/IP> [host …]
deploy.sh scidb_start <scidb_os_user>
deploy.sh scidb_stop <scidb_os_user>

[scidb@yq deployment]$ ./deploy.sh access root “” 168.192.1.49
Source path: /home/scidb_source/scidbtrunk
Script common path: /home/scidb_source/scidbtrunk/deployment/common
Build path: /home/scidb_source/scidbtrunk/deployment
SciDB version: 14.12
Executing: access root 168.192.1.49

USAGE
deploy.sh usage - print this usage
deploy.sh help - print verbose help

Configuring remote access:
deploy.sh access <os_user> <os_user_passwd> <ssh_public_key> <host …>

Preparing remote machines:
deploy.sh prepare_toolchain <host …>
deploy.sh prepare_coordinator <host …>
deploy.sh setup_ccache <scidb_os_user> <host …>
deploy.sh prepare_chroot <scidb_os_user> <host …>
deploy.sh prepare_postgresql <postgresql_os_username>
<postgresql_os_password>
<network/mask>

Building packages:
deploy.sh build {Debug|RelWithDebInfo|Release} <packages_path>
deploy.sh build_fast <packages_path>
deploy.sh build_deps <packages_path>

SciDB control on remote machines:
deploy.sh scidb_install {<packages_path>|} [host …]
deploy.sh scidb_remove {<packages_path>|} [host …]
deploy.sh scidb_prepare <scidb_os_user> <scidb_os_passwd> <db_user> <db_passwd>
<base_path>
<instance_count> <no_watchdog>
<coordinator-dns-host/IP> [host …]
deploy.sh scidb_start <scidb_os_user>
deploy.sh scidb_stop <scidb_os_user>

[scidb@yq deployment]$ ./deploy.sh prepare_toolchain 192.168.1.49
Source path: /home/scidb_source/scidbtrunk
Script common path: /home/scidb_source/scidbtrunk/deployment/common
Build path: /home/scidb_source/scidbtrunk/deployment
SciDB version: 14.12
Executing: prepare_toolchain 192.168.1.49

Prepare toolchain @192.168.1.49
Register SciDB 3rdparty repository on 192.168.1.49
spawn ssh -o StrictHostKeyChecking=no root@192.168.1.49 rm -rf /tmp/root/deployment && mkdir -p /tmp/root
Warning: Permanently added ‘192.168.1.49’ (RSA) to the list of known hosts.
spawn scp -r -q -o StrictHostKeyChecking=no /home/scidb_source/scidbtrunk/deployment/common root@192.168.1.49:/tmp/root/deployment
spawn ssh -o StrictHostKeyChecking=no root@192.168.1.49 cd /tmp/root/deployment && ./register_3rdparty_scidb_repository.sh
Warning: Permanently added ‘192.168.1.49’ (RSA) to the list of known hosts.
[scidb3rdparty]
name=SciDB 3rdparty repository
baseurl=https://downloads.paradigm4.com/centos6.3/3rdparty
gpgkey=https://downloads.paradigm4.com/key
gpgcheck=1
enabled=0
Loaded plugins: fastestmirror, refresh-packagekit, security
Cleaning repos: base epel extras updates
Cleaning up Everything
Cleaning up list of fastest mirrors
spawn ssh -o StrictHostKeyChecking=no root@192.168.1.49 rm -rf /tmp/root/deployment
Warning: Permanently added ‘192.168.1.49’ (RSA) to the list of known hosts.
spawn ssh -o StrictHostKeyChecking=no root@192.168.1.49 rm -rf /tmp/root/deployment && mkdir -p /tmp/root
Warning: Permanently added ‘192.168.1.49’ (RSA) to the list of known hosts.
spawn scp -r -q -o StrictHostKeyChecking=no /home/scidb_source/scidbtrunk/deployment/common root@192.168.1.49:/tmp/root/deployment
spawn ssh -o StrictHostKeyChecking=no root@192.168.1.49 cd /tmp/root/deployment && ./prepare_toolchain.sh 14.12
Warning: Permanently added ‘192.168.1.49’ (RSA) to the list of known hosts.
Prepare CentOS 6 for building SciDB
warning: /var/tmp/rpm-tmp.IvwfGJ: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
package epel-release-6-8.noarch is already installed
Loaded plugins: fastestmirror, refresh-packagekit, security
Determining fastest mirrors
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
DONE
spawn ssh -o StrictHostKeyChecking=no root@192.168.1.49 rm -rf /tmp/root/deployment
Warning: Permanently added ‘192.168.1.49’ (RSA) to the list of known hosts.
spawn ssh -o StrictHostKeyChecking=no root@192.168.1.49 rm -rf /tmp/root/deployment && mkdir -p /tmp/root
Warning: Permanently added ‘192.168.1.49’ (RSA) to the list of known hosts.
spawn scp -r -q -o StrictHostKeyChecking=no /home/scidb_source/scidbtrunk/deployment/common root@192.168.1.49:/tmp/root/deployment
spawn ssh -o StrictHostKeyChecking=no root@192.168.1.49 cd /tmp/root/deployment && ./stop_virbr0.sh
Warning: Permanently added ‘192.168.1.49’ (RSA) to the list of known hosts.
spawn ssh -o StrictHostKeyChecking=no root@192.168.1.49 rm -rf /tmp/root/deployment
Warning: Permanently added ‘192.168.1.49’ (RSA) to the list of known hosts.
[scidb@yq deployment]$ ^C
[scidb@yq deployment]$ ./deploy.sh access root “” 127.0.0.1
Source path: /home/scidb_source/scidbtrunk
Script common path: /home/scidb_source/scidbtrunk/deployment/common
Build path: /home/scidb_source/scidbtrunk/deployment
SciDB version: 14.12
Executing: access root 127.0.0.1

USAGE
deploy.sh usage - print this usage
deploy.sh help - print verbose help

Configuring remote access:
deploy.sh access <os_user> <os_user_passwd> <ssh_public_key> <host …>

Preparing remote machines:
deploy.sh prepare_toolchain <host …>
deploy.sh prepare_coordinator <host …>
deploy.sh setup_ccache <scidb_os_user> <host …>
deploy.sh prepare_chroot <scidb_os_user> <host …>
deploy.sh prepare_postgresql <postgresql_os_username>
<postgresql_os_password>
<network/mask>

Building packages:
deploy.sh build {Debug|RelWithDebInfo|Release} <packages_path>
deploy.sh build_fast <packages_path>
deploy.sh build_deps <packages_path>

SciDB control on remote machines:
deploy.sh scidb_install {<packages_path>|} [host …]
deploy.sh scidb_remove {<packages_path>|} [host …]
deploy.sh scidb_prepare <scidb_os_user> <scidb_os_passwd> <db_user> <db_passwd>
<base_path>
<instance_count> <no_watchdog>
<coordinator-dns-host/IP> [host …]
deploy.sh scidb_start <scidb_os_user>
deploy.sh scidb_stop <scidb_os_user>

[scidb@yq deployment]$
[scidb@yq deployment]$ ./deploy.sh prepare_toolchain 127.0.0.1
Source path: /home/scidb_source/scidbtrunk
Script common path: /home/scidb_source/scidbtrunk/deployment/common
Build path: /home/scidb_source/scidbtrunk/deployment
SciDB version: 14.12
Executing: prepare_toolchain 127.0.0.1

Prepare toolchain @127.0.0.1
Register SciDB 3rdparty repository on 127.0.0.1
spawn ssh -o StrictHostKeyChecking=no root@127.0.0.1 rm -rf /tmp/root/deployment && mkdir -p /tmp/root
Warning: Permanently added ‘127.0.0.1’ (RSA) to the list of known hosts.
spawn scp -r -q -o StrictHostKeyChecking=no /home/scidb_source/scidbtrunk/deployment/common root@127.0.0.1:/tmp/root/deployment
spawn ssh -o StrictHostKeyChecking=no root@127.0.0.1 cd /tmp/root/deployment && ./register_3rdparty_scidb_repository.sh
Warning: Permanently added ‘127.0.0.1’ (RSA) to the list of known hosts.
[scidb3rdparty]
name=SciDB 3rdparty repository
baseurl=https://downloads.paradigm4.com/centos6.3/3rdparty
gpgkey=https://downloads.paradigm4.com/key
gpgcheck=1
enabled=0
Loaded plugins: fastestmirror, refresh-packagekit, security
Cleaning repos: base epel extras updates
Cleaning up Everything
Cleaning up list of fastest mirrors
spawn ssh -o StrictHostKeyChecking=no root@127.0.0.1 rm -rf /tmp/root/deployment
Warning: Permanently added ‘127.0.0.1’ (RSA) to the list of known hosts.
spawn ssh -o StrictHostKeyChecking=no root@127.0.0.1 rm -rf /tmp/root/deployment && mkdir -p /tmp/root
Warning: Permanently added ‘127.0.0.1’ (RSA) to the list of known hosts.
spawn scp -r -q -o StrictHostKeyChecking=no /home/scidb_source/scidbtrunk/deployment/common root@127.0.0.1:/tmp/root/deployment
spawn ssh -o StrictHostKeyChecking=no root@127.0.0.1 cd /tmp/root/deployment && ./prepare_toolchain.sh 14.12
Warning: Permanently added ‘127.0.0.1’ (RSA) to the list of known hosts.
Prepare CentOS 6 for building SciDB
warning: /var/tmp/rpm-tmp.EJmye1: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
package epel-release-6-8.noarch is already installed
Loaded plugins: fastestmirror, refresh-packagekit, security
Determining fastest mirrors
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
DONE
spawn ssh -o StrictHostKeyChecking=no root@127.0.0.1 rm -rf /tmp/root/deployment
Warning: Permanently added ‘127.0.0.1’ (RSA) to the list of known hosts.
spawn ssh -o StrictHostKeyChecking=no root@127.0.0.1 rm -rf /tmp/root/deployment && mkdir -p /tmp/root
Warning: Permanently added ‘127.0.0.1’ (RSA) to the list of known hosts.
spawn scp -r -q -o StrictHostKeyChecking=no /home/scidb_source/scidbtrunk/deployment/common root@127.0.0.1:/tmp/root/deployment
spawn ssh -o StrictHostKeyChecking=no root@127.0.0.1 cd /tmp/root/deployment && ./stop_virbr0.sh
Warning: Permanently added ‘127.0.0.1’ (RSA) to the list of known hosts.
spawn ssh -o StrictHostKeyChecking=no root@127.0.0.1 rm -rf /tmp/root/deployment
Warning: Permanently added ‘127.0.0.1’ (RSA) to the list of known hosts.
[/code]
baseurl=https://downloads.paradigm4.com/centos6.3/3rdparty
gpgkey=https://downloads.paradigm4.com/key
warning: /var/tmp/rpm-tmp.IvwfGJ: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
package epel-release-6-8.noarch is already installed
Q2: Why does "Error: Cannot retrieve metalink for repository: epel. " happen?

Please help me. Thanks a lot. :smile:


#2

For Q1: you should not need access to svn since there is no need to check out the sources. Our source code for scidb can be downloaded from here :

paradigm4.com/forum/viewtopi … =14&t=1526

For Q2: Check that your machine has access to the internet since that is where the OS, yum-related stuff will be pulled from.


#3

Hi,

Please paste in here the files:
/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
/etc/yum.repos.d/epel.repo

Thanks