Showing posts with label YUM issues. Show all posts
Showing posts with label YUM issues. Show all posts

Thursday, April 10, 2014

How to Disable yum fastestmirror plugin on CentOS

The fastestmirror plugin may be useful at some points, but it can be a problem some time too as it can effect your download speed and even some time will not allow you to install the application.

To disable fastestmirror plugin follow the steps below.
  • SSH server as root user 
  • vi  /etc/yum/pluginconf.d/fastestmirror.conf
  • Search the line enabled=1 set it to enabled=0 save and exit.
*Note 0 is used to disable the plugin and 1 is used to enable the plugin.

Monday, November 25, 2013

yum update – TypeError: unsubscriptable object

 If you are getting the error like "TypeError: unsubscriptable object" while installing any software through YUM or while updating YUM follow the steps below.

SSH server

Run the below 3 commands and yum will be update and you will not get the error any more.
  • yum clean metadata
  • yum clean all
  • yum update
Now you will not get any such error while Installing Application through YUM.