The fastest mirror plugin is intended for use in repository configurations where you have more than one mirror in a repo configuration. It makes yum to download packages from fastest and nearest mirror. If you are using the default CentOS configuration, and if you are not behind a proxy server, the fastest mirror is very much recommended option for everyone.
Disable yum command fastestmirror plugin on CentOS/Fedora
You need to edit the file named /etc/yum/pluginconf.d/fastestmirror.conf , run:
$ sudo vi /etc/yum/pluginconf.d/fastestmirror.conf
Find line that read as follows:
enabled=1
And set it as follows (set enabled to 0):
enabled=0
Save and close the file. Now run the following yum command:
$ sudo yum clean all
Sample outputs:
Cleaning repos: base epel extras updates Cleaning up everything
Run yum update again:
$ sudo yum update
## try installing something ##
$ sudo yum install pkg
$ sudo yum install htop
🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.
🐧 0 comments... add one ↓
🐧 0 comments... add one ↓
Category | List of Unix and Linux commands |
---|---|
File Management | cat |
Firewall | Alpine Awall • CentOS 8 • OpenSUSE • RHEL 8 • Ubuntu 16.04 • Ubuntu 18.04 • Ubuntu 20.04 |
Network Utilities | dig • host • ip • nmap |
OpenVPN | CentOS 7 • CentOS 8 • Debian 10 • Debian 8/9 • Ubuntu 18.04 • Ubuntu 20.04 |
Package Manager | apk • apt |
Processes Management | bg • chroot • cron • disown • fg • jobs • killall • kill • pidof • pstree • pwdx • time |
Searching | grep • whereis • which |
User Information | groups • id • lastcomm • last • lid/libuser-lid • logname • members • users • whoami • who • w |
WireGuard VPN | Alpine • CentOS 8 • Debian 10 • Firewall • Ubuntu 20.04 |