How To Configure Yum To Exclude A Mirror
- font size decrease font size increase font size
- Print Email
Many of us have suffered from failing package repository mirrors. Some are slow, some won't have updated content, etc. You might want to remove/blacklist a particular mirror in your yum configuration.
Before trying to remove a mirror, install the fastest mirror plugin.
yum install yum-fastestmirror -y
The fastest mirror plugin is capable of determining mirror speeds and cache it. If that works for you well and good.
If not, manually exclude a mirror in /etc/yum/pluginconf.d/fastestmirror.conf. Use the exclude variable and set its value to the URL to be blacklisted.
Example
exclude = fedora.iitm.ac.in
Last modified onSunday, 14 October 2012 04:07
( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 169 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0051 | 412280 | {main}( ) | .../index.php:0 |
2 | 0.1939 | 4262248 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.1939 | 4262248 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.7095 | 11453168 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.7104 | 11477496 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.7122 | 11532824 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.7129 | 11560224 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.7277 | 11959856 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.7277 | 11959856 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.7463 | 12610560 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.7464 | 12610560 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.7533 | 12981600 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.7586 | 13001968 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.9186 | 15780376 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.9186 | 15780376 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.9245 | 15953312 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |
- Published in CentOS 6
- Read 1731 times
( ! ) Notice: Only variables should be assigned by reference in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 478 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0051 | 412280 | {main}( ) | .../index.php:0 |
2 | 0.1939 | 4262248 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.1939 | 4262248 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.7095 | 11453168 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.7104 | 11477496 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.7122 | 11532824 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.7129 | 11560224 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.7277 | 11959856 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.7277 | 11959856 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.7463 | 12610560 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.7464 | 12610560 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.7533 | 12981600 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.7586 | 13001968 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.9186 | 15780376 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.9186 | 15780376 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.9245 | 15953312 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |