从原理解析为啥执行yum update两次才会升级到最新版本呢?

问题描述:

最近有个客户,在本地搭建的本地网络源,将外网源的安装包全部同步到yum源服务器上,但是在执行yum update的时候,发现kernel的版本不是升级到最新版本,而是需要执行两次yum update才会更新到最新版本。

经过沟通确认发现,将kernel相关包从外网源reposync后,直接执行的yum update,没有更新缓存。

原理解析:

通过redhat 知识库:https://access.redhat.com/solutions/5904661

查看系统中是否当前系统中是否存在dnf-makecache.timer定时任务器

[root@localhost ~]# systemctl list-units|grep cache

  dnf-makecache.timer                                                                       

猜你喜欢

转载自blog.csdn.net/taoxicun/article/details/134605175