﻿{"id":8812,"date":"2021-08-07T08:14:26","date_gmt":"2021-08-07T00:14:26","guid":{"rendered":"https:\/\/www.linuxmi.com\/?p=8812"},"modified":"2021-08-07T08:14:55","modified_gmt":"2021-08-07T00:14:55","slug":"debian-10-update-debian11","status":"publish","type":"post","link":"https:\/\/www.linuxmi.com\/debian-10-update-debian11.html","title":{"rendered":"\u5982\u4f55\u4eceDebian 10 Buster\u5347\u7ea7\u5230Debian11 Bullseye Linux"},"content":{"rendered":"<p>\u5728\u672c\u6559\u7a0b\u4e2d\uff0c\u60a8\u5c06\u5b66\u4e60\u5982\u4f55\u4ece Debian 10 \u5347\u7ea7\u5230\u5373\u5c06\u53d1\u5e03\u7a33\u5b9a\u7248\u672c\u7684 Debian 11\u3002\u800c\u4e14\u4e00\u65e6\u7a33\u5b9a\u7248\u672c\u53d1\u5e03\uff0c\u4f60\u751a\u81f3\u53ef\u4ee5\u4f7f\u7528\u8fd9\u91cc\u7ed9\u51fa\u7684\u6b65\u9aa4\u6765\u5347\u7ea7Debian 10 Buster\u523011\u3002<\/p>\n<p>\u6211\u4eec\u8bd5\u56fe\u4f7f\u6559\u7a0b &#8211; \u5982\u4f55\u5c06 Debian 10 \u5347\u7ea7\u5230 Debian11 Bullseye Linux \u5c3d\u53ef\u80fd\u7b80\u5355\u3002 \u5728\u8fd9\u91cc\uff0c\u6211\u4eec\u53ea\u662f\u66f4\u6539\u4e86\u5b58\u50a8\u5e93\u4ee5\u6267\u884c\u5347\u7ea7\u8fc7\u7a0b\u3002 \u597d\u5427\uff0c\u5728\u5347\u7ea7\u60a8\u7684\u7cfb\u7edf\u4e4b\u524d\uff0c\u5f3a\u70c8\u5efa\u8bae\u60a8\u8fdb\u884c\u5b8c\u6574\u5907\u4efd\uff0c\u6216\u8005\u81f3\u5c11\u5907\u4efd\u60a8\u4e0d\u80fd\u4e22\u5931\u7684\u4efb\u4f55\u6570\u636e\u6216\u914d\u7f6e\u4fe1\u606f\u3002\u5c3d\u7ba1\u8be5\u8fc7\u7a0b\u975e\u5e38\u5b89\u5168\uff0c\u4f46\u9632\u6b62\u51fa\u73b0\u95ee\u9898\u65e0\u6cd5\u633d\u56de\u3002<\/p>\n<p>Debian 11 \u662f Debian \u7684\u6700\u65b0\u7248\u672c\uff08\u53d1\u5e03\u65e5\u671f\u89c1 <a href=\"https:\/\/www.linuxmi.com\/gnu-linux-debian-11-bullseye-faburiqi.html\" target=\"_blank\" rel=\"noopener\">https:\/\/www.linuxmi.com\/gnu-linux-debian-11-bullseye-faburiqi.html<\/a> \uff09\uff0c\u5b83\u5c06\u5305\u62ec\u9ad8\u7ea7\u8f6f\u4ef6\u5305\u548c\u5927\u91cf\u6539\u8fdb\u3002\u8bb8\u591a\u7528\u6237\u4f1a\u91cd\u65b0\u5b89\u88c5\u7cfb\u7edf\uff0c\u4f46\u6211\u4eec\u5c06\u4f9d\u9760 Debian \u7684\u5f3a\u5927\u529f\u80fd\u4ece APT \u8fdb\u884c\u5347\u7ea7\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8826\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2021\/08\/debian-11-3.png\" alt=\"\" width=\"1920\" height=\"1080\" \/><\/p>\n<p><strong>\u5c06 Debian 10 \u5347\u7ea7\u5230 Debian 11 \u7684\u8be6\u7ec6\u6559\u7a0b<\/strong><\/p>\n<p><strong>1\u3001\u7cfb\u7edf\u66f4\u65b0<\/strong><\/p>\n<p>\u6211\u4eec\u9700\u8981\u9075\u5faa\u7684\u7b2c\u4e00\u4ef6\u4e8b\u662f\u786e\u4fdd\u6240\u6709\u9884\u5b89\u88c5\u7684\u8f6f\u4ef6\u5305\u90fd\u662f\u6700\u65b0\u7684\uff0c\u5e76\u4e14\u5982\u679c\u6709\u4efb\u4f55\u5347\u7ea7\u53ef\u7528\uff0c\u5219\u5fc5\u987b\u5b89\u88c5\u5b83\u4eec\u3002 \u6253\u5f00\u60a8\u7684\u547d\u4ee4\u7ec8\u7aef\u5e76\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<p>linuxmi@linux:~\/www.linuxmi.com$ <span style=\"color: #ff0000;\">sudo apt update &amp;&amp; sudo apt upgrade<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8816\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2021\/08\/debian-10.4.0-11.png\" alt=\"\" width=\"1920\" height=\"1080\" \/><\/p>\n<p>\u6211\u4eec\u73b0\u5728\u5148\u68c0\u67e5\u4e0b\u7cfb\u7edf\u7684\u5f53\u524d\u7248\u672c\u3002<\/p>\n<p>linuxmi@linux:~\/www.linuxmi.com$\u00a0<span style=\"color: #ff0000;\">cat \/etc\/os-release<br \/>\n<\/span>PRETTY_NAME=&#8221;Debian GNU\/Linux 10 (buster)&#8221;<br \/>\nNAME=&#8221;Debian GNU\/Linux&#8221;<br \/>\nVERSION_ID=&#8221;10&#8243;<br \/>\nVERSION=&#8221;10 (buster)&#8221;<br \/>\nVERSION_CODENAME=buster<br \/>\nID=debian<br \/>\nHOME_URL=&#8221;https:\/\/www.debian.org\/&#8221;<br \/>\nSUPPORT_URL=&#8221;https:\/\/www.debian.org\/support&#8221;<br \/>\nBUG_REPORT_URL=&#8221;https:\/\/bugs.debian.org\/&#8221;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8817\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2021\/08\/debian-10.4.0.png\" alt=\"\" width=\"1920\" height=\"1080\" \/><\/p>\n<p><strong>2\u3001\u7528 Bullseye \u66ff\u6362 Buster \u5b58\u50a8\u5e93<\/strong><\/p>\n<p>\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u7f16\u8f91 Debian 10 \u7684\u6e90\u5217\u8868\u6587\u4ef6\uff0c\u5e76\u5c06\u73b0\u6709\u7684\u5b58\u50a8\u5e93\u5730\u5740\u66ff\u6362\u4e3a Debian 11 \u7684\u5730\u5740\uff1a<\/p>\n<p>linuxmi@linux:~\/www.linuxmi.com$ sudo nano \/etc\/apt\/sources.list<\/p>\n<p>\u901a\u8fc7\u5728\u6bcf\u4e2a repo \u94fe\u63a5\u524d\u6dfb\u52a0 # \u7b26\u53f7\u6765\u7981\u7528 Buster \u7684\u6240\u6709\u73b0\u6709\u6761\u76ee\u3002<\/p>\n<p>#deb http:\/\/deb.debian.org\/debian\/ buster main<br \/>\n#deb-src http:\/\/deb.debian.org\/debian\/ buster main<br \/>\n#deb https:\/\/mirrors.aliyun.com\/debian stable main contrib non-free<br \/>\n#deb https:\/\/mirrors.aliyun.com\/debian stable-updates main contrib non-free<\/p>\n<p>\u73b0\u5728\uff0c\u5728\u6587\u4ef6\u672b\u5c3e\uff0c\u590d\u5236\u7c98\u8d34\u4ee5\u4e0b URL \u5217\u8868\u3002<\/p>\n<p>deb http:\/\/mirrors.ustc.edu.cn\/debian bullseye main contrib non-free<br \/>\ndeb http:\/\/mirrors.ustc.edu.cn\/debian bullseye-updates main contrib non-free<\/p>\n<p>\u6309 Ctrl+X\u3001Y \u4fdd\u5b58\u6587\u4ef6\uff0c\u7136\u540e\u6309 Enter \u952e\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-8825 size-full\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2021\/08\/debian-11-12.png\" alt=\"\" width=\"905\" height=\"394\" \/><\/p>\n<p><strong>3\u3001\u8fd0\u884c\u7cfb\u7edf\u66f4\u65b0\u547d\u4ee4\uff1a<\/strong><\/p>\n<p>\u8981\u8ba9\u7cfb\u7edf\u8bc6\u522b\u65b0\u6dfb\u52a0\u7684\u5b58\u50a8\u5e93\u94fe\u63a5\uff0c\u8bf7\u8fd0\u884c\u7cfb\u7edf\u66f4\u65b0\u547d\u4ee4\uff1a<\/p>\n<p>linuxmi@linux:~\/www.linuxmi.com$ <span style=\"color: #ff0000;\">sudo apt update<\/span><\/p>\n<p>\u5982\u679c\u60a8\u5728\u66f4\u65b0\u4e4b\u540e\u6ca1\u6709\u5f97\u5230\u4efb\u4f55\u9519\u8bef\uff0c\u90a3\u4e48\u60a8\u53ef\u4ee5\u8fdb\u4e00\u6b65\u8fdb\u884c\u64cd\u4f5c\u3002<\/p>\n<p><strong>4\u3001\u5c06 Debian 10 \u5b8c\u5168\u5347\u7ea7\u5230 11 Linux \u7684\u547d\u4ee4<\/strong><\/p>\n<p>\u6700\u540e\uff0c\u8fd0\u884cupgrade \u547d\u4ee4\uff0c\u8be5\u547d\u4ee4\u5c06\u5347\u7ea7\u6240\u6709\u73b0\u6709\u8f6f\u4ef6\u5305\uff0c\u5c06\u65e7\u7684 Debian Buster \u7cfb\u7edf\u8f6c\u6362\u4e3a\u6700\u65b0\u7684 LTS Bullseye\u3002<\/p>\n<p>linuxmi@linux:~\/www.linuxmi.com$ <span style=\"color: #ff0000;\">sudo apt full-upgrade<\/span><\/p>\n<p>\u8fd9\u5c06\u6267\u884c\u7cfb\u7edf\u7684\u5b8c\u6574\u5347\u7ea7\uff0c\u5b89\u88c5\u6240\u6709\u8f6f\u4ef6\u5305\u7684\u6700\u65b0\u53ef\u7528\u7248\u672c\uff0c\u5e76\u89e3\u51b3\u4e0d\u540c\u7248\u672c\u4e2d\u8f6f\u4ef6\u5305\u4e4b\u95f4\u6240\u6709\u53ef\u80fd\u7684\u4f9d\u8d56\u5173\u7cfb\u66f4\u6539\u3002\u5982\u6709\u5fc5\u8981\uff0c\u5b83\u5c06\u5b89\u88c5\u4e00\u4e9b\u65b0\u5305\uff08\u901a\u5e38\u662f\u65b0\u7684\u5e93\u7248\u672c\uff0c\u6216\u91cd\u547d\u540d\u7684\u5305\uff09\uff0c\u5e76\u5220\u9664\u4efb\u4f55\u51b2\u7a81\u7684\u8fc7\u65f6\u5305\u3002<\/p>\n<p>\u5347\u7ea7\u8fc7\u7a0b\u4e2d\u4f1a\u63d0\u793a\uff1a\u8bf7\u9009\u62e9\u8fd9\u53f0\u673a\u5668\u952e\u76d8\u7684\u5e03\u5c40\uff0c\u5982\u4e0b\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8818\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2021\/08\/debian-10.4.0-2021.png\" alt=\"\" width=\"1920\" height=\"1080\" \/><\/p>\n<p>\u8fd8\u5c06\u63d0\u793a\uff1a<\/p>\n<p>\u60a8\u7684\u7cfb\u7edf\u4e0a\u6709\u4e00\u4e9b\u6b63\u5728\u8fd0\u884c\u7684\u670d\u52a1\u9700\u8981\u5728\u7279\u5b9a\u7684\u8f6f\u4ef6\u5e93\uff08\u5982 libpam\u3001libc\u3001libssl\uff09\u7684\u5347\u7ea7\u8fc7\u7a0b\u4e2d\u91cd\u65b0\u542f\u52a8\u3002\u56e0\u4e3a\u91cd\u65b0\u542f\u52a8\u8fd9\u4e9b\u670d\u52a1\u53ef\u80fd\u9020\u6210\u7cfb\u7edf\u529f\u80fd\u7684\u4e2d\u65ad\uff0c\u901a\u5e38\u60c5\u51b5\u4e0b\u60a8\u4f1a\u5728\u6bcf\u6b21\u5347\u7ea7\u65f6\u6536\u5230\u51b3\u5b9a\u662f\u5426\u91cd\u542f\u670d\u52a1\u7684\u63d0\u9192\u3002\u60a8\u4e5f\u53ef\u4ee5\u9009\u62e9\u672c\u9009\u9879\u4ee5\u907f\u514d\u6536\u5230\u63d0\u9192\uff1b\u5728\u6b64\u60c5\u51b5\u4e0b\uff0c\u6240\u6709\u5fc5\u9700\u7684\u670d\u52a1\u91cd\u542f\u5747\u4f1a\u81ea\u52a8\u8fdb\u884c\uff0c\u60a8\u4e5f\u4e0d\u4f1a\u5728\u5404\u4e2a\u5e93\u8fdb\u884c\u66f4\u65b0\u65f6\u6536\u5230\u8be2\u95ee\u3002<\/p>\n<p>\u662f\u5426\u5728\u8f6f\u4ef6\u5305\u5347\u7ea7\u8fc7\u7a0b\u4e2d\u4e0d\u7ecf\u8be2\u95ee\u76f4\u63a5\u91cd\u65b0\u542f\u52a8\u670d\u52a1\uff1f<\/p>\n<p>\u9009\u62e9<span style=\"color: #ff0000;\"><strong>\u662f<\/strong><\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8814\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2021\/08\/debian-10-11.png\" alt=\"\" width=\"1920\" height=\"1080\" \/><\/p>\n<p><strong>5\u3001\u91cd\u65b0\u542f\u52a8<\/strong><\/p>\n<p>\u5b8c\u6210Debian 10\u5347\u7ea7\u8fc7\u7a0b\u540e\uff0c\u8bf7\u91cd\u65b0\u542f\u52a8\u7cfb\u7edf\u3002<\/p>\n<p>linuxmi@linux:~\/www.linuxmi.com$ <span style=\"color: #ff0000;\">sudo reboot<\/span><\/p>\n<p><strong>6\u3001\u68c0\u67e5\u65b0\u7cfb\u7edf\u7248\u672c<\/strong><\/p>\n<p>\u73b0\u5728\uff0c\u8ba9\u6211\u4eec\u68c0\u67e5\u4e00\u4e0b\u6211\u4eec\u7cfb\u7edf\u4e0a\u73b0\u5728\u6709\u54ea\u4e2a\u7248\u672c\uff0c\u7528\u4e8e\u8fd0\u884c-<\/p>\n<p>linuxmi@linux:~\/www.linuxmi.com$ <span style=\"color: #ff0000;\">cat \/etc\/os-release<\/span><\/p>\n<p>\u60a8\u5c06\u770b\u5230\u5982\u4e0b\u8f93\u51fa\uff1a<\/p>\n<p>PRETTY_NAME=&#8221;Debian GNU\/Linux 11 (bullseye)&#8221;<br \/>\nNAME=&#8221;Debian GNU\/Linux&#8221;<br \/>\nVERSION_ID=&#8221;11&#8243;<br \/>\nVERSION=&#8221;11 (bullseye)&#8221;<br \/>\nVERSION_CODENAME=bullseye<br \/>\nID=debian<br \/>\nHOME_URL=&#8221;https:\/\/www.debian.org\/&#8221;<br \/>\nSUPPORT_URL=&#8221;https:\/\/www.debian.org\/support&#8221;<br \/>\nBUG_REPORT_URL=&#8221;https:\/\/bugs.debian.org\/&#8221;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8824\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2021\/08\/debian-11-2.png\" alt=\"\" width=\"957\" height=\"413\" \/><\/p>\n<p>\u6216\u8005\u4f7f\u7528Neofetch\u68c0\u67e5\u66f4\u6539\u3002<\/p>\n<p>linuxmi@linux:~\/www.linuxmi.com$ <span style=\"color: #ff0000;\">neofetch<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8821\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2021\/08\/debian-11-1.png\" alt=\"\" width=\"1920\" height=\"1080\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8820\" src=\"https:\/\/www.linuxmi.com\/wp-content\/uploads\/2021\/08\/debian-11.png\" alt=\"\" width=\"1920\" height=\"1080\" \/><\/p>\n<p><strong>\u603b\u7ed3<\/strong><\/p>\n<p>\u4ece Debian 10 \u5347\u7ea7\u5230 Debian 11 \u7684\u8fc7\u7a0b\u5e76\u4e0d\u590d\u6742\u3002\u4f46\u5b83\u603b\u662f\u4f1a\u5e26\u6765\u95ee\u9898\uff0c\u56e0\u6b64\u5efa\u8bae\u4e3a\u4efb\u4f55\u4e0d\u5e78\u7684\u60c5\u51b5\u505a\u597d\u51c6\u5907\u3002\u73b0\u5728\u4e00\u5207\u987a\u5229\uff0c\u53ef\u4ee5\u597d\u597d\u611f\u53d7\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u672c\u6559\u7a0b\u4e2d\uff0c\u60a8\u5c06\u5b66\u4e60\u5982\u4f55\u4ece Debian 10 \u5347\u7ea7\u5230\u5373\u5c06\u53d1\u5e03\u7a33\u5b9a\u7248\u672c\u7684 Debian 11\u3002\u800c\u4e14\u4e00 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[3],"tags":[61],"class_list":["post-8812","post","type-post","status-publish","format-standard","hentry","category-linux","tag-debian"],"aioseo_notices":[],"views":1481,"_links":{"self":[{"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/posts\/8812","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/comments?post=8812"}],"version-history":[{"count":7,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/posts\/8812\/revisions"}],"predecessor-version":[{"id":8860,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/posts\/8812\/revisions\/8860"}],"wp:attachment":[{"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/media?parent=8812"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/categories?post=8812"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxmi.com\/wp-json\/wp\/v2\/tags?post=8812"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}