{"id":7248,"date":"2020-04-29T08:01:00","date_gmt":"2020-04-29T00:01:00","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=7248"},"modified":"2020-04-29T08:01:01","modified_gmt":"2020-04-29T00:01:01","slug":"yum-complete-transaction","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/yum-complete-transaction","title":{"rendered":"yum-complete-transaction \u547d\u4ee4 – \u5c1d\u8bd5\u5b8c\u6210\u7cfb\u7edf\u4e0a\u4e0d\u5b8c\u6574\u6216\u4e2d\u6b62\u7684yum\u4e8b\u52a1\u8fdb\u7a0b"},"content":{"rendered":"\n
yum-complete-transaction\u547d\u4ee4\u7684\u4f5c\u7528\u662f\u5728\u7cfb\u7edf\u4e0a\u67e5\u627e\u4e0d\u5b8c\u6574\u6216\u4e2d\u6b62\u7684yum\u4e8b\u52a1\u8fdb\u7a0b\u5e76\u5c1d\u8bd5\u5b8c\u6210\u5b83\u4eec\u3002yum-complete-transaction\u547d\u4ee4\u9700\u8981\u901a\u8fc7\u5b89\u88c5\u76f8\u5e94\u7684\u8f6f\u4ef6\u5305\u624d\u80fd\u8fd0\u884c\u3002<\/p>\n\n\n\n
\u5982\u679c\u53d1\u73b0\u591a\u4e2a\u672a\u5b8c\u6210\u7684\u4e8b\u52a1\uff0cyum-complete-transaction\u547d\u4ee4\u5c06\u5c1d\u8bd5\u9996\u5148\u5b8c\u6210\u6700\u8fd1\u7684\u4e8b\u52a1\u3002\u53ef\u4ee5\u901a\u8fc7\u591a\u6b21\u8fd0\u884cyum-complete-transaction\u547d\u4ee4\u4ee5\u6e05\u7406\u6240\u6709\u672a\u5b8c\u6210\u7684\u4e8b\u52a1\u3002<\/p>\n\n\n\n
\u7531\u4e8eyum-complete-transaction\u547d\u4ee4\u4f7f\u7528YUM\u4ed3\u5e93\u6765\u68c0\u7d22\u6240\u6709\u4fe1\u606f\uff0c\u56e0\u6b64\u5b83\u4f9d\u8d56\u4e8eYUM\u4ed3\u5e93\u914d\u7f6e\u7684\u9ed8\u8ba4\u503c\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>yum-complete-transaction [\u53c2\u6570]<\/p>\n\n\n\n \u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n \u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n \u5c1d\u8bd5\u5b8c\u6210\u7cfb\u7edf\u4e0a\u4e0d\u5b8c\u6574\u6216\u4e2d\u6b62\u7684yum\u8fdb\u7a0b\uff1a<\/p>\n\n\n\n \u663e\u793a\u8be6\u7ec6\u7684\u64cd\u4f5c\u8fc7\u7a0b\uff1a<\/p>\n\n\n\n \u5b8c\u5168\u5728\u7f13\u5b58\u4e2d\u8fd0\u884c\u8be5\u547d\u4ee4\uff1a<\/p>\n\n\n\n yum-complete-transaction\u547d\u4ee4\u7684\u4f5c\u7528\u662f\u5728\u7cfb\u7edf\u4e0a\u67e5\u627e\u4e0d\u5b8c\u6574\u6216\u4e2d\u6b62\u7684yum\u4e8b\u52a1\u8fdb\u7a0b\u5e76\u5c1d\u8bd5\u5b8c\u6210 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7248"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=7248"}],"version-history":[{"count":6,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7248\/revisions"}],"predecessor-version":[{"id":7264,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7248\/revisions\/7264"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=7248"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=7248"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=7248"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}-t<\/td> \u5bbd\u5bb9\u9519\u8bef<\/td><\/tr> -- -setopt=<\u8bbe\u7f6e\u9009\u9879><\/td> \u8bbe\u7f6e\u4efb\u610f\u914d\u7f6e\u548c\u8f6f\u4ef6\u4ed3\u5e93\u9009\u9879<\/td><\/tr> -- -cleanup-only<\/td> \u6e05\u7406\u4e8b\u7269\u65e5\u5fd7<\/td><\/tr> -C<\/td> \u4ece\u7cfb\u7edf\u7f13\u5b58\u4e2d\u5b8c\u5168\u8fd0\u884c\uff0c\u4e0d\u66f4\u65b0\u7f13\u5b58<\/td><\/tr> -c<\u914d\u7f6e\u6587\u4ef6><\/td> \u6307\u5b9a\u914d\u7f6e\u6587\u4ef6\u7684\u4f4d\u7f6e<\/td><\/tr> -R<\u7b49\u5f85\u65f6\u95f4><\/td> \u6700\u5927\u547d\u4ee4\u7b49\u5f85\u65f6\u95f4\uff0c\u5355\u4f4d\u662f\u5206\u949f<\/td><\/tr> -d<\u8c03\u8bd5\u7ea7\u522b><\/td> \u8c03\u8bd5\u8f93\u51fa\u7ea7\u522b<\/td><\/tr> -e<\u9519\u8bef\u7ea7\u522b><\/td> \u9519\u8bef\u8f93\u51fa\u7ea7\u522b<\/td><\/tr> -- -nogpgcheck<\/td> \u7981\u7528GPG\u7b7e\u540d\u68c0\u67e5<\/td><\/tr> -- -color=<\u989c\u8272><\/td> \u63a7\u5236\u4f7f\u7528\u989c\u8272<\/td><\/tr> -- -releasever=<\u503c><\/td> \u5728yum\u914d\u7f6e\u548c\u8f6f\u4ef6\u4ed3\u5e93\u6587\u4ef6\u4e2d\u8bbe\u7f6e$releasever\u503c<\/td><\/tr> -- -noplugins<\/td> \u7981\u7528yum\u63d2\u4ef6<\/td><\/tr> -- -enableplugin=<\u63d2\u4ef6><\/td> \u6309\u540d\u79f0\u542f\u7528\u63d2\u4ef6<\/td><\/tr> -- -disableplugin=<\u63d2\u4ef6><\/td> \u6309\u540d\u79f0\u7981\u7528\u63d2\u4ef6<\/td><\/tr> -q<\/td> \u5b89\u9759\u6a21\u5f0f<\/td><\/tr> -v<\/td> \u8be6\u7ec6\u64cd\u4f5c<\/td><\/tr> -y<\/td> \u5bf9\u6240\u6709\u95ee\u9898\u56de\u7b54yes<\/td><\/tr> -- -showduplicates<\/td> \u5728\u8f6f\u4ef6\u4ed3\u5e93\uff0c\u5728\u5217\u8868\u548c\u641c\u7d22\u547d\u4ee4\u4e2d\u663e\u793a\u91cd\u590d\u7684<\/td><\/tr> -- -rpmverbosity=<\u8c03\u8bd5\u7ea7\u522b\u540d><\/td> \u4e3arpm\u6307\u5b9a\u8c03\u8bd5\u8f93\u51fa\u7ea7\u522b<\/td><\/tr> -- -disablepresto<\/td> \u7981\u7528Presto\u63d2\u4ef6\uff0c\u4e0d\u4e0b\u8f7d\u4efb\u4f55deltarpm<\/td><\/tr> -- -version<\/td> \u663e\u793ayum\u7248\u672c\u7136\u540e\u9000\u51fa<\/td><\/tr> -- -enablerepo=<\u8f6f\u4ef6\u4ed3\u5e93><\/td> \u542f\u7528\u4e00\u4e2a\u6216\u591a\u4e2a\u4ed3\u5e93<\/td><\/tr> -- -disablerepo=<\u8f6f\u4ef6\u4ed3\u5e93><\/td> \u7981\u7528\u4e00\u4e2a\u6216\u591a\u4e2a\u8f6f\u4ef6\u4ed3\u5e93<\/td><\/tr> -- -installroot=<\u8def\u5f84><\/td> \u8bbe\u7f6e\u5b89\u88c5\u6839\u8def\u5f84<\/td><\/tr> -x<\u8f6f\u4ef6\u5305><\/td> \u6309\u540d\u79f0\u6216\u6392\u9664\u8f6f\u4ef6\u5305<\/td><\/tr> -- -obsoletes<\/td> \u5728\u66f4\u65b0\u8fc7\u7a0b\u4e2d\u542f\u7528\u5e9f\u5f03\u5904\u7406<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n [root@linuxcool ~]# yum-complete-transaction \u2013cleanup-only<\/pre>\n\n\n\n
[root@linuxcool ~]# yum-complete-transaction -v<\/pre>\n\n\n\n
[root@linuxcool ~]# yum-complete-transaction -C<\/pre>\n","protected":false},"excerpt":{"rendered":"