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 Monil, Jun 27, 2004.

  1. Monil

    Monil Member

    Joined:
    Apr 18, 2004
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    London, UK
    Hi,

    I have recently had to format one of my cPanel servers, I am currently trying to reinstall cPanel on the server...

    I am currently experiencing the following, rather frustrating error as I see no problem in the config it says is erroneus.

    [root@www0 home]# cd /home;mkdir cpins;cd cpins;wget layer1.cpanel.net/latest;sh latest
    --06:50:20-- http://layer1.cpanel.net/latest
    => `latest'
    Resolving layer1.cpanel.net... done.
    Connecting to layer1.cpanel.net[216.118.116.106]:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 342,652 [text/plain]

    100%[========================================================================================>] 342,652 381.55K/s ETA 00:00

    06:50:21 (381.55 KB/s) - `latest' saved [342652/342652]

    Creating directory installd
    Verifying archive integrity...OK
    Uncompressing cplyr1-cPanel........................................................................................................................................................
    You must update your /etc/yum.conf with a fedora mirror
    You can find a list of mirrors here: http://fedora.redhat.com/download/mirrors.html

    My yum.conf reads as follows....

    [root@www0 cpins]# cat /etc/yum.conf
    [main]
    cachedir=/var/cache/yum
    debuglevel=2
    logfile=/var/log/yum.log
    pkgpolicy=newest
    distroverpkg=fedora-release
    tolerant=1
    exactarch=1
    retries=20

    [base]
    name=Fedora Core $releasever - $basearch - Base
    baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/

    [updates-released]
    name=Fedora Core $releasever - $basearch - Released Updates
    baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/

    #[updates-testing]
    #name=Fedora Core $releasever - $basearch - Unreleased Updates
    #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/$releasever/$basearch/

    Has anyone had this problem before and does anyone know of way of getting past it?

    Regards,
    Monil.
     
  2. coastinc

    coastinc Well-Known Member

    Joined:
    Mar 13, 2002
    Messages:
    159
    Likes Received:
    0
    Trophy Points:
    16
    You can try using another yum mirror site, that will definitely fix it.

    If you would like us to help you with this, just drop me an e-mail.
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    And if you do decide to email the person, please come back and post the resolution on the forum, otherwise it just ruins the whole point of posting problems and their resolution for others, and the whole ethos of support forums :rolleyes:

    Anyway, changing to a different mirror should help, the default ones do have their problems.
     
  4. aliensid

    aliensid Member

    Joined:
    Oct 24, 2003
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    we changed the mirror which fixed it. :)
     
  5. Jedia

    Jedia Well-Known Member

    Joined:
    Mar 18, 2004
    Messages:
    200
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    CN
    replace
    Code:
    baseurl=http
    
    to
    Code:
    baseurl=ftp
    
    all fixed :p
     
Loading...

Share This Page