{"id":1554,"date":"2022-03-29T11:13:55","date_gmt":"2022-03-29T03:13:55","guid":{"rendered":"http:\/\/www.dxQerp.cn\/?p=1554"},"modified":"2022-04-11T09:54:06","modified_gmt":"2022-04-11T01:54:06","slug":"repo-appstream-%e4%b8%8b%e8%bd%bd%e5%85%83%e6%95%b0%e6%8d%ae%e5%a4%b1%e8%b4%a5","status":"publish","type":"post","link":"http:\/\/www.dxQerp.cn\/?p=1554","title":{"rendered":"repo &#8216;appstream&#8217; \u4e0b\u8f7d\u5143\u6570\u636e\u5931\u8d25"},"content":{"rendered":"\n<p>2022\/02-\/27 \u57f7\u884c&nbsp; <span style=\"color: #800000;\"><strong>dnf info ca-certificates<\/strong><\/span><\/p>\n\n\n\n<p>\u51fa\u73fe \u4e0b\u5217\u932f\u8aa4<\/p>\n\n\n\n<p><span style=\"color: #ff0000;\">CentOS Linux 8 &#8211; AppStream 61 B\/s | 38 B 00:00<\/span> <span style=\"color: #ff0000;\">\u9519\u8bef\uff1a\u4e3a repo &#8216;appstream&#8217; \u4e0b\u8f7d\u5143\u6570\u636e\u5931\u8d25 : Cannot prepare internal mirrorlist: N o URLs in mirrorlist<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"1012\" height=\"468\" src=\"http:\/\/www.dxQerp.cn\/wp-content\/uploads\/2022\/04\/repo_appstream.png\" alt=\"\" class=\"wp-image-1560\" srcset=\"http:\/\/www.dxQerp.cn\/wp-content\/uploads\/2022\/04\/repo_appstream.png 1012w, http:\/\/www.dxQerp.cn\/wp-content\/uploads\/2022\/04\/repo_appstream-300x139.png 300w, http:\/\/www.dxQerp.cn\/wp-content\/uploads\/2022\/04\/repo_appstream-768x355.png 768w\" sizes=\"(max-width: 1012px) 100vw, 1012px\" \/><\/figure>\n\n\n\n<p>\u7d93\u904e 24\u5c0f\u6642\u7684\u6392\u67e5 \u7d42\u65bc\u767c\u73fe\u539f\u56e0\u4e86..<\/p>\n\n\n\n<h2 class=\"header__page__title\">CentOS Linux \u505c\u7522<\/h2>\n\n\n\n<pre class=\"wp-block-preformatted header__page__title\"><a href=\"https:\/\/www.centos.org\/centos-linux-eol\/\">https:\/\/www.centos.org\/centos-linux-eol\/<\/a><\/pre>\n\n\n\n<p>\u5509~&nbsp; \u5929\u554a !&nbsp; <span class=\"has-inline-color has-vivid-red-color\"><strong>\u6240\u4ee5 dnf \u8207 yum&nbsp; \u9023\u7d50<\/strong><\/span>\u7684\u93e1\u50cf\u934a,&nbsp; \u901a\u901a \u65b7\u6389\u9023\u7d50\u4e86..<\/p>\n\n\n\n<p><strong>\u600e\u9ebc\u8fa6\u5594 !<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p><strong><span class=\"has-inline-color has-vivid-red-color\">\u5929\u7121\u7d55\u4eba\u4e4b\u8def \u9019\u88e1\u6709\u89e3\u6c7a\u65b9\u6848<\/span><\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/stackoverflow.com\/questions\/70963985\/error-failed-to-download-metadata-for-repo-appstream-cannot-prepare-internal\/71020440#71020440\">https:\/\/stackoverflow.com\/questions\/70963985\/error-failed-to-download-metadata-for-repo-appstream-cannot-prepare-internal\/71020440#71020440<\/a><\/p>\n\n\n\n<p>\u5982\u679c\u60a8\u9084\u6c92\u6709\u5b83\uff0c wget &#8216;http:\/\/mirror.centos.org\/centos\/8-stream\/BaseOS\/x86_64\/os\/Packages\/centos-gpg-keys-8-3.el8.noarch.rpm&#8217;<\/p>\n\n\n\n<p>\u60a8\u5c07\u9700\u8981 gpg \u5bc6\u9470\uff1a sudo rpm -i &#8216;centos-gpg-keys-8-3.el8.noarch.rpm&#8217;<\/p>\n\n\n\n<p>dnf &#8211;disablerepo &#8216;*&#8217; &#8211;enablerepo=extras swap centos-linux-repos centos-stream-repos<\/p>\n\n\n\n<p>\u5225\u64d4\u5fc3\u2014\u2014\u5b83\u4e0d\u6703\u522a\u9664\u4efb\u4f55\u5b58\u5132\u5eab\uff0c\u5b83\u53ea\u662f\u66ab\u6642\u5ffd\u7565\u60a8\u7684\u6240\u6709\u5b58\u5132\u5eab\uff0c\u4e26\u4e0b\u8f09\u6709\u95dc\u65b0\u93e1\u50cf\u7684\u4fe1\u606f\u3002<\/p>\n\n\n\n<p>\u6b64\u6642\u60a8\u53ef\u80fd\u60f3\u8981\u5be6\u969b\u5347\u7d1a\u60a8\u7684\u8edf\u4ef6\u5305\uff1a dnf distro-sync<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p><a href=\"https:\/\/v.youku.com\/v_show\/id_XNTg1NTMxODg1Mg==.html\">\u9023\u7d50\u8996 \u983b (\u4f18\u9177\u7db2<\/a>)<\/p>\n\n\n\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>2022\/02-\/27 \u57f7\u884c&nbsp; dnf info ca-certificates \u51fa\u73fe \u4e0b\u5217\u932f\u8aa4 C [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1560,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[33],"tags":[],"jetpack_featured_media_url":"http:\/\/www.dxQerp.cn\/wp-content\/uploads\/2022\/04\/repo_appstream.png","_links":{"self":[{"href":"http:\/\/www.dxQerp.cn\/index.php?rest_route=\/wp\/v2\/posts\/1554"}],"collection":[{"href":"http:\/\/www.dxQerp.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.dxQerp.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.dxQerp.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.dxQerp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1554"}],"version-history":[{"count":4,"href":"http:\/\/www.dxQerp.cn\/index.php?rest_route=\/wp\/v2\/posts\/1554\/revisions"}],"predecessor-version":[{"id":1561,"href":"http:\/\/www.dxQerp.cn\/index.php?rest_route=\/wp\/v2\/posts\/1554\/revisions\/1561"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.dxQerp.cn\/index.php?rest_route=\/wp\/v2\/media\/1560"}],"wp:attachment":[{"href":"http:\/\/www.dxQerp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1554"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.dxQerp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1554"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.dxQerp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1554"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}