[clue-tech] CentOS 5 update problems
Mark G. Harvey
markgharvey at yahoo.com
Tue Aug 21 15:27:21 MDT 2007
Kevin,
Thanks for your reply. My replies below.
Mark
--- Kevin Fenzi <kevin at scrye.com> wrote:
> I think the problem here is that there is a proxy in the way and it's
> not handling the mirror redirection right.
>
> See:
>
> http://wiki.linux.duke.edu/YumFaq
> (question 5)
my script to check the firewall & proxy issue ...
# echo -e "TRACE / HTTP/1.1\nHost: yum-server.example.com\n\n" | nc yum-server.example.com 80
# my two mirror site choices
# http://mirror.centos.org/centos/5/updates/i386/RPMS/
# http://centos-distro.cavecreek.net/centos/5.0/updates/i386/RPMS/
echo -e "TRACE / HTTP/1.1\nHost: mirror.centos.org\n\n" | nc mirror.centos.org 80
echo -e "TRACE / HTTP/1.1\nHost: centos-distro.cavecreek.net\n\n" | nc
centos-distro.cavecreek.net 80
results ...
HTTP/1.1 200 OK
Date: Tue, 21 Aug 2007 20:39:44 GMT
Server: Apache/2.2.3 (CentOS)
Transfer-Encoding: chunked
Content-Type: message/http
2d
TRACE / HTTP/1.1
Host: mirror.centos.org
0
HTTP/1.1 200 OK
Date: Tue, 21 Aug 2007 20:39:44 GMT
Server: Apache/2.0.52 (CentOS)
Connection: close
Transfer-Encoding: chunked
Content-Type: message/http
37
TRACE / HTTP/1.1
Host: centos-distro.cavecreek.net
0
I'm not seeing anything wrong with the output, but then again, I'm no expert.
> If you edit your /etc/yum.repos.d/*.repo files, comment the mirrorlist=
> line (with a # at the beginning of the line), and add a baseurl= line
> pointing to a single site, does it work?
I remarked them out & added a second baseurl= ... tried both of these for the baseurl= ...
neither worked ...
http://centos-distro.cavecreek.net/centos/5.0/updates/i386/RPMS/
http://centos-distro.cavecreek.net/centos/5.0/updates/i386/repodata/repomd.xml
> $releasever is filled in by your release... you are using centos5, so
> it's a "5". $basearch is your machine arch, so i386 or x86_64 or ppc or
> whatever type of machine you have.
my release = 5
my arch = i386
____________________________________________________________________________________
Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.yahoo.com/
More information about the clue-tech
mailing list