在本身搭建的yum源添加某软件新版本的的yum文件,须要更新yum源使新增yum文件生效html
在yum源机器执行:缓存
createrepo --update local-yum (local-yum 为本地的yum源地址)spa
eg:createrepo --update /opt/www/html/rh63/x86_64 htm
在客户端执行yum install AA ,显示版本仍是旧版本,由于客户端缓存缘由,须要清理一下yum软件
执行:yum clean all
date
再yum list|grep AA 或 yum install AA 显示的为新版本,一切按照本身所想的结果了grep