{"id":1553,"date":"2022-09-19T14:33:27","date_gmt":"2022-09-19T06:33:27","guid":{"rendered":"https:\/\/yowlab.idv.tw\/wordpress\/?p=1553"},"modified":"2024-04-18T17:55:36","modified_gmt":"2024-04-18T09:55:36","slug":"freebsd-%e7%b7%9a%e4%b8%8a%e6%9b%b4%e6%96%b0","status":"publish","type":"post","link":"https:\/\/yowlab.idv.tw\/wordpress\/?p=1553","title":{"rendered":"FreeBSD \u7dda\u4e0a\u66f4\u65b0"},"content":{"rendered":"<p>\u7531\u65bc FreeBSD \u7684\u7248\u672c\u63a7\u5236\u4f5c\u7684\u5f88\u597d\uff0c\u56e0\u6b64\u7dda\u4e0a\u66f4\u65b0\u7684\u65b9\u6cd5\uff0c\u4e5f\u5f88\u7c21\u55ae\u3002<\/p>\n<style type=\"text\/css\">\n    li.present01 {line-height:1.5em; background-color:#F5E5C9; padding:5px; border-radius:10px; font-weight:bold; margin:5px;}\n    li.present02 {line-height:1.5em; background-color:#D1EC87; padding:5px; border-radius:10px; font-weight:bold; margin:5px;}\n    li.present03 {line-height:1.5em; background-color:#b3dffa; padding:5px; border-radius:10px; font-weight:bold; margin:5px;}\n    li.present04 {line-height:1.5em; background-color:#FDF6FF; padding:10px; border-radius:10px; font-weight:bold; margin:5px;}\n    ol.lower-alpha {list-style-type:lower-alpha;}\n    ol.lower-roman {list-style-type:lower-roman;}\n    ul.none {list-style-type:none;line-height:1.5em; padding:10px;}\n    ul.note {line-height:1.5em; padding:10px;}\n    .highlight01 {font-weight:bold; line-height:1.5em; background-color:#e7f49c; padding:0px 2px; border:1px; border-radius:10px;}\n    .highlight02 {font-weight:bold; line-height:1.5em; background-color:#F2F26B; padding:1px 1px; border:1px;}\n    .highlight03 {font-weight:bold; line-height:1.5em; background-color:#F9BF72; padding:3px 10px; border:2px; border-radius:10px;}\n   .box01 {margin: 5px; border:1px #19130B solid; border-radius:5px; padding:10px;}\n    .box02 {margin: 5px; font-weight:bold; line-height:1.5em; padding:10px; border:1px #19130B solid; border-radius:5px; float: left;}\n    h3 {border:2px #000 solid; border-width:0px 0px 1px 0px; padding-width:0px 0px 3px 0px;}\n<\/style>\n<p>\u4f8b\u5982\uff0c\u6709\u4e00\u90e8\u6a5f\u5668\u60f3\u8981\u5347\u7d1a\u5230\u76ee\u524d\u6700\u65b0\u7248\u672c\uff0c\u53ef\u662f\u4e0d\u592a\u6e05\u695a\u76ee\u524d\u6700\u65b0\u7248\u672c\u70ba\u4f55\uff1f<\/p>\n<p>\u6b64\u6642\u4fbf\u53ef\u4ee5\u76f4\u63a5\u9023\u5230 FreeBSD \u5b98\u7db2\uff1a<a href=\"https:\/\/www.freebsd.org\/\">https:\/\/www.freebsd.org\/<\/a> \uff0c\u4fbf\u53ef\u4ee5\u770b\u5230\u76ee\u524d\u6700\u65b0\u7248\u70ba 13.1 \u7248\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/yowlab.idv.tw\/wordpress\/wp-content\/uploads\/2022\/09\/Screenshot_20220919_140241.png\" alt=\"\" \/><\/p>\n<ol>\n<li>\n<p>\u78ba\u5b9a\u7248\u672c\u4e4b\u5f8c\uff0c\u4f9d\u6b21\u8f38\u5165\u547d\u4ee4\uff1a<br \/>\n\/usr\/sbin\/freebsd-update upgrade -r 13.1-RELEASE<br \/>\n\u6b64\u6642\u7cfb\u7d71\u4fbf\u6703\u958b\u59cb\u9032\u884c\u7cfb\u7d71\u6a94\u6848\u6293\u53d6\u8207\u66f4\u65b0\u52d5\u4f5c\uff0c\u53ea\u8981\u6309\u7167\u87a2\u5e55\u6307\u793a\u8d70\uff0c\u5927\u81f4\u4e0a\u4fbf\u4e0d\u6703\u6709\u554f\u984c\u3002<\/p>\n<\/li>\n<li>\n<p>\u4e0a\u500b\u52d5\u4f5c\u5b8c\u6210\u4e4b\u5f8c\uff0c\u9032\u884c\u7b2c\u4e00\u6b21 \/usr\/sbin\/freebsd-update install\u3002<\/p>\n<\/li>\n<li>\n<p>\u7136\u5f8c\uff0c\u91cd\u65b0\u958b\u6a5f\u4e00\u6b21\uff0c\u518d\u9032\u884c\u4e00\u6b21 \/usr\/sbin\/freebsd-update install\u3002<\/p>\n<\/li>\n<li>\n<p>\u7b49\u5230\u7cfb\u7d71\u66f4\u65b0\u5b8c\u6210\u4e4b\u5f8c\uff0c\u53ef\u4ee5\u518d\u4f5c\u4e00\u6b21\u5957\u4ef6\u66f4\u65b0\u3002<br \/>\npkg update -f ; pkg upgrade -y &amp;&amp; freebsd-update fetch ; freebsd-update install<\/p>\n<\/li>\n<\/ol>\n<p>\u7b49\u5230\u7cfb\u7d71\u8dd1\u5b8c\u4e4b\u5f8c\uff0c\u4fbf\u300c\u6253\u5b8c\u6536\u5de5\u300d\uff01<\/p>\n<h3>2014-04-18 \u65b0\u589e<\/h3>\n<p>\u7cfb\u7d71\u66f4\u65b0\u81f3 14.0 \uff0c\u5728\u91cd\u65b0\u958b\u6a5f\uff0c\u9996\u6b21\u6b32\u9032\u884c\u5957\u4ef6\u66f4\u65b0\u6642\uff1apkg update -y \uff0c<br \/>\n\u51fa\u73fe\u932f\u8aa4\u8a0a\u606f\uff1a<span class=\"highlight01\">ld-elf.so.1: Shared object &#8220;libssl.so.111&#8221; not found, required by &#8220;pkg&#8221; <\/span><br \/>\n\u7136\u5f8c\u6574\u500b pkg \u52d5\u4f5c\u505c\u4e86\u4e0b\u4f86\u3002<\/p>\n<div class=\"box01\">\n\u89e3\u6c7a\u65b9\u6cd5\uff1a<\/p>\n<ol>\n<li class=\"present01\">pkg-static bootstrap -f<\/li>\n<p>\u91cd\u5efa pkg \u8cc7\u6599\u5eab\u3002<\/p>\n<li class=\"present01\">pkg-upgrade -f<\/li>\n<p>\u518d\u5f37\u8feb\u6293\u56de\u5957\u4ef6\u5eab\u8cc7\u6599\uff0c\u4ee5\u4fbf\u723e\u5f8c\u9032\u884c\u5957\u4ef6\u66f4\u65b0\u3002<\/p>\n<\/ol>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u7531\u65bc FreeBSD \u7684\u7248\u672c\u63a7\u5236\u4f5c\u7684\u5f88\u597d\uff0c\u56e0\u6b64\u7dda\u4e0a\u66f4\u65b0\u7684\u65b9\u6cd5\uff0c\u4e5f\u5f88\u7c21\u55ae\u3002 \u4f8b\u5982\uff0c\u6709 <a class=\"more-link\" href=\"https:\/\/yowlab.idv.tw\/wordpress\/?p=1553\">Continue reading <span class=\"screen-reader-text\">  FreeBSD \u7dda\u4e0a\u66f4\u65b0<\/span><span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[66],"class_list":["post-1553","post","type-post","status-publish","format-standard","hentry","category-3","tag-freebsd"],"_links":{"self":[{"href":"https:\/\/yowlab.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1553","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yowlab.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yowlab.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yowlab.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/yowlab.idv.tw\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1553"}],"version-history":[{"count":9,"href":"https:\/\/yowlab.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1553\/revisions"}],"predecessor-version":[{"id":2408,"href":"https:\/\/yowlab.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1553\/revisions\/2408"}],"wp:attachment":[{"href":"https:\/\/yowlab.idv.tw\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1553"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yowlab.idv.tw\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1553"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yowlab.idv.tw\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1553"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}