{"id":265,"date":"2018-07-26T13:51:24","date_gmt":"2018-07-26T05:51:24","guid":{"rendered":"http:\/\/blog.yunvisit.com\/?p=265"},"modified":"2018-08-23T20:27:53","modified_gmt":"2018-08-23T12:27:53","slug":"%e5%85%b3%e4%ba%8eyumthe-program-package-cleanup-is-%e7%9a%84%e8%a7%a3%e5%86%b3%e5%8a%9e%e6%b3%95","status":"publish","type":"post","link":"https:\/\/blog.yunvisit.com\/?p=265","title":{"rendered":"\u5173\u4e8eyum\u201cThe program package-cleanup is&#8230;\u201d\u7684\u89e3\u51b3\u529e\u6cd5"},"content":{"rendered":"<p><strong>\u5728\u4f7f\u7528yum \u65f6\u603b\u662f\u6709\u63d0\u793a\u4fe1\u606f<\/strong>:<br \/>\nThe program package-cleanup is found in the yum-utils package.<br \/>\n<strong>\u6216\u8005\u63d0\u793a<\/strong>:<br \/>\nThere are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.<br \/>\nThe program yum-complete-transaction is found in the yum-utils package. <\/p>\n<p><strong>\u89e3\u51b3\u529e\u6cd5<\/strong>:<br \/>\n#\u5b89\u88c5 yum-complete-transaction\uff08\u8fd9\u662f\u4e00\u4e2a\u80fd\u53d1\u73b0\u672a\u5b8c\u6210\u6216\u88ab\u4e2d\u65ad\u7684yum\u4e8b\u52a1\u7684\u7a0b\u5e8f\uff09<\/p>\n<div class=\"my-syntax-highlighter\">\n<pre><textarea id=\"mshighlighter\" class=\"mshighlighter\" language=\"shell\" name=\"mshighlighter\" >yum install yum-utils<\/textarea><\/pre>\n<\/div>\n<p>#\u6e05\u9664yum\u7f13\u5b58<\/p>\n<div class=\"my-syntax-highlighter\">\n<pre><textarea id=\"mshighlighter\" class=\"mshighlighter\" language=\"shell\" name=\"mshighlighter\" >yum clean all<\/textarea><\/pre>\n<\/div>\n<p>#\u5217\u51fa\u91cd\u590d\u7684\u5305lists duplicate packages<\/p>\n<div class=\"my-syntax-highlighter\">\n<pre><textarea id=\"mshighlighter\" class=\"mshighlighter\" language=\"shell\" name=\"mshighlighter\" >package-cleanup --dupes<\/textarea><\/pre>\n<\/div>\n<p>#\u5220\u9664\u91cd\u590d\u7684\u5305 removes duplicate packages<\/p>\n<div class=\"my-syntax-highlighter\">\n<pre><textarea id=\"mshighlighter\" class=\"mshighlighter\" language=\"shell\" name=\"mshighlighter\" >package-cleanup --cleandupes<\/textarea><\/pre>\n<\/div>\n<p>#\u6e05\u9664\u53ef\u80fd\u5b58\u5728\u7684\u635f\u574f\u5305<\/p>\n<div class=\"my-syntax-highlighter\">\n<pre><textarea id=\"mshighlighter\" class=\"mshighlighter\" language=\"shell\" name=\"mshighlighter\" >package-cleanup --problems<\/textarea><\/pre>\n<\/div>\n<p>Fixed Enjoy <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u4f7f\u7528yum \u65f6\u603b\u662f\u6709\u63d0\u793a\u4fe1\u606f: The program package-cleanup is found in the yum- &#8230;<\/p>\n","protected":false},"author":1,"featured_media":61,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[34,41,7],"_links":{"self":[{"href":"https:\/\/blog.yunvisit.com\/index.php?rest_route=\/wp\/v2\/posts\/265"}],"collection":[{"href":"https:\/\/blog.yunvisit.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.yunvisit.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.yunvisit.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.yunvisit.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=265"}],"version-history":[{"count":0,"href":"https:\/\/blog.yunvisit.com\/index.php?rest_route=\/wp\/v2\/posts\/265\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.yunvisit.com\/index.php?rest_route=\/wp\/v2\/media\/61"}],"wp:attachment":[{"href":"https:\/\/blog.yunvisit.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=265"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.yunvisit.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=265"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.yunvisit.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=265"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}