我正在阅读Red 6(部署指南)的正式文档,在其中关于yum的第6章中,它们使用以下命令来显示事务:
yum history info (id)据称,该命令应该显示用户在命令行上发出的命令。然而,在我的Red 6(RedHatEnterpriseLinuxServerRelease6.0(圣地亚哥))上,我看不到这个字段。
下面是根据文档在命令响应中应该显示的内容:
Command Line: install screen我的百胜似乎显示了所有的字段,除了命令行。
文档是否过时了,还是存在版本问题?
这是百胜历史信息8的输出:
Loaded plugins: refresh-packagekit, rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
Transaction ID : 8
Begin time : Mon Aug 19 13:41:54 2013
Begin rpmdb : 1084:65de5635b414c70762820c21547fbd04b195ff4b
End time : 13:42:13 2013 (19 seconds)
End rpmdb : 1084:0199a2a8ec5de1036ccf87f49bd3e091e410cb5f
User : TR <tr>
Return-Code : Success
Transaction performed with:
Installed rpm-4.8.0-12.el6.i686
Installed yum-3.2.27-14.el6.noarch
Packages Altered:
Updated tar-2:1.23-3.el6.i686
Update 2:1.23-11.el6.i686
history info发布于 2013-08-22 19:02:47
yum历史命令行是在Yum的更高版本中实现的。
根据这位医生的说法,在3.2.29-18版本中,它是实现的,所以我会继续使用yum update yum
yum rpm包件变更量g:
* Thu Aug 11 2011 James Antill <james.antill@redhat.com> - 3.2.29-18
- Deal with pre scripts errors better.
- Resolves: rhbz#661962
- history nows stores and display rpmdb/yumdb information (Eg. from_repo).
[...]编辑: yum仍然无法看到在实现该功能之前所做的事务中的命令行信息。
https://serverfault.com/questions/532968
复制相似问题