My yum repository file:
# cat yjltest.repo
[yjltest]
name=yjltest
baseurl=http://192.168.0.103/Server
enabled=1
gpgcheck=0
Use web browser navigate to
http://192.168.0.103/Server, see all packages
Error message when install package
# yum install vsftpd
Loading "rhnplugin" plugin
Loading "installonlyn" plugin
Loading "security" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for vsftpd to pack into transaction set.
media://1192656534.547140%232/vsftpd-2.0.5-10.el5.i386.rpm: [Errno 4] IOError: <urlopen error unknown url type: media>
Trying other mirror.
Error: failed to retrieve vsftpd-2.0.5-10.el5.i386.rpm from yjltest
error was [Errno 4] IOError: <urlopen error unknown url type: media>