[CentOS] Problems with some rpms in my local repo

Thu Jun 26 02:00:55 UTC 2008
Robert Moskowitz <rgm at htt-consult.com>

This is perplexing.

on a Centos 5.1 box that I am trying to upgrade, I keep getting:

[Errno 4] IOError: <urlopen error unknown url type: media>

from my local repo.  I did a blank system install via http from this 
server with no problem.

For instance, if I limit myself to:

yum upgrade yum

I get:

Loading "priorities" plugin
Loading "installonlyn" plugin
Setting up Upgrade Process
Setting up repositories
Reading repository metadata in from local files
0 packages excluded due to repository priority protections
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package yum.noarch 0:3.2.8-9.el5.centos.2.1 set to be updated
--> Running transaction check
--> Processing Dependency: yum-metadata-parser >= 1.1.0 for package: yum
--> Processing Dependency: yum-fastestmirror for package: yum
--> Processing Dependency: python-iniparse for package: yum
--> Processing Dependency: yum = 3.0.5-1.el5.centos.5 for package: 
yum-updatesd
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for yum-metadata-parser to pack into transaction 
set.
media://1213888991.267240%231/CentOS/yum-metadata-parser-1.1.2-2.el5.i386.rpm: 
[Errno 4] IOError: <urlopen error unknown url type: media>
Trying other mirror.
Error: failed to retrieve 
CentOS/yum-metadata-parser-1.1.2-2.el5.i386.rpm from base
error was [Errno 4] IOError: <urlopen error unknown url type: media>

Yet on the system I built, yum-metadata-parser-1.1.2-2.el5.i386.rpm is 
there, and I have done a yum update on that system already (how I 
learned there are bunches of updates out there).

I suggestions on how to troubleshoot this?

BTW, I did a yum upgrade kernel* and that worked fine.  I was going to 
try to upgrade piece-by-piece, as this is a slow box.