Yum repository not working in Fedora 16

 
Thread Tools Search this Thread
Operating Systems Linux Fedora Yum repository not working in Fedora 16
# 1  
Old 03-15-2017
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
# 2  
Old 03-15-2017
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
# 3  
Old 03-17-2017
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 03-17-2017
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.
# 5  
Old 03-20-2017
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 Smilie
Muzaffar
# 6  
Old 03-20-2017
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.
# 7  
Old 03-20-2017
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Local YUM Repository for RHEL versions

Hello, I need to know regarding setting up of Local repositories so that I can update or install packages on other RHEL servers. In our environment we have many servers with different RHEL versions. Like RHEL 7.2, RHEL 7.3, RHEL 7.4, RHEL 7.5 Arch = x86_64 I have setup one Repo server;... (0 Replies)
Discussion started by: SunshineMLinux
0 Replies

2. UNIX for Dummies Questions & Answers

Yum not working on client while able to do the ftp

1)check vsftpd service is running service vsftpd status 2)mkdir -p /var/ftp/pub/Packages Packages will contain all rpm packages 3)copy the xml file to Packages folder #cp -arf /mnt/hgfs/share/RHEL_DVD/Packages /var/ftp/pub/Packages 4)install the 3 required rpm rpm --nodeps -ivh... (0 Replies)
Discussion started by: joj123
0 Replies

3. Red Hat

Yum cannot install from repository

Hi guys, thanks for you help on this issue. I built a dvd repository on my server and when I try to install a package from it, I get this error ftp://10.0.0.12/pub/Packages/httpd-2.2.15-26.el6.x86_64.rpm: PYCURL ERROR 9 - "Server denied you to change to the given directory" I will... (2 Replies)
Discussion started by: cjashu
2 Replies

4. Red Hat

Yum repository linking to ftp site of Redhat

I have a query that does Redhat have the link to the yum repository on its FTP site. In my environment, I have the file rhel-debuginfo.repo which has - baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/$basearch/Debuginfo. I hope, my question is clear that is there a... (5 Replies)
Discussion started by: RHCE
5 Replies

5. Red Hat

local yum server on fedora 17

Hello friends I was creating local yum server from dvd but fedora 17 used pool method , i mean similar to debian for packages i.e a,b....z How can i create local yum server on fedora 17 like fedora 14,15,16 Any help Thanks (1 Reply)
Discussion started by: rink
1 Replies

6. Red Hat

Configure yum repository

how to configure yum server to get rpms from any repository or redhat repo. (4 Replies)
Discussion started by: leganti
4 Replies

7. UNIX for Advanced & Expert Users

YUM GROUPLIST not working on SLES 11

I have a SLES 11 install with yum also installed. yum works when I try to install single packages. However, when i try the yum command: "yum grouplist" yum can not detect any groups. Is there some way to "enable" or install a grouplist feature in SLES 11 ? ==== details ==== SUSE Linux... (0 Replies)
Discussion started by: toro95037
0 Replies

8. UNIX for Dummies Questions & Answers

Yum.conf baseurl is not working.

Hi friends, This is my /etc/yum.conf. I think my basurl and updateurl is not correct. When I am installing something, it is giving error. My yum.conf file is this : Please help me. Thanks, Mukund (0 Replies)
Discussion started by: mukundranjan
0 Replies

9. Red Hat

Trying to install boost 1.4.1 without success maybe yum repository is wrong

Hi I following the tutorial to install boost 1.4.1 in centos 5.6 32 bit But without success maybe it doesn't find it in my repository in yum , but also when I compile the lib It doesn't find the libs . The tutorial link: Compiling gearman on CentOS 5.6 - gearman | Google Groups the error... (1 Reply)
Discussion started by: umen
1 Replies

10. Red Hat

Local yum repository

Hi Friends, I have succesfully configured a local yum repository using ios image. Please let me know how i can synchronize the local repository with RHN. Is it possible, so that i can update the local repository with latest updates. Regards, Arumon (1 Reply)
Discussion started by: arumon
1 Replies
Login or Register to Ask a Question