{"id":838,"date":"2021-12-24T12:35:45","date_gmt":"2021-12-24T03:35:45","guid":{"rendered":"https:\/\/blog.wsd.sh\/?p=838"},"modified":"2021-12-24T20:30:46","modified_gmt":"2021-12-24T11:30:46","slug":"centos-linux-8-%e3%81%8b%e3%82%89-centos-stream-8-%e3%81%b8%e3%81%ae%e7%a7%bb%e8%a1%8c","status":"publish","type":"post","link":"https:\/\/blog.wsd.sh\/?p=838","title":{"rendered":"<small>CentOS Linux 8 \u304b\u3089 CentOS Stream 8 \u3078\u306e\u79fb\u884c<\/small>"},"content":{"rendered":"<p>\uff11\uff0ednf update -y<\/p>\n<pre>\r\n# dnf update -y\r\n\uff1a\r\nComplete!\r\n# cat \/etc\/redhat-release\r\nCentOS Linux release 8.5.2111\r\n#\r\n<\/pre>\n<p>\uff12\uff0ednf install centos-release-stream<br \/>\nError\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u3067\u308b\u3002<br \/>\n(try to add &#8216;&#8211;allowerasing&#8217; to command line to replace conflicting packages or &#8216;&#8211;skip-broken&#8217; to skip uninstallable packages or &#8216;&#8211;nobest&#8217; to use not only best candidate packages)<\/p>\n<pre>\r\n# dnf install centos-release-stream\r\nLast metadata expiration check: 0:12:44 ago on Fri 24 Dec 2021 12:01:26 PM JST.\r\nDependencies resolved.\r\n================================================================================\r\n Package                   Arch       Version                  Repository  Size\r\n================================================================================\r\nInstalling:\r\n centos-release-stream     x86_64     8.1-1.1911.0.7.el8       extras      11 k\r\n\r\nTransaction Summary\r\n================================================================================\r\nInstall  1 Package\r\n\r\nTotal download size: 11 k\r\nInstalled size: 6.6 k\r\nIs this ok [y\/N]: y\r\nDownloading Packages:\r\ncentos-release-stream-8.1-1.1911.0.7.el8.x86_64 2.1 kB\/s |  11 kB     00:05\r\n--------------------------------------------------------------------------------\r\nTotal                                           1.0 kB\/s |  11 kB     00:10\r\nRunning transaction check\r\nTransaction check succeeded.\r\nRunning transaction test\r\nTransaction test succeeded.\r\nRunning transaction\r\n  Preparing        :                                                        1\/1\r\n  Installing       : centos-release-stream-8.1-1.1911.0.7.el8.x86_64        1\/1\r\n  Verifying        : centos-release-stream-8.1-1.1911.0.7.el8.x86_64        1\/1\r\nInstalled products updated.\r\n\r\nInstalled:\r\n  centos-release-stream-8.1-1.1911.0.7.el8.x86_64\r\n\r\nComplete!\r\n[root@localhost ~]# dnf distro-sync\r\nCentOS-Stream - AppStream                       1.0 MB\/s |  18 MB     00:17\r\nCentOS-Stream - Base                            950 kB\/s |  16 MB     00:16\r\nCentOS-Stream - Extras                          1.0 kB\/s |  16 kB     00:15\r\nLast metadata expiration check: 0:00:01 ago on Fri 24 Dec 2021 12:15:58 PM JST.\r\nError:\r\n Problem 1: package centos-stream-release-8.6-1.el8.noarch requires centos-stream-repos, but none of the providers can be installed\r\n  - package centos-linux-repos-8-3.el8.noarch conflicts with centos-repos(8) provided by centos-stream-repos-8-3.el8.noarch\r\n  - package centos-stream-repos-8-3.el8.noarch conflicts with centos-repos(8) provided by centos-linux-repos-8-3.el8.noarch\r\n  - package centos-linux-repos-8-3.el8.noarch conflicts with centos-repos(8) provided by centos-stream-repos-8-2.el8.noarch\r\n  - package centos-stream-repos-8-2.el8.noarch conflicts with centos-repos(8) provided by centos-linux-repos-8-3.el8.noarch\r\n  - cannot install the best update candidate for package centos-linux-repos-8-3.el8.noarch\r\n  - cannot install the best update candidate for package centos-linux-release-8.5-1.2111.el8.noarch\r\n Problem 2: package centos-stream-release-8.6-1.el8.noarch requires centos-stream-repos, but none of the providers can be installed\r\n  - package centos-linux-repos-8-3.el8.noarch conflicts with centos-repos(8) provided by centos-stream-repos-8-3.el8.noarch\r\n  - package centos-stream-repos-8-3.el8.noarch conflicts with centos-repos(8) provided by centos-linux-repos-8-3.el8.noarch\r\n  - problem with installed package centos-linux-repos-8-3.el8.noarch\r\n  - package centos-stream-repos-8-2.el8.noarch requires centos-gpg-keys = 1:8-2.el8, but none of the providers can be installed\r\n  - cannot install both centos-gpg-keys-1:8-2.el8.noarch and centos-gpg-keys-1:8-3.el8.noarch\r\n  - cannot install the best update candidate for package centos-release-stream-8.1-1.1911.0.7.el8.x86_64\r\n  - cannot install the best update candidate for package centos-gpg-keys-1:8-3.el8.noarch\r\n(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)\r\n# cat \/etc\/redhat-release\r\nCentOS Linux release 8.5.2111\r\n#\r\n<\/pre>\n<p>\uff13\uff0ednf distro-sync &#8211;allowerasing &#8211;nobest<br \/>\nor\u306b\u306a\u3063\u3066\u3044\u308b\u304c\u3001 &#8211;allowerasing &#8211;nobest\u3067\u518d\u5ea6distro-sync\u3092\u3084\u3063\u3066\u307f\u308b\u3002<\/p>\n<pre>\r\n# dnf distro-sync --allowerasing --nobest\r\n\uff1a\r\nInstalled:\r\n  centos-stream-release-8.5-2.el8.noarch  glibc-gconv-extra-2.28-174.el8.x86_64\r\n\r\nComplete!\r\n# cat \/etc\/redhat-release\r\nCentOS Stream release 8\r\n#\r\n<\/pre>\n<p>\uff14\uff0e\u3061\u306a\u307f\u306b\u3001\u78ba\u8a8d\u3057\u305f\u74b0\u5883\u3067\u306f\u4ee5\u4e0b\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u8ffd\u52a0\u3068\u5ec3\u6b62\u306b\u306a\u3063\u3066\u3044\u305f\u3002<br \/>\nInstalling       : centos-stream-release-8.5-2.el8.noarch<br \/>\nInstalling       : glibc-gconv-extra-2.28-174.el8.x86_64<\/p>\n<p>Obsoleting       : centos-release-stream-8.1-1.1911.0.7.el8.x86_64<br \/>\nObsoleting       : centos-linux-release-8.5-1.2111.el8.noarch <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uff11\uff0ednf update -y # dnf update -y \uff1a Complete! # cat \/etc\/redhat-release CentOS Linux release 8.5.2111 # \uff12\uff0ednf in&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/posts\/838"}],"collection":[{"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=838"}],"version-history":[{"count":15,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/posts\/838\/revisions"}],"predecessor-version":[{"id":840,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=\/wp\/v2\/posts\/838\/revisions\/840"}],"wp:attachment":[{"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=838"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=838"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.wsd.sh\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=838"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}