CentOS 4.2 final update

Discussion in 'HOWTO-Related Questions' started by ricdingal, Aug 13, 2007.

  1. ricdingal

    ricdingal New Member

    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.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. ricdingal

    ricdingal New Member

    so you would suggest to use centos 4 or latest version?if that is the best way to minimize much configurations. thanks you
     
  4. falko

    falko Super Moderator Howtoforge Staff

    I think it's a problem with name resolution. What's in /etc/resolv.conf?
     
    Last edited: Aug 14, 2007
  5. ricdingal

    ricdingal New Member


    ; 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
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Please try this in /etc/resolv.conf instead:
    Code:
    nameserver 145.253.2.75
    nameserver 193.174.32.18
    You don't need to restart the networking after modifying resolv.conf.
     

Share This Page