x2o

Member
May 11, 2005
22
0
151
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
 

webignition

Well-Known Member
Jan 22, 2005
1,876
2
166
x2o said:
Code:
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
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.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
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.