FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I created a custom repository in my /etc/yum.repos.d directory named fedora-dvd.repo with the following contents:
Code:
[dvd]
name=Fedora DVD
baseurl=file:///media/FC_6%20i386%20DVD/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
However, every time I fire up the yum command it starts by looking the other repositories, starting with livna. Is there a way so that yum first searches the fedora-dvd.repo? I need this because I use a non-permanent Internet connection, and connecting to the internet to use yum every time is a pain.
To my knowledge there is no way to set priority on repositories. yum looks at all enabled repositories when executing. What I would do in your case is disable the repositories not located locally using the command line. This will force yum to look at the DVD repository on your local drive. For example if you had five repos core, dvd, extras, livna, updates and four of them were on the net you could use the command...
To my knowledge there is no way to set priority on repositories. yum looks at all enabled repositories when executing. What I would do in your case is disable the repositories not located locally using the command line. This will force yum to look at the DVD repository on your local drive. For example if you had five repos core, dvd, extras, livna, updates and four of them were on the net you could use the command...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.