Unix/Linux Go Back    


Fedora is an operating system centered on the Linux open source kernel and is developed by the community-supported Fedora Project. Fedora is sponsored by Red Hat. Fedora contains software distributed under a free and open-source license. Fedora focuses on innovation, integrating and adopting new technologies and working closely with various Linux communities. The default desktop in Fedora is the GNOME desktop environment and the default user interface is the GNOME Shell. Other desktop environments include KDE Plasma, Xfce, LXDE, MATE and Cinnamon. Security is an important aspect of Fedora with one specific security feature, Security-Enhanced Linux, implementing a variety of software security policies, including mandatory access controls.

Yum repository not working in Fedora 16

Fedora


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 03-15-2017   -   Original Discussion by muzaffar.k
muzaffar.k muzaffar.k is offline
Registered User
 
Join Date: Jun 2012
Last Activity: 23 August 2017, 9:47 AM EDT
Location: bangalore
Posts: 38
Thanks: 0
Thanked 1 Time in 1 Post
Yum repository not working in Fedora 16

Hi,

while installing/updating package using yum I am getting (repomd.xml) error

PHP Code:
[root@mindlanf-5 yum.repos.d]# yum list
Loaded pluginslangpacksprestorefresh-packagekit
http
://mirror.cse.iitk.ac.in/fedora-archive/fedora/linux/fedora/linux/releases/16/Everything/x86_64/os/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found : http://mirror.cse.iitk.ac.in/fedora-archive/fedora/linux/fedora/linux/releases/16/Everything/x86_64/os/repodata/repomd.xml
Trying other mirror.
http://mirror.cse.iitk.ac.in/fedora-archive/fedora/linux/fedora/linux/releases/16/Everything/x86_64/os/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found : http://mirror.cse.iitk.ac.in/fedora-archive/fedora/linux/fedora/linux/releases/16/Everything/x86_64/os/repodata/repomd.xml
Trying other mirror.
ErrorCannot retrieve repository metadata (repomd.xml) for repositoryfedoraPlease verify its path and try again
[root@mindlanf-5 yum.repos.d]
I tried yum clean all but still its not not working, please let me know the possible solution for this.

Regards,
Muzaffar
Sponsored Links
    #2  
Old Unix and Linux 03-15-2017   -   Original Discussion by muzaffar.k
drysdalk drysdalk is offline
Registered User
 
Join Date: Feb 2017
Last Activity: 9 November 2017, 12:32 PM EST
Location: United Kingdom
Posts: 206
Thanks: 11
Thanked 66 Times in 62 Posts
Hi,

In this case that error appears to be genuine - the mirror that you have configured doesn't have any content for Fedora 16 on it.

Now, Fedora 16 is an end-of-life unsupported release, so it's entirely possible some mirrors aren't carrying content for it any longer. It's also worth pointing out that if you're trying to install updates, there won't have been any in the main repo since February 2013 (since that's when it became unsupported), so that's a pointless exercise anyway.

However, if you absolutely have to fix this (to install a new package, say), you'll need to re-configure your Fedora yum repo to point somewhere that still has content. The (allegedly) current list of mirrors for Fedora 16 x86_64 can be found here:

Mirrors - MirrorManager
Sponsored Links
    #3  
Old Unix and Linux 03-17-2017   -   Original Discussion by muzaffar.k
muzaffar.k muzaffar.k is offline
Registered User
 
Join Date: Jun 2012
Last Activity: 23 August 2017, 9:47 AM EDT
Location: bangalore
Posts: 38
Thanks: 0
Thanked 1 Time in 1 Post
Thanks for your reply, I dint find a proper mirror list from that link. is there any other way to make my Fedora 16 to resolve the yum issue. I need to configure Lanforge testing tool on this. let me know how to make it working or any other version which might work without any issues


Thanks,
Muzaffar
    #4  
Old Unix and Linux 03-17-2017   -   Original Discussion by muzaffar.k
drysdalk drysdalk is offline
Registered User
 
Join Date: Feb 2017
Last Activity: 9 November 2017, 12:32 PM EST
Location: United Kingdom
Posts: 206
Thanks: 11
Thanked 66 Times in 62 Posts
Hi,

As best as I can tell, that mirror list is correct. It's just that some/most of those mirrors won't actually be carrying content for Fedora 16 any longer. You'd have to go through each of them, find one that actually works and has all the relevant folders/content still there, then update your Yum repo file to directly use that one.

For example, ftp.heanet.ie seems to have all the Fedora 16 content still. The main packages can be found here:

http://ftp.heanet.ie/mirrors/fedora/...4/os/Packages/

However, that brings us on to the second issue. You say you want to install LANforge. That was never a standard part of Fedora, and is not part of the Fedora 16 main OS repo (or the repo of any other release of Fedora, as best as I can tell). No doubt it has various pre-requisites that you'll need from the main Fedora repo (or so I imagine: I've never heard of or dealt with LANforge before, so my only knowledge of it comes from a quick Google search just now). But LANforge itself won't be directly installable via yum from the official Fedora repos, even when you do get them working again.
Sponsored Links
    #5  
Old Unix and Linux 03-20-2017   -   Original Discussion by muzaffar.k
muzaffar.k muzaffar.k is offline
Registered User
 
Join Date: Jun 2012
Last Activity: 23 August 2017, 9:47 AM EDT
Location: bangalore
Posts: 38
Thanks: 0
Thanked 1 Time in 1 Post
I have added the below link in my .repo file found the same issue again. Let me know if am doing correct

PHP Code:
[fedora]
name=Fedora $releasever $basearch
failovermethod
=priority
baseurl
=http://ftp.heanet.ie/mirrors/fedora/archive/fedora/linux/releases/16/Fedora/x86_64/os/Packages/
#baseurl=http://mirror.cse.iitk.ac.in/fedora-archive/fedora/linux/fedora/linux/releases/16/Everything/x86_64/os/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
enabled=1
metadata_expire
=7d
gpgcheck
=1
gpgkey
=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[fedora-debuginfo]
name=Fedora $releasever $basearch Debug
failovermethod
=priority
baseurl
=http://ftp.heanet.ie/mirrors/fedora/archive/fedora/linux/releases/16/Fedora/x86_64/os/Packages/
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/debug/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-$releasever&arch=$basearch
enabled=0
metadata_expire
=7d
gpgcheck
=1
gpgkey
=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[fedora-source]
name=Fedora $releasever Source
failovermethod
=priority
baseurl
=http://ftp.heanet.ie/mirrors/fedora/archive/fedora/linux/releases/16/Fedora/x86_64/os/Packages/
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/source/SRPMS/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-source-$releasever&arch=$basearch
enabled=0
metadata_expire
=7d
gpgcheck
=1
gpgkey
=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch 
did yum clean up again and try to list the repo and failed again.

PHP Code:
[root@mindlanf-~]# yum clean all
Loaded pluginslangpacksprestorefresh-packagekit
Cleaning repos
fedora
Cleaning up Everything
No delta
-package files removed by presto
[root@mindlanf-~]# yum list
Loaded pluginslangpacksprestorefresh-packagekit
Error
Cannot retrieve repository metadata (repomd.xml) for repositoryfedoraPlease verify its path and try again
[root@mindlanf-~]
if Fedora 16 is end of life then suggest me which version will have all the repo list

Thanks Linux
Muzaffar
Sponsored Links
    #6  
Old Unix and Linux 03-20-2017   -   Original Discussion by muzaffar.k
drysdalk drysdalk is offline
Registered User
 
Join Date: Feb 2017
Last Activity: 9 November 2017, 12:32 PM EST
Location: United Kingdom
Posts: 206
Thanks: 11
Thanked 66 Times in 62 Posts
Hi,

I don't think you've quite done that right, no. For starters, each section will need a different baseurl since each section is used for different things, so you can't use the same URL for everything. Also if you are going to be hard-coding it like this, you'll also want to comment out the mirrorlist lines.

So for example, for the main [fedora] section, I imagine you want something like this:

baseurl=http://ftp.heanet.ie/mirrors/fedora/archive/fedora/linux/releases/16/Everything/x86_64/os/

since that's apparently the URL that it was looking for before you made this modification, going by the other commented-out baseurl line that's there. You'll need to similarly change the lines in the other sections to the correct appropriate URL, which you can get from looking at what was there before.

Again though, there's a bigger question here: what are you actually hoping to do ? What is the yum command that you're ultimately hoping to run after you've done all your cleaning and listing ? Which package(s) do you need to install ?

It's also worth pointing out that you can just use that first URL I gave you (the one that directly links to the package directory) do download and install any RPMs you might require, if you can't get your Yum config working in the end.

As for whether you should use Fedora 16: well, no. Absolutely not, if you have any choice at all. It's entirely obsolete, and hasn't received any updates in almost four years, so is bound to be full of countless security holes by now. If you want to know which versions of Fedora are still actively supported and/or receiving updates, then you can check the Wikipedia page on Fedora's version history here.

Fedora version history - Wikipedia

So if you're going to be using Fedora for whatever it is you're wanting to do, you definitely want to be using a version that's still actively supported and has a fair while left in its lifecycle if you possibly can.
Sponsored Links
    #7  
Old Unix and Linux 03-20-2017   -   Original Discussion by muzaffar.k
Swathe Swathe is offline
Registered User
 
Join Date: Sep 2008
Last Activity: 18 October 2017, 7:51 PM EDT
Posts: 68
Thanks: 1
Thanked 2 Times in 2 Posts
Is there any reason for you to stick with Fedora 16? It's fairly easy to upgrade between versions now if you start with a current release.
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Error: Cannot retrieve repository metadata (repomd.xml) for repository: InstallMedia. India_2014 Red Hat 0 01-25-2014 08:41 AM
Jre not working in Fedora cokedude UNIX for Advanced & Expert Users 4 11-29-2013 02:11 PM
Wine is not working in fedora 15 Vaibhav.T Red Hat 4 01-09-2012 08:48 AM
fedora 11 updates not working linuxstudent Linux 2 03-07-2011 03:07 PM



All times are GMT -4. The time now is 12:14 PM.