{"id":3015,"date":"2022-02-16T21:49:21","date_gmt":"2022-02-16T13:49:21","guid":{"rendered":"https:\/\/blestic.com\/blog\/?p=3015"},"modified":"2022-02-25T10:49:40","modified_gmt":"2022-02-25T02:49:40","slug":"%e4%bb%8edebian10%e5%8d%87%e7%ba%a7%e5%88%b011","status":"publish","type":"post","link":"https:\/\/blestic.com\/blog\/archives\/3015","title":{"rendered":"\u4eceDebian10 \u5347\u7ea7\u5230 11"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/host.blestic.com\/file\/blogpic\/b98\/2022\/0216.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u4eceDebian 10 buster \u5347\u7ea7\u5230Debian 11 bulleye \u5176\u5b9e\u5f88\u7b80\u5355\u3002<br>\u9996\u5148\u786e\u4fdd\u4f60\u7684Debian10\u662f\u6700\u65b0\u7684\uff1a<em>apt update &amp;&amp; apt upgrade<\/em> <br>\u5e76\u5b89\u88c5\u53ef\u80fd\u9700\u8981\u7684\u4f9d\u8d56\uff1a<em>apt install gcc-8-base<\/em><\/p>\n\n\n\n<p>\u7b2c\u4e8c\u6b65\uff0c\u7f16\u8f91 sources.list\u6587\u4ef6\uff1a<em>vi \/etc\/apt\/sources.list<\/em><br>\u5728\u6240\u6709buster\u884c\u7684\u5f00\u5934\u52a0\u4e0a#\uff0c\u5e76\u5728\u672b\u5c3e\u6dfb\u52a0\u4ee5\u4e0b3\u884c\uff1a<br><em>deb http:\/\/deb.debian.org\/debian bullseye main<br>deb http:\/\/security.debian.org\/debian-security bullseye-security main<br>deb http:\/\/deb.debian.org\/debian bullseye-updates main<\/em><\/p>\n\n\n\n<p>\u6309Esc \u9000\u51fa\u7f16\u8f91\uff0c:wq \u4fdd\u5b58\uff0c\u7136\u540e\u9a8c\u8bc1\u4ed3\u5e93\u662f\u5426\u6210\u529f\u5730\u6dfb\u52a0\u4e86bullseye\uff1a<em>apt update<\/em><\/p>\n\n\n\n<p>\u7b2c\u4e09\u6b65\uff0c\u53ef\u4ee5\u653e\u5927\u62db\u4e86\uff1a<em>apt full-upgrade<\/em><br>\u5347\u7ea7\u8fc7\u7a0b\u9700\u8981\u4e00\u4e9b\u786e\u8ba4\uff0c\u4e00\u822c\u56de\u8f66\u9ed8\u8ba4\u5373\u53ef\u3002\u5b8c\u6210\u540e\uff0c\u91cd\u542f\u7cfb\u7edf\uff1a<em>systemctl reboot<\/em><\/p>\n\n\n\n<p>\u91cd\u542f\u540e\uff0c\u6e05\u7406\u4e0d\u5fc5\u8981\u7684\u8f6f\u4ef6\u5305\uff1a<em>apt autoremove<\/em><br>\u6700\u540e\u9a8c\u8bc1\u7248\u672cDebian 11 bullseye\uff1a<em>cat \/etc\/os-release<\/em><br>Done\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eceDebian 10 buster \u5347\u7ea7\u5230Debian 11 bulleye \u5176\u5b9e\u5f88\u7b80\u5355\u3002\u9996\u5148\u786e\u4fdd\u4f60\u7684Debian10\u662f\u6700\u65b0\u7684\uff1aapt update &amp;&amp; apt upgrade \u5e76\u5b89\u88c5\u53ef\u80fd\u9700\u8981\u7684\u4f9d\u8d56\uff1aapt install gcc-8-base \u7b2c\u4e8c\u6b65\uff0c\u7f16\u8f91 sources.list\u6587\u4ef6\uff1avi \/etc\/apt\/sources.list\u5728\u6240\u6709buster\u884c\u7684\u5f00\u5934\u52a0\u4e0a#\uff0c\u5e76\u5728\u672b\u5c3e\u6dfb\u52a0\u4ee5\u4e0b3\u884c\uff1adeb http:\/\/deb.debian.org\/debian bullseye maindeb http:\/\/security.debian.org\/debian-security bullseye-security maindeb http:\/\/deb.debian.org\/debian bullseye-updates main \u6309Esc \u9000\u51fa\u7f16\u8f91\uff0c:wq \u4fdd\u5b58\uff0c\u7136\u540e\u9a8c\u8bc1\u4ed3\u5e93\u662f\u5426\u6210\u529f\u5730\u6dfb\u52a0\u4e86bullseye\uff1aapt update &hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[37,9],"class_list":["post-3015","post","type-post","status-publish","format-standard","hentry","category-tech","tag-debian","tag-vps"],"_links":{"self":[{"href":"https:\/\/blestic.com\/blog\/wp-json\/wp\/v2\/posts\/3015","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blestic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blestic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blestic.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blestic.com\/blog\/wp-json\/wp\/v2\/comments?post=3015"}],"version-history":[{"count":0,"href":"https:\/\/blestic.com\/blog\/wp-json\/wp\/v2\/posts\/3015\/revisions"}],"wp:attachment":[{"href":"https:\/\/blestic.com\/blog\/wp-json\/wp\/v2\/media?parent=3015"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blestic.com\/blog\/wp-json\/wp\/v2\/categories?post=3015"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blestic.com\/blog\/wp-json\/wp\/v2\/tags?post=3015"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}