{"id":45,"date":"2023-02-12T23:23:05","date_gmt":"2023-02-12T15:23:05","guid":{"rendered":"https:\/\/vtab.net\/?p=45"},"modified":"2023-02-13T22:47:46","modified_gmt":"2023-02-13T14:47:46","slug":"debian%e7%89%88%e6%9c%ac%e5%8d%87%e7%ba%a7%e4%b8%8e%e5%88%a0%e9%99%a4%e6%97%a7%e5%86%85%e6%a0%b8","status":"publish","type":"post","link":"https:\/\/itoau.com\/?p=45","title":{"rendered":"Debian\u7248\u672c\u5347\u7ea7\u4e0e\u5220\u9664\u65e7\u5185\u6838"},"content":{"rendered":"<p>Debian\u5c0f\u7248\u672c\u5347\u7ea7\u5f88\u7b80\u5355<\/p>\n<p><strong>1\u3001\u67e5\u770b\u5f53\u524d\u7248\u672c\u4fe1\u606f<\/strong><\/p>\n<p>cat \/etc\/debian_version<\/p>\n<p>apt update<\/p>\n<p>apt upgrade<\/p>\n<p>\u53ef\u518d\u6b21\u67e5\u770b\u7248\u672c\u4fe1\u606f\uff0c\u5df2\u7ecf\u5347\u7ea7\u5230\u6700\u65b0\u7248\u672c\u4e86<\/p>\n<p>\u5c0f\u7248\u672c\u5347\u7ea7\u540e\u4f1a\u7559\u4e0b\u591a\u4e2a\u4e0d\u7528\u7684\u5185\u6838\uff0c\u53ef\u4ee5\u5220\u9664\u4ee5\u91ca\u653e\u78c1\u76d8\u7a7a\u95f4<\/p>\n<p><strong>2\u3001\u67e5\u770b\u6240\u6709\u5185\u6838\u4fe1\u606f<\/strong><\/p>\n<p>dpkg &#8211;get-selections | grep linux<\/p>\n<p><strong>3\u3001\u67e5\u770b\u5f53\u524d\u5185\u6838\u4fe1\u606f<\/strong><\/p>\n<p>uname -a<\/p>\n<p><strong>4\u3001\u5220\u9664\u4e0d\u7528\u7684\u65e7\u5185\u6838(\u901a\u5e38\u662f\u5e26image\u548c\u6570\u5b57\u7248\u672c\u7684\u6587\u4ef6\uff0c\u5343\u4e07\u522b\u5220\u9519)<\/strong><\/p>\n<p><span style=\"color: #993300;\"><strong>apt purge ****<\/strong><\/span><\/p>\n<p>apt autoclean<\/p>\n<p>\u7528purge\u662f\u8fde\u540c\u914d\u7f6e\u6587\u4ef6\u4e00\u8d77\u5220\u9664\uff0c\u6bd4\u8f83\u5f7b\u5e95\u4e14\u76f8\u5bf9\u5b89\u5168\uff0c\u4e0d\u8981\u7528autoremove\uff0cautoremove\u53ef\u80fd\u4f1a\u5220\u9664\u5176\u4ed6\u7a0b\u5e8f\u7684\u4f9d\u8d56\u6587\u4ef6\uff0c\u5bfc\u81f4\u7cfb\u7edf\u76f4\u63a5\u6302\u6389<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Debian\u5c0f\u7248\u672c\u5347\u7ea7\u5f88\u7b80\u5355 1\u3001\u67e5\u770b\u5f53\u524d\u7248\u672c\u4fe1\u606f cat \/etc\/debian_version apt u [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[4],"tags":[10,19,20],"class_list":["post-45","post","type-post","status-publish","format-standard","hentry","category-linux","tag-debian","tag-19","tag-20"],"_links":{"self":[{"href":"https:\/\/itoau.com\/index.php?rest_route=\/wp\/v2\/posts\/45","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itoau.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itoau.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itoau.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itoau.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=45"}],"version-history":[{"count":2,"href":"https:\/\/itoau.com\/index.php?rest_route=\/wp\/v2\/posts\/45\/revisions"}],"predecessor-version":[{"id":122,"href":"https:\/\/itoau.com\/index.php?rest_route=\/wp\/v2\/posts\/45\/revisions\/122"}],"wp:attachment":[{"href":"https:\/\/itoau.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=45"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itoau.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=45"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itoau.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=45"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}