Hi,
I am using FC6 and I am trying to install MySQL using yum. I have copied all the files in the FC6 DVD to a folder named "rpms" in the home directory of my user name, i.e
/home/omid/rpms
I have configured the /etc/yum.repos.d/fedora-core.repo file to point to that folder.
Here is the contents:
[root@localhost omid]# cat /etc/yum.repos.d/fedora-core.repo
[core]
name=Fedora Core $releasever - $basearch
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-$releasever&arch=$basearch
baseurl=file:///home/omid/rpms
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

[core-debuginfo]
name=Fedora Core $releasever - $basearch - Debug
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/debug/
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-debug-$releasever&arch=$basearch
baseurl=file:///home/omid/rpms
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

[core-source]
name=Fedora Core $releasever - Source
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/source/SRPMS/
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-source-$releasever&arch=$basearch
baseurl=file:///home/omid/rpms
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[root@localhost omid]#
and when I try to install MySQL I get this message.
[root@localhost omid]# yum --disablerepo=updates --disablerepo=extras install mysql
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
core 100% |=========================| 1.3 kB 00:00
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for mysql to pack into transaction set.
media://1161131669.029329%232/Fedora/RPMS/mysql-5.0.22-2.1.i386.rpm: [Errno 4] IOError: <urlopen error unknown url type: media>
Trying other mirror.
Error: failed to retrieve Fedora/RPMS/mysql-5.0.22-2.1.i386.rpm from core
error was [Errno 4] IOError: <urlopen error unknown url type: media>
[root@localhost omid]#
Can anyone help please ?