Results 1 to 10 of 11
Hi guyz,
Whenever i try to install anything using yum, the usual procedure is that it tries to download new packages from the 1st mirror, if that fails then next ...
- 09-23-2010 #1Just Joined!
- Join Date
- Nov 2008
- Posts
- 17
Configure yum mirror
Hi guyz,
Whenever i try to install anything using yum, the usual procedure is that it tries to download new packages from the 1st mirror, if that fails then next mirror, and so on.
I want to force yum to always use one particular mirror that is included in official mirror list.
How can I do that, any ideas?
Thnax in advance.
- 09-23-2010 #2
you have to install
Code:yum install yum-fastestmirror yumex yum-utils
Code:[mirandam@charon ~]$ sudo rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm [mirandam@charon ~]$ sudo rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
HTML Code:http://dag.wieers.com/rpm/FAQ.php#B2
- 09-23-2010 #3
Could you post exact error message? Are you behind proxy?
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 09-24-2010 #4Just Joined!
- Join Date
- Nov 2008
- Posts
- 17
Thanx ved, but i think you have written the method of using the fastest available mirror. Thats not my point
- 09-24-2010 #5Just Joined!
- Join Date
- Nov 2008
- Posts
- 17
There is no error message as yet. yum is working fine, doing all installations cleanly.
What I actually want is that, the specific mirror I am talking about, is also my local ISP. If using yum, all packages are downloaded from that very mirror, I will not be charged for data downloads. Thats why I want to configure yum to always use that mirror. Hope that clarifies my point.
- 09-24-2010 #6
i think you want to use only specific mirror for this you go to the folder ie
/ete/yum.respond and delete unwanted mirror
mirror look like that
Code:[ved@localhost yum.repos.d]$ ls adobe-linux-i386.repo rpmfusion-free-updates.repo dvd.repo rpmfusion-free-updates-testing.repo fedora.repo rpmfusion-nonfree-rawhide.repo fedora-updates.repo rpmfusion-nonfree.repo fedora-updates-testing.repo rpmfusion-nonfree-updates.repo rpmfusion-free-rawhide.repo rpmfusion-nonfree-updates-testing.repo rpmfusion-free.repo
- 09-25-2010 #7
Have you removed # sign before baseurl and mirrorlist lines in Fedora's repo files?
Post the contents of /etc/yum.repos.d/fedora.repo and fedora-updates.repo files here.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 09-25-2010 #8Just Joined!
- Join Date
- Nov 2008
- Posts
- 17
Content of /etc/yum/repos.d/fedora.repo
http :// i56.tinypic. com/11ideyq.png
{ Please copy the above link and remove its spaces. My post count is less than 15, so I can;t post external links
. Sorry for inconvenience }
What will be the effect of removing the # sign.
- 09-25-2010 #9
Remove # sign before all baseurl lines. # comment out those lines and when you remove it, yum will download correct package list from repository.
Edit file and press Ctrl+X, Y and hit Enter key to save file.Code:su - cd /etc/yum.repos.d nano fedora.repo
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 09-25-2010 #10Just Joined!
- Join Date
- Nov 2008
- Posts
- 17


Reply With Quote
