[attach]5316[/attach]
在本文中,我们将解释如何查看 Yum 事务的历史记录,以便于了解有关安装的软件包以及从系统中所卸载/清除软件包的信息。 -- Aaron Kili
本文导航
-查看完整的 Yum 历史 …… 11%
-使用 Yum 查找软件包信息 …… 17%
-使用 yum history 查找软件包事务信息 …… 34%
-使用 Yum 回滚软件包 …… 45%
-查找 Yum 历史数据库和来源信息 …… 74%
编译自: http://www.tecmint.com/view-yum-history-to-find-packages-info/
作者: Aaron Kili
译者: OneNewLife
# yum history
# yum history list all
# yum history info httpd
# yum history summary httpd
# yum history info 15
# yum history package-list httpd
或
# yum history package-info httpd
# yum history package-list httpd epel-release
或
# yum history packages-list httpd epel-release
# yum history undo 2 #将删除软件包 W
# yum history redo 2 #将重新安装软件包 W
# yum history rollback 2 #将删除软件包 X、 Y 和 Z
# yum history | grep -w "2"
# yum history redo 2
# yum history redo force-reinstall 16
# yum history addon-info
# yum history stats
# yum history sync
# yum history new
# man yum
欢迎光临 51学通信论坛2017新版 (http://bbs.51xuetongxin.com/) | Powered by Discuz! X3 |