yum 重复安装问题


** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:

python-2.6.6-37.el6_4.x86_64 is a duplicate with python-2.6.5-3.el6.x86_64


----------------------------------------

重复安装???



要解决上述问题,可以这样:

# 首先安装 yum-utils 套件
  
  yum install yum-utils
  
# 执行 clean duplicate package
  
  package-cleanup --cleandupes


  Duplicate Package Options:
    --dupes             Scan for duplicates in your rpmdb
    --cleandupes        Scan for duplicates in your rpmdb and remove older
    --noscripts         disable rpm scriptlets from running when cleaning
                        duplicates


参考:

http://blog.wu-boy.com/2011/10/how-to-remove-duplicated-rpm-package/

https://forums.aws.amazon.com/thread.jspa?messageID=318951


你可能感兴趣的:(yum 重复安装问题)