yum-complete-transaction

yum安装软件包,提示yum-complete-transaction。

 

# 安装 yum-complete-transaction

yum install yum-utils

# 运行 yum-complete-transaction

yum-complete-transaction

 

 

安装完成后,yum 安装包可能扔提示软件包冲突

#查看存储冲突软件包(不会删除,只是查看):

 package-cleanup 

#删除存在冲突的软件包中的旧版本包

ackage-cleanup   --cleandupes 

 

package-cleanup options:
  --problems            List dependency problems in the local RPM database
  --qf=QF, --queryformat=QF       Query format to use for output.
  --orphans             List installed packages which are not available from  currently configured repositories

Duplicate Package Options:
  --dupes               Scan for duplicates in your rpmdb
  --cleandupes            Scan for duplicates in your rpmdb and remove older
  --removenewestdupes             Remove the newest dupes instead of the oldest dupes  when cleaning duplicates.
  --noscripts                 disable rpm scriptlets from running when cleaning duplicates

posted @ 2020-08-01 16:24  Mr.Bobby  阅读(447)  评论(0编辑  收藏  举报