Linux - Repo

maelamrani

Member
Joined
Jan 3, 2020
Messages
77
Reaction score
7
Credits
450
Hello
I have a question about repo in centos/red hat distro
i created the base.repo it doesnt work should i use something else or config-manager --add-repo= ?
I cant ping the repo nor install packages

What i did
[baseos]
name=CentOS
baseurl=http://repo.eight.example.com/BaseOS
gpgcheck=0
enabled=1
 


Code:
Host repo.eight.example.com not found: 3(NXDOMAIN)
The domain doesn't exist. My guess is you copied that from some website which used that as an example of how to add a repo with yum-config-manager?
 
yes but normaly what i did is correct
[baseos]
name=CentOS
baseurl=The correct IRL
gpgcheck=0
enabled=1
 
Yes what you did is correct so like this.
Code:
yum config-manager --add-repo http://example.com/some/additional.repo
You are going to have to be more specific than saying it doesn't work, I am not a mind reader.
 

Members online


Latest posts

Top