{"id":1249,"date":"2022-03-16T00:31:40","date_gmt":"2022-03-15T16:31:40","guid":{"rendered":"http:\/\/www.tra56.com\/?p=1249"},"modified":"2022-03-16T00:31:40","modified_gmt":"2022-03-15T16:31:40","slug":"1249","status":"publish","type":"post","link":"https:\/\/www.tra56.com\/1249.html","title":{"rendered":"\u7531\u4e8ecentos8 2022\u5e74\u505c\u6b62\u670d\u52a1\uff0c\u963f\u91cc\u4e91centos8 yum\u62a5\u9519\uff0cyum \u5b89\u88c5 mysql \u62a5\u9519\uff0c\u89e3\u51b3\u529e\u6cd5\uff1a"},"content":{"rendered":"

\u963f\u91cc\u4e91 'AppStream': Cannot download repomd.xml: Cannot download repodata\/repomd.xml<\/p>\n

\u963f\u91cc\u4e91 'everything': Cannot download repomd.xml: Cannot download repodata\/repomd.xml<\/p>\n

\u963f\u91cc\u4e91yum\u5b89\u88c5\u8f6f\u4ef6\u62a5\u9519<\/p>\n

\u6545\u969c\u539f\u56e0\uff1a\u7531\u4e8ecenos8\u505c\u670d\uff0c\u540e\u7ee7\u7248\u672c\u4e3a8-steam.<\/p>\n

\u67e5\u770b\u963f\u91cc\u4e91\u4e0a\u7684https:\/\/mirrors.aliyun.com\/centos\/8  \u53d1\u73b0\u6587\u4ef6\u5df2\u7ecf\u4e0d\u5b8c\u6574\uff0c\u6211\u76f4\u63a5\u628a8\u66f4\u6362\u4e3a\u4e868-stream <\/p>\n

\u5220\u9664\u6216\u79fb\u8d70\/etc\/yum.repos.d\u5185\u7684CentOS-AppStream.repo\uff0cCentOS-epel.repo<\/p>\n

\u7f16\u8f91\/etc\/yum.repos.d\/CentOS-Base.repo \u66ff\u6362\u4e3a\u4ee5\u4e0b\u5185\u5bb9\uff0c<\/p>\n

# CentOS-Base.repo\r\n#\r\n# The mirror system uses the connecting IP address of the client and the\r\n# update status of each mirror to pick mirrors that are updated to and\r\n# geographically close to the client.  You should use this for CentOS updates\r\n# unless you are manually picking other mirrors.\r\n#\r\n# If the mirrorlist= does not work for you, as a fall back you can try the\r\n# remarked out baseurl= line instead.\r\n#\r\n#\r\n  \r\n[base]\r\nname=CentOS-8-stream - Base - mirrors.aliyun.com\r\nfailovermethod=priority\r\nbaseurl=https:\/\/mirrors.aliyun.com\/centos\/8-stream\/BaseOS\/$basearch\/os\/\r\ngpgcheck=1\r\ngpgkey=https:\/\/mirrors.aliyun.com\/centos\/RPM-GPG-KEY-CentOS-Official\r\n  \r\n#additional packages that may be useful\r\n[extras]\r\nname=CentOS-8-stream - Extras - mirrors.aliyun.com\r\nfailovermethod=priority\r\nbaseurl=https:\/\/mirrors.aliyun.com\/centos\/8-stream\/extras\/$basearch\/os\/\r\ngpgcheck=1\r\ngpgkey=https:\/\/mirrors.aliyun.com\/centos\/RPM-GPG-KEY-CentOS-Official\r\n  \r\n#additional packages that extend functionality of existing packages\r\n[centosplus]\r\nname=CentOS-8-stream - Plus - mirrors.aliyun.com\r\nfailovermethod=priority\r\nbaseurl=https:\/\/mirrors.aliyun.com\/centos\/8-stream\/centosplus\/$basearch\/os\/\r\ngpgcheck=1\r\nenabled=0\r\ngpgkey=https:\/\/mirrors.aliyun.com\/centos\/RPM-GPG-KEY-CentOS-Official\r\n  \r\n[PowerTools]\r\nname=CentOS-8-stream - PowerTools - mirrors.aliyun.com\r\nfailovermethod=priority\r\nbaseurl=https:\/\/mirrors.aliyun.com\/centos\/8-stream\/PowerTools\/$basearch\/os\/\r\ngpgcheck=1\r\nenabled=0\r\ngpgkey=https:\/\/mirrors.aliyun.com\/centos\/RPM-GPG-KEY-CentOS-Official\r\n \r\n \r\n[AppStream]\r\nname=CentOS-8-stream - AppStream - mirrors.aliyun.com\r\nfailovermethod=priority\r\nbaseurl=https:\/\/mirrors.aliyun.com\/centos\/8-stream\/AppStream\/$basearch\/os\/\r\ngpgcheck=1\r\ngpgkey=https:\/\/mirrors.aliyun.com\/centos\/RPM-GPG-KEY-CentOS-Official<\/pre>\n

\u7136\u540e\u6267\u884c<\/p>\n

yum clean all<\/p>\n

yum makecache<\/p>\n

\u4f1a\u53d1\u73b0\u95ee\u9898\u5df2\u7ecf\u89e3\u51b3\uff0ccentos8  \u66ff\u6362\u6210centos8-steam\u540e\uff0c\u5bf9\u7cfb\u7edf\u7684\u5f71\u54cd\u8fd8\u4e0d\u77e5\u9053\uff0c\u6682\u65f6\u95ee\u9898\u89e3\u51b3\uff0c\u53ef\u4ee5\u987a\u5229yum\u5b89\u88c5mysql\u7b49\u8f6f\u4ef6<\/p>\n

<\/p>\n","protected":false},"excerpt":{"rendered":"

\u963f\u91cc\u4e91 'AppStream': Cannot download repomd.xml: Ca […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-1249","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.tra56.com\/wp-json\/wp\/v2\/posts\/1249"}],"collection":[{"href":"https:\/\/www.tra56.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tra56.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tra56.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tra56.com\/wp-json\/wp\/v2\/comments?post=1249"}],"version-history":[{"count":1,"href":"https:\/\/www.tra56.com\/wp-json\/wp\/v2\/posts\/1249\/revisions"}],"predecessor-version":[{"id":1250,"href":"https:\/\/www.tra56.com\/wp-json\/wp\/v2\/posts\/1249\/revisions\/1250"}],"wp:attachment":[{"href":"https:\/\/www.tra56.com\/wp-json\/wp\/v2\/media?parent=1249"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tra56.com\/wp-json\/wp\/v2\/categories?post=1249"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tra56.com\/wp-json\/wp\/v2\/tags?post=1249"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}