{"id":1523,"date":"2022-03-07T16:26:18","date_gmt":"2022-03-07T13:26:18","guid":{"rendered":"https:\/\/virtirio.com\/blog\/?p=1523"},"modified":"2025-03-19T16:27:56","modified_gmt":"2025-03-19T13:27:56","slug":"failed-to-download-metadata","status":"publish","type":"post","link":"https:\/\/virtirio.com\/blog\/uk\/failed-to-download-metadata\/","title":{"rendered":"Failed to download metadata for repo &#8216;AppStream&#8217; \u0443 CentOS 8"},"content":{"rendered":"<p>\u041f\u0456\u0441\u043b\u044f \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f CentOS 8 \u0437 \u0432\u0438\u0445\u0456\u0434\u043d\u0438\u0445 ISO-\u043e\u0431\u0440\u0430\u0437\u0456\u0432 \u043c\u043e\u0436\u0435 \u0441\u043f\u043e\u0441\u0442\u0435\u0440\u0456\u0433\u0430\u0442\u0438\u0441\u044f \u043f\u043e\u043c\u0438\u043b\u043a\u0430 <em>Failed to download metadata for repo &#8216;AppStream&#8217;<\/em>\u00a0 \u043f\u0440\u0438 \u0440\u043e\u0431\u043e\u0442\u0456 \u0437 \u043f\u0430\u043a\u0435\u0442\u043d\u0438\u043c \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u043e\u043c yum, \u044f\u043a\u0430 \u0432\u0438\u043d\u0438\u043a\u0430\u0454 \u043f\u0440\u0438 \u0437\u0430\u043f\u0438\u0442\u0456 \u0441\u043f\u0438\u0441\u043a\u0443 \u0434\u0437\u0435\u0440\u043a\u0430\u043b \u0434\u043b\u044f \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f \u043f\u0430\u043a\u0435\u0442\u0456\u0432.<!--more--><\/p>\n<p>\u0414\u0430\u043d\u0430 \u043f\u043e\u043c\u0438\u043b\u043a\u0430 \u043c\u0430\u0454 \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0438\u0439 \u0432\u0438\u0433\u043b\u044f\u0434:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">[root@server ~]# yum update -y\r\nCentOS-8 - AppStream        1.4 kB\/s |  38  B     00:00\r\nFailed to download metadata for repo 'AppStream'\r\nError: Failed to download metadata for repo 'AppStream'<\/pre>\n<p>\u0414\u043b\u044f \u0443\u0441\u0443\u043d\u0435\u043d\u043d\u044f \u0434\u0430\u043d\u043e\u0457 \u043f\u043e\u043c\u0438\u043b\u043a\u0438 \u0441\u043b\u0456\u0434 \u0437\u043c\u0456\u043d\u0438\u0442\u0438 \u0430\u0434\u0440\u0435\u0441\u0443, \u0437 \u044f\u043a\u043e\u0457 \u0432\u0456\u0434\u0431\u0443\u0432\u0430\u0454\u0442\u044c\u0441\u044f \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0456\u0457\u0432 \u0442\u0430 \u043f\u043e\u0448\u0443\u043a \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u0438\u0445 \u0432\u0435\u0440\u0441\u0456\u0439 \u043f\u0430\u043a\u0435\u0442\u0456\u0432. \u0417\u0430 \u0437\u0430\u043c\u043e\u0432\u0447\u0443\u0432\u0430\u043d\u043d\u044f\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0437\u0434\u0456\u0439\u0441\u043d\u044e\u0454 \u043f\u043e\u0448\u0443\u043a \u043d\u0430\u0439\u0431\u043b\u0438\u0436\u0447\u043e\u0433\u043e \u0434\u0437\u0435\u0440\u043a\u0430\u043b\u0430 \u0434\u043b\u044f \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f, \u043e\u0434\u043d\u0430\u043a \u043c\u0438 \u0437\u043c\u0456\u043d\u0438\u043c\u043e \u0430\u0434\u0440\u0435\u0441\u0443 \u043d\u0430 \u0441\u0442\u0430\u0442\u0438\u0447\u043d\u0443, \u0432\u0438\u043a\u043e\u043d\u0430\u0432\u0448\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">sed -i 's\/mirrorlist\/#mirrorlist\/g' \/etc\/yum.repos.d\/CentOS-*\r\nsed -i 's|#baseurl=http:\/\/mirror.centos.org|baseurl=http:\/\/vault.centos.org|g' \/etc\/yum.repos.d\/CentOS-*<\/pre>\n<p>\u0422\u0435\u043f\u0435\u0440 \u0432\u0438\u043a\u043e\u043d\u0443\u0454\u043c\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">yum update -y<\/pre>\n<p>\u042f\u043a \u0431\u0430\u0447\u0438\u043c\u043e, \u043f\u043e\u0447\u0430\u043b\u043e\u0441\u044f \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f \u0442\u0430 \u043e\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f \u043f\u0430\u043a\u0435\u0442\u0456\u0432, \u043f\u0440\u043e\u0442\u0435 \u043d\u0430 \u0446\u044c\u043e\u043c\u0443 \u0449\u0435 \u043d\u0435 \u0432\u0441\u0435.<\/p>\n<p>\u041f\u0456\u0434 \u0447\u0430\u0441 \u0432\u0438\u043a\u043e\u043d\u0430\u043d\u043d\u044f <em>yum update<\/em> \u043e\u043d\u043e\u0432\u043b\u044e\u0454\u0442\u044c\u0441\u044f \u0456 \u0441\u0430\u043c \u043f\u0430\u043a\u0435\u0442\u043d\u0438\u0439 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 <em>yum<\/em>, \u0430 \u0432\u0438\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0456 \u0444\u0430\u0439\u043b\u0438 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u044c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0456\u0457\u0432 \u0437\u0430\u043c\u0456\u043d\u044e\u044e\u0442\u044c\u0441\u044f \u043d\u0430 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f \u0437\u0430 \u0437\u0430\u043c\u043e\u0432\u0447\u0443\u0432\u0430\u043d\u043d\u044f\u043c. \u0422\u0430\u043a\u0438\u043c \u0447\u0438\u043d\u043e\u043c, \u043c\u0438 \u043f\u043e\u0432\u0438\u043d\u043d\u0456 \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e \u0432\u0438\u043f\u0440\u0430\u0432\u0438\u0442\u0438 \u0430\u0434\u0440\u0435\u0441\u0438, \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0432\u0448\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u0438:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">sed -i 's\/mirrorlist\/#mirrorlist\/g' \/etc\/yum.repos.d\/CentOS-*\r\nsed -i 's|#baseurl=http:\/\/mirror.centos.org|baseurl=http:\/\/vault.centos.org|g' \/etc\/yum.repos.d\/CentOS-*<\/pre>\n<p>\u0422\u0435\u043f\u0435\u0440 \u043c\u043e\u0436\u043d\u0430 \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0430\u0442\u0438 \u0434\u043e \u0440\u043e\u0431\u043e\u0442\u0438 \u0437 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c, \u0456 \u0432 \u043c\u0430\u0439\u0431\u0443\u0442\u043d\u044c\u043e\u043c\u0443 \u0434\u0430\u043d\u0430 \u043f\u043e\u043c\u0438\u043b\u043a\u0430 \u043d\u0435 \u043f\u043e\u0432\u0438\u043d\u043d\u0430 \u043f\u043e\u0432\u0442\u043e\u0440\u044e\u0432\u0430\u0442\u0438\u0441\u044f!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u0456\u0441\u043b\u044f \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f CentOS 8 \u0437 \u0432\u0438\u0445\u0456\u0434\u043d\u0438\u0445 ISO-\u043e\u0431\u0440\u0430\u0437\u0456\u0432 \u043c\u043e\u0436\u0435 \u0441\u043f\u043e\u0441\u0442\u0435\u0440\u0456\u0433\u0430\u0442\u0438\u0441\u044f \u043f\u043e\u043c\u0438\u043b\u043a\u0430 Failed to download metadata for repo &#8216;AppStream&#8217;\u00a0 \u043f\u0440\u0438 \u0440\u043e\u0431\u043e\u0442\u0456 \u0437 \u043f\u0430\u043a\u0435\u0442\u043d\u0438\u043c \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u043e\u043c yum, \u044f\u043a\u0430 \u0432\u0438\u043d\u0438\u043a\u0430\u0454&#8230;<\/p>\n","protected":false},"author":1,"featured_media":538,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[50],"tags":[],"class_list":["post-1523","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-50"],"_links":{"self":[{"href":"https:\/\/virtirio.com\/blog\/wp-json\/wp\/v2\/posts\/1523","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/virtirio.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/virtirio.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/virtirio.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/virtirio.com\/blog\/wp-json\/wp\/v2\/comments?post=1523"}],"version-history":[{"count":2,"href":"https:\/\/virtirio.com\/blog\/wp-json\/wp\/v2\/posts\/1523\/revisions"}],"predecessor-version":[{"id":1525,"href":"https:\/\/virtirio.com\/blog\/wp-json\/wp\/v2\/posts\/1523\/revisions\/1525"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/virtirio.com\/blog\/wp-json\/wp\/v2\/media\/538"}],"wp:attachment":[{"href":"https:\/\/virtirio.com\/blog\/wp-json\/wp\/v2\/media?parent=1523"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/virtirio.com\/blog\/wp-json\/wp\/v2\/categories?post=1523"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/virtirio.com\/blog\/wp-json\/wp\/v2\/tags?post=1523"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}