cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
490
Views
0
Helpful
0
Replies

cspc 2.11 - could not resolve host engci-maven-master.cisco.com

Mikhail Faifman
Level 1
Level 1

new cspc VA 2.11 install. when running yum, getting error for appstream, baseos, extras.

- Curl error (6): Couldn't resolve host name for https://engci-maven-master.cisco.com/artifactory/csl-almalinux/almalinux/9.3/BaseOS/x86_64/os/repodata/repomd.xml [Could not resolve host: engci-maven-master.cisco.com]
Error: Failed to download metadata for repo 'baseos': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

 

I can't resolve the host engci-maven-master.cisco.com. Can someone provide IP to put manually into host file or there is a better solution to configure the broken repos?

 

EDIT01 5/3/2024

I modified the repo files to comment out the URL and enable "mirror":

mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/extras
# baseurl=https://engci-maven-master.cisco.com/artifactory/csl-almalinux/almalinux/9.3/extras/$basearch/os/

Changed the key:

# gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CSL-AlmaLinux-9
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-9

Imported the key:

rpm --import https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinux-9

 

After that yum works as expected with public AlmaLinux9 repos. 

 

0 Replies 0