Centos yum 404 repository errors

  • strict warning: Non-static method view::load() should not be called statically in /hermes/walnaweb12a/b57/moo.greydragoncom/nodsw/sites/all/modules/views/views.module on line 906.
  • strict warning: Declaration of views_handler_argument::init() should be compatible with views_handler::init(&$view, $options) in /hermes/walnaweb12a/b57/moo.greydragoncom/nodsw/sites/all/modules/views/handlers/views_handler_argument.inc on line 744.
  • strict warning: Declaration of views_handler_filter::options_validate() should be compatible with views_handler::options_validate($form, &$form_state) in /hermes/walnaweb12a/b57/moo.greydragoncom/nodsw/sites/all/modules/views/handlers/views_handler_filter.inc on line 607.
  • strict warning: Declaration of views_handler_filter::options_submit() should be compatible with views_handler::options_submit($form, &$form_state) in /hermes/walnaweb12a/b57/moo.greydragoncom/nodsw/sites/all/modules/views/handlers/views_handler_filter.inc on line 607.
  • strict warning: Declaration of views_handler_filter_boolean_operator::value_validate() should be compatible with views_handler_filter::value_validate($form, &$form_state) in /hermes/walnaweb12a/b57/moo.greydragoncom/nodsw/sites/all/modules/views/handlers/views_handler_filter_boolean_operator.inc on line 159.
Leeland's picture

Today, I was attempting to upgrade my installed packages using yum on Centos Linux. Except that yum spun off into 404 land. The command looked like this:

$ sudo yum -y upgrade
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: centos.mirror.netriplex.com
 * base: mira.sunsite.utk.edu
 * extras: repo.genomics.upenn.edu
 * updates: centos.aol.com
http://centos.mirror.netriplex.com/5.5/addons/i386/repodata/repomd.xml:
[Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://dist1.800hosting.com/centos/5.5/addons/i386/repodata/repomd.xml:
[Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://mirror.cisp.com/CentOS/5.5/addons/i386/repodata/repomd.xml:
[Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://mirror.fdcservers.net/centos/5.5/addons/i386/repodata/repomd.xml:
[Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://mirror.its.uidaho.edu/pub/centos/5.5/addons/i386/repodata/repomd....
[Errno 14] HTTP Error 404: Not Found
Trying other mirror.
[...]

Basically yum ran through every single mirror and got nothing but 404 errors. I thought something might have gotten broken with yum or maybe the entire Internet changed overnight to a new repository layout (not likely but it has happened before). Well a simple Google for yum 404 led to some message threads that basically said yum's caches were out of data. The solution was so simple I frankly had a hard time believing that all I had to do was issue the command:

yum clean all

One command, caches cleaned and off yum went to do the upgrade I wanted.

Very simple, very happy, thanks Google!

Thread Slivers eBook at Amazon