PDA

View Full Version : CentOS 4.2 final update


ricdingal
13th August 2007, 07:09
i don't understand why is it i cannot update my centos, here is the error coming out?can you show me how to solve this?thank you
Setting up Update Process
Setting up repositories
http://mirror.centos.org/centos/4/updates/i386/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
Cannot open/read repomd.xml file for repository: update
failure: repodata/repomd.xml from update: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from update: [Errno 256] No more mirrors to try.

till
13th August 2007, 10:36
From the Centos website:

http://mirror.centos.org/centos/4.0/readme

This directory (and version of CentOS) is depreciated. For normal users,
you should use /4/ and not /4.0/ in your path. Please see this FAQ
concerning the CentOS release scheme:

http://www.centos.org/modules/smartfaq/faq.php?faqid=34

If you know what you are doing, and absolutely want to remain at the 4.0
level, go to http://vault.centos.org/ for packages.

ricdingal
14th August 2007, 03:33
so you would suggest to use centos 4 or latest version?if that is the best way to minimize much configurations. thanks you

falko
14th August 2007, 14:20
I think it's a problem with name resolution. What's in /etc/resolv.conf?

ricdingal
16th August 2007, 05:59
I think it's a problem with name resolution. What's in /etc/resolv.conf?


; generated by /sbin/dhclient-script
search angelescity.gov.ph
nameserver 192.168.0.9
~

here is my resolv.conf, but whenever i add on the search and nameserver it keeps on going back if i restart the network service

falko
17th August 2007, 17:13
Please try this in /etc/resolv.conf instead:
nameserver 145.253.2.75
nameserver 193.174.32.18

You don't need to restart the networking after modifying resolv.conf.