Been a fedora user for years till i switched to Centos 4
Everything went well in the installs and now i have a Centos 4 server but one little problem and its driving me mad!
When i first installed fedora then i type yum update it updates no problem
But not Centos i get the following error
Cannot find a valid baseurl for repo: update
Error: Cannot find a valid baseurl for repo: update
#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons
#baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplu s
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
Can you try the update again? Maybe it was a temporary problem. Also make sure you have valid name servers in /etc/resolv.conf.
Thanks for reply
Update still wont work.
looked at the /etc/resolv.conf should the ip address be the same as i logged into the server box? or should it be the fixed ip address given to my by my isp? I was given 2 ip addresses
Use the IP addresses of your ISP.
What's in /etc/resolv.conf now?
Sorted it out now.. What i did was a usr/sbin/netconfig set it to Use dynamic ip configuration
i checked the /etc/resolv.conf did some thinking
Then back to usr/sbin/netconfig and put my fixed ip addess and worked it out from there
Recent comments
20 hours 53 min ago
1 day 1 hour ago
1 day 6 hours ago
1 day 8 hours ago
1 day 22 hours ago
1 day 22 hours ago
2 days 3 hours ago
2 days 10 hours ago
2 days 10 hours ago
2 days 12 hours ago