更新yum源的后一定要执行下面的两条命令:
yum clean all yum makecache
更新yum源却忘了生成缓存 造成每次启动机器报:the package list needs to be rebuilt
原文:http://www.cnblogs.com/bass6/p/6360923.html