The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

yum error

Discussion in 'General Discussion' started by mojamoi, Feb 2, 2013.

  1. mojamoi

    mojamoi Well-Known Member

    Joined:
    Jul 23, 2007
    Messages:
    186
    Likes Received:
    0
    Trophy Points:
    16
    [root@CentOS63 ~]# yum install bind* caching-nameserver*
    Loaded plugins: fastestmirror, refresh-packagekit, security
    Determining fastest mirrors
    YumRepo Error: All mirror URLs are not using ftp, http or file.
    Eg. </html>/
    removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/base/mirrorlist.txt
    Error: Cannot find a valid baseurl for repo: base
    [root@CentOS63 ~]#


    how is it solved
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    make sure your dns resolvers are correct

    yum clean all
    yum update
     
  3. iweb

    iweb Registered
    PartnerNOC

    Joined:
    Dec 20, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    I have almost the same problem, but the above command changes nothing. I still get

    YumRepo Error: All mirror URLs are not using ftp, http or file.
    Eg. $releasever is not a valid release or hasnt been released yet/
    removing mirrorlist with no valid mirrors: /var/cache/yum/addons/mirrorlist.txt
    Error: Cannot find a valid baseurl for repo: addons

    $releasever in yum.conf is "redhat-release"
    /etc/redhat-release is CentOS release 5.5 (Final)

    It seems there's a problem with the release version, but I've googled with no luck

    Thanks in advance
     
Loading...

Share This Page