运行 yum update 时,我经常会看到需要更新的软件包(例如 chkconfig),我想确切地了解发生了什么变化,我的意思是,这些软件包已经存在很长时间了,我无法想象可以对它进行哪些更改。这些更新是为了安全性、性能还是其他什么?
答案1
通常,它们是小改动、错误修复和兼容性更新……
您可以使用来rpm -q --changelog packagename
查询包的更改日志。
举例来说:
[root@xt ~]# rpm -q --changelog chkconfig
* Wed Feb 01 2012 Bill Nottingham <[email protected]> 1.3.49.3-2
- fix another regression, this one in 'install_initd' (#696305)
* Tue Jan 17 2012 Bill Nottingham <[email protected]> 1.3.49.2-1
- backport fix for regression introduced in last set of fixes (#782152)
* Wed Jan 04 2012 Bill Nottingham <[email protected]> 1.3.49.1-1
- backport LSB fixes from head
- fixes: #693202/#771455, #649227/#771452, #750446/#771454, #701573/#771741, #696305 (<[email protected]>)
如果你安装了该yum-plugin-changelog
包,你可以直接从 查询yum
。
[root@xt ~]# yum changelog all zfs
Loaded plugins: changelog, fastestmirror, security, versionlock
Listing all changelogs
==================== Installed Packages ====================
zfs-0.6.1-1.el6.x86_64 installed
* Fri Mar 22 07:00:00 2013 Brian Behlendorf <[email protected]> - 0.6.1-1
- First official stable release.
==================== Available Packages ====================
zfs-0.6.2-1.el6.x86_64 zfs
* Wed Aug 21 07:00:00 2013 Brian Behlendorf <[email protected]> - 0.6.2-1
- Released 0.6.2-1
* Fri Mar 22 07:00:00 2013 Brian Behlendorf <[email protected]> - 0.6.1-1
- First official stable release.
changelog stats. 2 pkgs, 2 source pkgs, 3 changelogs