{"id":18055,"date":"2013-10-07T22:15:22","date_gmt":"2013-10-07T14:15:22","guid":{"rendered":"https:\/\/2blog.ilc.edu.tw\/25793\/2013\/10\/07\/%e8%a7%a3%e6%b1%ba-duplicate-rpm-%e7%9a%84%e5%95%8f%e9%a1%8c\/"},"modified":"2021-03-18T17:23:43","modified_gmt":"2021-03-18T09:23:43","slug":"%e8%a7%a3%e6%b1%ba-duplicate-rpm-%e7%9a%84%e5%95%8f%e9%a1%8c","status":"publish","type":"post","link":"https:\/\/2blog.ilc.edu.tw\/25793\/2013\/10\/07\/%e8%a7%a3%e6%b1%ba-duplicate-rpm-%e7%9a%84%e5%95%8f%e9%a1%8c\/","title":{"rendered":"\u89e3\u6c7a duplicate rpm \u7684\u554f\u984c"},"content":{"rendered":"<p>\u6709\u4e00\u53f0 CentOS 6.x\u00a0\u7684 Server\uff0c\u5728\u4e00\u6b21\u66f4\u65b0\u4e2d\u9014\u5931\u6557\u5f8c\uff0c\u6bcf\u6b21\u8981\u66f4\u65b0\u6642\u5c31\u51fa\u73fe\u5982\u4e0b\u7684\u8a0a\u606f\uff1a<br \/><span style=\"color: #0000ff\">selinux-policy-3.7.19-195.el6_4.12.noarch is a duplicate with selinux-policy-3.7.19-155.el6_3.14.noarch<\/span><br \/><span style=\"color: #0000ff\">setup-2.8.14-20.el6.noarch is a duplicate with setup-2.8.14-16.el6.noarch<\/span><br \/><span style=\"color: #0000ff\">sos-2.2-38.el6.centos.2.noarch is a duplicate with sos-2.2-29.el6.noarch<\/span><br \/><span style=\"color: #0000ff\">sssd-1.9.2-82.7.el6_4.x86_64 has installed conflicts selinux-policy &lt; (&#8216;0&#8217;, &#8216;3.7.19&#8217;, &#8216;160&#8217;): selinux-policy-3.7.19-155.el6_3.14.noarch<\/span><br \/><span style=\"color: #0000ff\">sssd-1.9.2-82.7.el6_4.x86_64 is a duplicate with sssd-1.8.0-32.el6.x86_64<\/span><br \/><span style=\"color: #0000ff\">sssd-client-1.9.2-82.7.el6_4.x86_64 is a duplicate with sssd-client-1.8.0-32.el6.x86_64<\/span><br \/><span style=\"color: #0000ff\">2:tar-1.23-11.el6.x86_64 is a duplicate with 2:tar-1.23-7.el6.x86_64<\/span><br \/><span style=\"color: #0000ff\">tzdata-2013c-2.el6.noarch is a duplicate with tzdata-2012j-1.el6.noarch<\/span><br \/><span style=\"color: #0000ff\">udev-147-2.46.el6.x86_64 is a duplicate with udev-147-2.42.el6.x86_64<\/span><br \/><span style=\"color: #0000ff\">upstart-0.6.5-12.el6_4.1.x86_64 is a duplicate with upstart-0.6.5-12.el6.x86_64<\/span><br \/><span style=\"color: #0000ff\">util-linux-ng-2.17.2-12.9.el6_4.3.x86_64 is a duplicate with util-linux-ng-2.17.2-12.7.el6_3.x86_64<\/span><\/p>\n<p>\u770b\u8d77\u4f86\u50cf\u662f\u7cfb\u7d71\u4e2d\uff0c\u91cd\u8907\u5b89\u88dd\u4e86\u4e8c\u500b\u76f8\u540c\u6a94\u540d\u7684\u5957\u4ef6<br \/># <span style=\"color: #ff0000\">rpm -qa | grep samba<\/span><br \/><span style=\"color: #ff0000\">samba-common-3.5.10-125.el6.x86_64<\/span><br \/><span style=\"color: #0000ff\">samba-3.5.10-125.el6.x86_64<\/span><br \/><span style=\"color: #ff0000\">samba-common-3.6.9-151.el6.x86_64<\/span><br \/><span style=\"color: #0000ff\">samba4-libs-4.0.0-55.el6.rc4.x86_64<\/span><br \/><span style=\"color: #ff0000\">samba-winbind-clients-3.5.10-125.el6.x86_64<\/span><br \/><span style=\"color: #0000ff\">samba-winbind-3.6.9-151.el6.x86_64<\/span><br \/><span style=\"color: #ff0000\">samba-winbind-clients-3.6.9-151.el6.x86_64<\/span><br \/><span style=\"color: #0000ff\">samba-client-3.5.10-125.el6.x86_64<\/span><br \/>\u770b\u8d77\u4f86\u4f3c\u4e4e\u6709 2xx\u00a0\u591a\u500b\u91cd\u8986\u7684\u6a94\u6848\uff0c\u96e3\u9053\u8981\u4e00\u4e00\u522a\u9664\u55ce\uff1f[@more@]\u5728\u7db2\u8def\u4e0a\u641c\u5c0b\u4e86\u4e00\u4e0b\uff0c\u7d42\u65bc\u627e\u5230\u89e3\u6c7a\u7684\u65b9\u6848 &#8211; <a href=\"http:\/\/blog.wu-boy.com\/2011\/10\/how-to-remove-duplicated-rpm-package\/\" target=\"_blank\" rel=\"noopener noreferrer\">AWS \u6a5f\u5668\u4e0a duplicated RPM \u554f\u984c | \u5c0f\u60e1\u9b54 &#8211; \u96fb\u8166\u6280\u8853 &#8211; \u5de5\u4f5c\u7b46\u8a18 &#8211; AppleBOY<\/a><\/p>\n<p>\u89e3\u6c7a\u65b9\u5f0f\uff1a<br \/>1.\u00a0\u5b89\u88dd yum-utils\u00a0\u5957\u4ef6<br \/># <span style=\"color: #ff0000\">yum install yum-utils<\/span><br \/>2.\u00a0\u79fb\u9664\u76f8\u540c\u7684\u591a\u9918\u5957\u4ef6<br \/># <span style=\"color: #ff0000\">package-cleanup &#8211;cleandupes<\/span><\/p>\n<p><span style=\"color: #0000ff\">Transaction Summary<\/span><br \/><span style=\"color: #0000ff\">================================================================================<\/span><br \/><span style=\"color: #0000ff\">Remove\u00a0\u00a0\u00a0\u00a0\u00a0 229 Package(s)<\/span><\/p>\n<p><span style=\"color: #0000ff\">Installed size: 611 M<\/span><br \/><span style=\"color: #0000ff\">Is this ok [y\/N]:<\/span><span style=\"color: #ff0000\">y<\/span><\/p>\n<p>\u5171\u6709 229\u00a0\u500b\u91cd\u8986\u7684\u5957\u4ef6\u6a94\uff0c\u5982\u679c\u8981\u4e00\u4e00\u522a\u9664\uff0c\u5c31\u6703\u7d2f\u6b7b\u4eba\u4e86\uff01<\/p>\n<p>\u5f8c\u8a18\uff1a<br \/>\u4e0d\u904e\uff0c\u5efa\u8b70\u5728\u505a\u76f8\u95dc\u79fb\u9664\u7684\u52d5\u4f5c\u6642\uff0c\u61c9\u5148\u597d\u5099\u4efd\u7684\u5de5\u4f5c\uff0c\u56e0\u70ba\u6211\u767c\u73fe\u79fb\u9664\u4e4b\u5f8c\uff0c\u5b83\u628a\u6211\u7684 SSH \/ MySQL \/ SNMP Server\u00a0\u7b49\u7b49\uff0c\u5168\u90e8\u90fd\u79fb\u9664\u4e86\uff0c\u6211\u53c8\u624b\u52d5\u4e00\u4e00\u5b89\u88dd\u56de\u53bb\uff0c\u624d\u8b93 Server\u00a0\u53ef\u4ee5\u6b63\u5e38\u904b\u4f5c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6709\u4e00\u53f0 CentOS 6.x\u00a0\u7684 Server\uff0c\u5728\u4e00\u6b21\u66f4\u65b0\u4e2d\u9014\u5931\u6557\u5f8c\uff0c\u6bcf\u6b21\u8981\u66f4\u65b0\u6642\u5c31\u51fa\u73fe\u5982\u4e0b\u7684\u8a0a\u606f\uff1aselin &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/2blog.ilc.edu.tw\/25793\/2013\/10\/07\/%e8%a7%a3%e6%b1%ba-duplicate-rpm-%e7%9a%84%e5%95%8f%e9%a1%8c\/\" class=\"more-link\">\u95b1\u8b80\u5168\u6587<span class=\"screen-reader-text\">\u3008\u89e3\u6c7a duplicate rpm \u7684\u554f\u984c\u3009<\/span><\/a><\/p>\n","protected":false},"author":55,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[110],"tags":[],"class_list":["post-18055","post","type-post","status-publish","format-standard","hentry","category-c-72494"],"meta_key":{"_encloseme":["1"],"lt_post_id":["430253"],"_pingme":["1"]},"_links":{"self":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts\/18055"}],"collection":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/users\/55"}],"replies":[{"embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/comments?post=18055"}],"version-history":[{"count":1,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts\/18055\/revisions"}],"predecessor-version":[{"id":19759,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts\/18055\/revisions\/19759"}],"wp:attachment":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/media?parent=18055"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/categories?post=18055"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/tags?post=18055"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}