it seems that some fedora 12 users are facing an error regarding fedora repository. possible alert is:

Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again


i tried my best to find a solution, and i modified .repo files for many times. finally i got the correct ones and i want to share them with all of you.


this zipped file contains repo files for fedora 12: 32bit and 64bit: fedora_repo_32_64


#fedora-32.repo
 
 [fedora]
 
 name=Fedora 12 - i386
 
 failovermethod=priority
 
 #baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Everything/i386/os/
 
 mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=fedora-12&arch=i386
 
 enabled=1
 
 metadata_expire=7d
 
 gpgcheck=1
 
 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386
 
 [fedora-debuginfo]
 
 name=Fedora 12 - i386 - Debug
 
 failovermethod=priority
 
 #baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Everything/i386/debug/
 
 mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=fedora-debug-12&arch=i386
 
 enabled=0
 
 metadata_expire=7d
 
 gpgcheck=1
 
 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386
 
 [fedora-source]
 
 name=Fedora 12 - Source
 
 failovermethod=priority
 
 #baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Everything/source/SRPMS/
 
 mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=fedora-source-12&arch=i386
 
 enabled=0
 
 metadata_expire=7d
 
 gpgcheck=1
 
 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386


#fedora-updates-32.repo
 
 [updates]
 
 name=Fedora 12 - i386 - Updates
 
 failovermethod=priority
 
 #baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/12/i386/
 
 mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=updates-released-f12&arch=i386
 
 enabled=1
 
 gpgcheck=1
 
 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386
 
 [updates-debuginfo]
 
 name=Fedora   12 - i386 - Updates - Debug
 
 failovermethod=priority
 
 #baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/12/i386/debug/
 
 mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f12&arch=i386
 
 enabled=0
 
 gpgcheck=1
 
 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386
 
 [updates-source]
 
 name=Fedora 12 - Updates Source
 
 failovermethod=priority
 
 #baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/12/SRPMS/
 
 mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=updates-released-source-f12&arch=i386
 
 enabled=0
 
 gpgcheck=1
 
 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-i386
#fedora-64.repo
[fedora]
 
name=Fedora 12 - x86_64
 
failovermethod=priority
 
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Everything/x86_64/os/
 
mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=fedora-12&arch=x86_64
 
enabled=1
 
metadata_expire=7d
 
gpgcheck=1
 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64
 
[fedora-debuginfo]
 
name=Fedora 12 - x86_64 - Debug
 
failovermethod=priority
 
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Everything/x86_64/debug/
 
mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=fedora-debug-12&arch=x86_64
 
enabled=0
 
metadata_expire=7d
 
gpgcheck=1
 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64
 
[fedora-source]
 
name=Fedora 12 - Source
 
failovermethod=priority
 
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/12/Everything/source/SRPMS/
 
mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=fedora-source-12&arch=x86_64
 
enabled=0
 
metadata_expire=7d
 
gpgcheck=1
 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64

 

#fedora-updates-64.repo
 
[updates]
 
name=Fedora 12 - x86_64 - Updates
 
failovermethod=priority
 
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/12/x86_64/
 
mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=updates-released-f12&arch=x86_64
 
enabled=1
 
gpgcheck=1
 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64
 
[updates-debuginfo]
 
name=Fedora 12 - x86_64 - Updates - Debug
 
failovermethod=priority
 
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/12/x86_64/debug/
 
mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f12&arch=x86_64
 
enabled=0
 
gpgcheck=1
 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64
 
[updates-source]
 
name=Fedora 12 - Updates Source
 
failovermethod=priority
 
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/12/SRPMS/
 
mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=updates-released-source-f12&arch=x86_64
 
enabled=0
 
gpgcheck=1
 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-x86_64

 

No related posts.