{"id":7022,"date":"2020-04-29T18:49:04","date_gmt":"2020-04-29T10:49:04","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=7022"},"modified":"2020-04-29T18:49:05","modified_gmt":"2020-04-29T10:49:05","slug":"yum-debug-restore","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/yum-debug-restore","title":{"rendered":"yum-debug-restore\u547d\u4ee4 – \u91cd\u64ad\u5728\u8c03\u8bd5\u8f6c\u50a8\u6587\u4ef6\u4e2d\u6355\u83b7\u7684yum\u4e8b\u52a1"},"content":{"rendered":"\n
yum debug restore\u662f\u4e00\u4e2a\u7a0b\u5e8f\uff0c\u5b83\u63a5\u53d7\u7531yum debug dump\u521b\u5efa\u7684gzip\u6587\u4ef6\uff0c\u5e76\u5bf9\u5176\u4e2d\u5305\u542b\u7684\u5df2\u5b89\u88c5\u5305\u7684\u4fe1\u606f\u6267\u884c\u64cd\u4f5c\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>yum debug restore [\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 \u501f\u52a9yum-debug-dump\u521b\u5efa\u7684gzip\u538b\u7f29\u6587\u4ef6\u6765\u8fdb\u884c\u8fd8\u539f\uff1a<\/p>\n\n\n\n \u4f7f\u7528-C\u53c2\u6570\u4ece\u7f13\u5b58\u4e2d\u8fd0\u884c\uff1a<\/p>\n\n\n\n \u4f7f\u7528install-latest\u53c2\u6570\u83b7\u53d6\u6700\u65b0\u7248\u672c\u7684\uff1a<\/p>\n\n\n\n yum debug restore\u662f\u4e00\u4e2a\u7a0b\u5e8f\uff0c\u5b83\u63a5\u53d7\u7531yum debug dump\u521b\u5efa\u7684gzip\u6587\u4ef6\uff0c\u5e76\u5bf9\u5176\u4e2d […]<\/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\/7022"}],"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=7022"}],"version-history":[{"count":4,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7022\/revisions"}],"predecessor-version":[{"id":7309,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7022\/revisions\/7309"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=7022"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=7022"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=7022"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}-C<\/td> \u53ea\u4ece\u7f13\u5b58\u4e2d\u8fd0\u884c<\/td><\/tr> -c<\u914d\u7f6e\u6587\u4ef6><\/td> \u6307\u5b9a\u914d\u7f6e\u6587\u4ef6\u7684\u4f4d\u7f6e<\/td><\/tr> --output<\/td> \u8f93\u51fayum shell\u547d\u4ee4<\/td><\/tr> shell=<\u6587\u4ef6><\/td> \u8f93\u51fayum shell\u547d\u4ee4\u5230\u4e00\u4e2a\u6587\u4ef6<\/td><\/tr> install-latest<\/td> \u5b89\u88c5\u6700\u65b0\u7684\u7248\u672c\u800c\u4e0d\u662f\u6307\u5b9a\u7248\u672c<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n [root@linuxcool ~]# yum-debug-dump yum_debug_dump-linuxcool-2020-04-24_22:07:40.txt.gz<\/pre>\n\n\n\n
[root@linuxcool ~]# yum-debug-dump -C linuxcool.gz<\/pre>\n\n\n\n
[root@linuxcool ~]# yum-debug-dump install-latest net-tools<\/pre>\n","protected":false},"excerpt":{"rendered":"