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 update issues

Discussion in 'General Discussion' started by x2o, Jul 15, 2006.

  1. x2o

    x2o Member

    Joined:
    May 11, 2005
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    Hi guys,

    I've searched the forum but cannot find a fix for my issues I have tried to update some of the softwear on my server one being yum but get the same error each time:

    Code:
    # yum update
    Repository base is listed more than once in the configuration
    Repository addons is listed more than once in the configuration
    Repository extras is listed more than once in the configuration
    Repository extras is listed more than once in the configuration
    Repository updates is listed more than once in the configuration
    Repository base is listed more than once in the configuration
    Repository addons is listed more than once in the configuration
    Setting up Update Process
    Setting up repositories
    Reading repository metadata in from local files
    Excluding Packages in global exclude list
    Finished
    No Packages marked for Update/Obsoletion
    
    I have no problem updating cpanel just a few bits of softwear such as yum and OpenSSL.

    I am running the following verson of cpanel WHM 10.8.0 cPanel 10.8.2-R119
    The OS is: CentOS 4.3

    Any idea what the problem may be?

    As I have said I've been through a few posts and tried a few things that did not work but I don't want to push my luck to much and find I've bust cpanel so I thought it is now time to post.

    Thank you for your time
    Kind Regards
    x2o
     
  2. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    Theese warnings can be avoided by simply removing the listed duplicates.

    It's likely that you've added the repositories to /etc/yum.conf when they're already present in /etc/yum/repos.d/*

    Concerning updating yum, you might need to try yum update yum, however it's more likely that there's no newer version to which you can update.

    As for OpenSSL, you'd best leave that to cPanel.
     
  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
    I'd hazard a guess that you're using a LayeredTech server? They don't configure /etc/yum.conf properly because they add repo's directly into yum.conf instead of using the repo directory that webignition mentioned. You can either clean up yum.conf so it only uses the repo directory or leave it all alone, AFAIK it doesn't cause any problems.
     
Loading...

Share This Page