[CentOS-mirror] Mirror question ref:: yum Update

Thu Mar 17 11:31:34 UTC 2011
Marius Ardelean <marius.ardelean at apollo-hw.ro>

Hi,

Did u try to run first a "yum clean all" and after tha try to update again.

Regards
Marius

----- Original Message -----
From: "niji ogunbameru" <niji.ogunbameru at phgroup.com>
To: "Mailing list for CentOS mirrors." <centos-mirror at centos.org>
Sent: Thursday, March 17, 2011 1:21:41 PM
Subject: Re: [CentOS-mirror] Mirror question ref:: yum Update


Hello folks 
Do any know why this problem is coming up 
ERROR 
/etc/yum.repos.d# yum update 
Loaded plugins: fastestmirror 
Loading mirror speeds from cached hostfile 
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5&arch=x86_64&repo=addons error was 
[Errno 4] IOError: <urlopen error (111, 'Connection refused')> 
Error: Cannot find a valid baseurl for repo: addons 

Any idea to the solution: 

I have a server CentOS 5.5 and this is the content of my /etc/yum.repos.d/CentOS-Base.repo 

# CentOS-Base.repo 
# 
# The mirror system uses the connecting IP address of the client and the 
# update status of each mirror to pick mirrors that are updated to and 
# geographically close to the client. You should use this for CentOS updates 
# unless you are manually picking other mirrors. 
# 
# If the mirrorlist= does not work for you, as a fall back you can try the 
# remarked out baseurl= line instead. 
# 
# 

[base] 
name=CentOS-$releasever - Base 
mirrorlist= http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os 
#baseurl= http://mirror.centos.org/centos/$releasever/os/$basearch/ 
gpgcheck=1 
gpgkey= file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 

#released updates 
[updates] 
name=CentOS-$releasever - Updates 
mirrorlist= http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates 
#baseurl= http://mirror.centos.org/centos/$releasever/updates/$basearch/ 
gpgcheck=1 
gpgkey= file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 

#packages used/produced in the build but not released 
[addons] 
name=CentOS-$releasever - Addons 
mirrorlist= http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons 
#baseurl= http://mirror.centos.org/centos/$releasever/addons/$basearch/ 
gpgcheck=1 
gpgkey= file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 

#additional packages that may be useful 
[extras] 
name=CentOS-$releasever - Extras 
mirrorlist= http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras 
#baseurl= http://mirror.centos.org/centos/$releasever/extras/$basearch/ 
gpgcheck=1 
gpgkey= file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 

#additional packages that extend functionality of existing packages 
[centosplus] 
name=CentOS-$releasever - Plus 
mirrorlist= http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus 
#baseurl= http://mirror.centos.org/centos/$releasever/centosplus/$basearch/ 
gpgcheck=1 
enabled=0 
gpgkey= file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 

#contrib - packages by Centos Users 
[contrib] 
name=CentOS-$releasever - Contrib 
mirrorlist= http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib 
#baseurl= http://mirror.centos.org/centos/$releasever/contrib/$basearch/ 
gpgcheck=1 
enabled=0 
gpgkey= file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 


Niji Ogunbameru
IT Systems
Experian pH *
Royalty Studios | 105-109 Lancaster | Road London | W11 1QF
T: 44 (0) 207 9859782 | M: 44 (0) 795 9716201 http://www.experian.co.uk | http://www.phgroup.com 
On 01/06/2011 07:46 PM, Matt_Domsch at Dell.com wrote: 

/me is curious too, as author of MirrorManager. :-)

--
Matt Domsch
Technology Strategist
Dell | Office of the CTO

-----Original Message-----
From: centos-mirror-bounces at centos.org [ mailto:centos-mirror-bounces at centos.org ] On Behalf Of Nick Olsen
Sent: Thursday, January 06, 2011 12:47 PM
To: Mailing list for CentOS mirrors.
Subject: Re: [CentOS-mirror] Mirror question

I'm in and out of here all the time, But I remember talk of a new-er mirroring system being in the works. With some functionality like fedora has where you can redirect your local subnets to your server, if its up to date.
Anyone else remember this? Correct me if I'm wrong.

I know currently, You have to change the repo.conf file for each machine to point it locally.

On 1/6/2011 1:39 PM, Andre Dault wrote: 

Hello,

I was wondering, how does the "fastest mirror" algorithm work?

In my particular case, being a campus with large address pool I think it could be interesting if we could somehow force users from our subnet to use my mirror.

André Dault
Analyste principal en informatique / Senior Computing Analyst Faculté 
des Sciences / Faculty of Science Universté d'Ottawa/Universty of 
Ottawa adault at uOttawa.ca 613-562-5800 x 6086


_______________________________________________
CentOS-mirror mailing list CentOS-mirror at centos.org http://lists.centos.org/mailman/listinfo/centos-mirror _______________________________________________
CentOS-mirror mailing list CentOS-mirror at centos.org http://lists.centos.org/mailman/listinfo/centos-mirror _______________________________________________
CentOS-mirror mailing list CentOS-mirror at centos.org http://lists.centos.org/mailman/listinfo/centos-mirror 
_______________________________________________
CentOS-mirror mailing list
CentOS-mirror at centos.org
http://lists.centos.org/mailman/listinfo/centos-mirror