{"id":187169,"date":"2020-10-30T16:52:38","date_gmt":"2020-10-30T08:52:38","guid":{"rendered":"http:\/\/4563.org\/?p=187169"},"modified":"2020-10-30T16:52:38","modified_gmt":"2020-10-30T08:52:38","slug":"kali-%e4%b8%8b-apt-upgrade-%e5%8d%87%e7%ba%a7%e6%8a%a5%e9%94%99","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=187169","title":{"rendered":"kali \u4e0b apt upgrade \u5347\u7ea7\u62a5\u9519"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  kali \u4e0b apt upgrade \u5347\u7ea7\u62a5\u9519               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : py7 <\/span>  <span><i><\/i> 4<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u8bf7\u6559\uff0ckali \u91cc apt update \u63d0\u793a\u6709\u5f88\u591a\u9700\u8981\u66f4\u65b0\uff0c\u7136\u540e apt upgrade \u8868\u793a\u6709\u5305\u51b2\u7a81\uff0cGoogle \u4e00\u756a\u6709\u89e3\u7b54\u8bf4 apt purge \u6765\u5220\u51b2\u7a81\u5305\uff0c\u53ef\u662f\u5220\u5b8c\u4e00\u4e2a\u53c8\u663e\u793a\u6709\u4e00\u4e2a\u5305\u51b2\u7a81\uff0c\u672a\u641c\u7d22\u5230\u89e3\u51b3\u529e\u6cd5\u3002<\/p>\n<pre><code>\u547d\u4e2d:1 http:\/\/mirrors.ustc.edu.cn\/kali kali-rolling InRelease \u547d\u4e2d:2 http:\/\/mirrors.aliyun.com\/kali kali-rolling InRelease  \u6b63\u5728\u8bfb\u53d6\u8f6f\u4ef6\u5305\u5217\u8868... \u5b8c\u6210 \u6b63\u5728\u5206\u6790\u8f6f\u4ef6\u5305\u7684\u4f9d\u8d56\u5173\u7cfb\u6811        \u6b63\u5728\u8bfb\u53d6\u72b6\u6001\u4fe1\u606f... \u5b8c\u6210        \u6709 1530 \u4e2a\u8f6f\u4ef6\u5305\u53ef\u4ee5\u5347\u7ea7\u3002\u8bf7\u6267\u884c \u2018apt list --upgradable\u2019 \u6765\u67e5\u770b\u5b83\u4eec\u3002 [email&#160;protected]:\/home# apt upgrade \u6b63\u5728\u8bfb\u53d6\u8f6f\u4ef6\u5305\u5217\u8868... \u5b8c\u6210 \u6b63\u5728\u5206\u6790\u8f6f\u4ef6\u5305\u7684\u4f9d\u8d56\u5173\u7cfb\u6811        \u6b63\u5728\u8bfb\u53d6\u72b6\u6001\u4fe1\u606f... \u5b8c\u6210        \u6b63\u5728\u8ba1\u7b97\u66f4\u65b0... \u5b8c\u6210 \u6709\u4e00\u4e9b\u8f6f\u4ef6\u5305\u65e0\u6cd5\u88ab\u5b89\u88c5\u3002\u5982\u679c\u60a8\u7528\u7684\u662f unstable \u53d1\u884c\u7248\uff0c\u8fd9\u4e5f\u8bb8\u662f \u56e0\u4e3a\u7cfb\u7edf\u65e0\u6cd5\u8fbe\u5230\u60a8\u8981\u6c42\u7684\u72b6\u6001\u9020\u6210\u7684\u3002\u8be5\u7248\u672c\u4e2d\u53ef\u80fd\u4f1a\u6709\u4e00\u4e9b\u60a8\u9700\u8981\u7684\u8f6f\u4ef6 \u5305\u5c1a\u672a\u88ab\u521b\u5efa\u6216\u662f\u5b83\u4eec\u5df2\u88ab\u4ece\u65b0\u5230(Incoming)\u76ee\u5f55\u79fb\u51fa\u3002 \u4e0b\u5217\u4fe1\u606f\u53ef\u80fd\u4f1a\u5bf9\u89e3\u51b3\u95ee\u9898\u6709\u6240\u5e2e\u52a9\uff1a  \u4e0b\u5217\u8f6f\u4ef6\u5305\u6709\u672a\u6ee1\u8db3\u7684\u4f9d\u8d56\u5173\u7cfb\uff1a  ruby-http-parser.rb : \u51b2\u7a81: ruby-http-parser \u4f46\u662f 1.2.1-4 \u6b63\u8981\u88ab\u5b89\u88c5 <\/code><\/pre>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>4<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4055644\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : BrettD <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             apt -f install                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4055645\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : flynaj <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5b83\u5df2\u7ecf\u63d0\u793a\u4f60\u4e86\u554a\uff0c\u6ca1\u6709\u529e\u6cd5\u7684 unstable                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4055646\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : 0x4C <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u770b\u4f60\u6df7\u7528\u4e86\u4e24\u5bb6\u7684\u6e90\uff1f<br \/>\u5148\u628a\u6e90\u53ea\u7528\u4e00\u5bb6\u7684\u770b\u770b                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4055647\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : 404error <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u53ef\u4ee5\u7528 aptitude \u6765\u89e3\u51b3\u4f9d\u8d56\u95ee\u9898\u3002<br \/>&#8220;`<br \/>sudo apt update<br \/>sudo apt install aptitude<br \/>sudo aptitude upgrade<br \/>sudo aptitude dist-upgrade<br \/>&#8220;`                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>kali \u4e0b apt upgrad&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/187169"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=187169"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/187169\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=187169"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=187169"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=187169"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}