PDA

View Full Version : webadmin panel...


NeiSep
01-29-2007, 02:39 AM
Hello i got a big problem i accidently pushed on Save Update Sources

and this did change my reposite or what it is called
This is how it looks like in file: /etc/yum.repos.d

" Press ? for keyboard shortcuts
" Sorted by name (.bak,~,.o,.h,.info,.swp,.obj at end of list)
"= /etc/yum.repos.d/
../
CentOS-Base.repo
CentOS-Media.repo
dsm.repo

And there is no urls of anykind please need help here.
Can't use Yum it then says like this:

yum update
Setting up Update Process
Setting up repositories
not using ftp, http[s], or file for repos, skipping - Test mode - must specify ip/cc, arch and repo as parameters
Cannot find a valid baseurl for repo: base
Error: Cannot find a valid baseurl for repo: base

This happend after i accditently pushed the wrong button on Update manager.
and now i donnu what todo anyone can help me ?

Have a wonderfullday.

defunctiam
01-29-2007, 10:32 AM
:) LOL, that is the directory list when you do a vi /etc/yum.repos.d
I think you have your facts mixed up.

Your dns server is probably not responding.

Jeremy
01-30-2007, 12:32 AM
Thats what i thought to.

whats your resolv.conf say?

cat /etc/resolv.conf

you can use..
nameserver 4.2.2.2
nameserver 4.2.2.1