Issue
I recently decided to disable fastestmirror
plugin on my Centos 7 and added a specific mirror, which I want to use, because it is much faster. The fastestmirror
plugin is not picking the fastest mirror for me.
I added my preferred mirror baseurl=http://specific.mirror.com
in /etc/yum.repos.d/CentOS-Base.repo
for the Base, Updates and Extras.
Then tried to update my system (clean all and then update). All went well, however, there was no information output at all that my specific mirror is being used for the updates.
I tried to use tcpdump while updating and installing other packages, however, I do not see my specific mirror in the output at all.
My question is: How can I confirm that yum is actually pulling the updates and other packages from my specific mirror? I mean, I want to see the url of my specific mirror being poked by yum. Can this be done?
Solution
In this case, the problem was resolved by:
- Re-enabling fastestmirror plugin and removing the specified mirror urls from the Centos Base repo.
- Server reboot.
- Disabling fastestmirror plugin and setting the specific mirror urls in the Centos Base repo once again.
Answered By - John Answer Checked By - Gilberto Lyons (WPSolving Admin)