LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1015|回复: 3

yum能否只更新涉及系统安全的更新?

[复制链接]
发表于 2008-3-27 19:37:27 | 显示全部楼层 |阅读模式
很多软件包都用不到,与系统安全无关的话,不更新也无所谓
yum有没有这个功能?如何设置?
发表于 2008-3-27 21:02:03 | 显示全部楼层
yum extender里有rpm包分类,不过我没有看到系统安全这个分类。
回复 支持 反对

使用道具 举报

发表于 2008-3-28 11:23:55 | 显示全部楼层
新的 packagekit 倒是可以选 自动更新 && security only,试试看?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-3-28 23:26:01 | 显示全部楼层
找到了:yum-security.noarch
在我的centos5.1下直接 yum install yum-security.noarch安装

man yum-security:
.....
....
EXAMPLES
       To list all updates that are security relevant, and get a reutrn code on whether there are security updates use:

              yum --security check-update

       To apply updates that are security relevant use:

              yum --security update

       To get a list of all BZs that are fixed for packages you have installed use:

              yum list-sec bugzillas

       To get the information on advisory FEDORA-2707-4567 use:

              yum info-sec FEDORA-2707-4567

       To apply updates for Bugzillas 123, 456 and 789; and all security updates use:

              yum --bz 123 --bz 456 --bz 789 --security update
...
...
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表