Sponsored Content
Operating Systems Linux Fedora Yum repository not working in Fedora 16 Post 302994197 by drysdalk on Monday 20th of March 2017 10:21:51 AM
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.
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
yum-builddep(1) 														   yum-builddep(1)

NAME
yum-builddep - install missing dependencies for building an RPM package SYNOPSIS
yum-builddep package DESCRIPTION
yum-builddep is a program which installs the RPMs needed to build the specified package. The source RPM for the specified package must be available in a Yum repository (which will be automatically enabled, if it is disabled) or it can be a local source RPM file. EXAMPLES
Download and install all the RPMs needed to build the kernel RPM: yum-builddep kernel FILES
As yum-builddep uses YUM libraries for retrieving all the information, it relies on YUM configuration for its default values like which repositories to use. Consult YUM documentation for details: /etc/yum.conf /etc/yum/repos.d/ /var/cache/yum/ SEE ALSO
yum.conf (5) http://yum.baseurl.org/ AUTHORS
See the Authors file included with this program. BUGS
There are of course no bugs, but should you find any, you should first consult the FAQ section on http://yum.baseurl.org/wiki/Faq and if unsuccessful in finding a resolution contact the mailing list: yum-devel@lists.baseurl.org. To file a bug use http://bugzilla.redhat.com for Fedora/RHEL/Centos related bugs and http://yum.baseurl.org/report for all other bugs. Panu Matilainen 17 July 2005 yum-builddep(1)
All times are GMT -4. The time now is 11:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy