我如何获得最新的软件包列表?

我推了一个rpm到远程回购,但百胜列表还没有显示包。 我通过转到远程网站http:回购validation上述…

当我做yum更新时,它说没有更新的软件包都是最新的。

我如何告诉百胜从远程拉一个新的列表?

谢谢。

默认情况下,yumcaching其存储库的元数据(默认时间是90分钟,但可以更改)。

如果您擦除caching的元数据,则yum会在下一次运行时再次读取它。

 yum clean metadata 

通常,回购元数据由createrepo(8)更新。 远程端可能还没有运行,并提供过时的元数据。

但是,无论如何,要告诉yum更新本地元数据,做yum makecacheyum makecache fast

  makecache Is used to download and make usable all the metadata for the currently enabled yum repos. If the argument "fast" is passed, then we just try to make sure the repos. are current (much like "yum clean expire-cache").