{"id":9245,"date":"2020-04-14T23:35:02","date_gmt":"2020-04-14T15:35:02","guid":{"rendered":"http:\/\/bohu.net\/blog\/?p=9245"},"modified":"2020-08-29T01:12:35","modified_gmt":"2020-08-28T17:12:35","slug":"openeuler-20-03-lts-%e9%85%8d%e7%bd%aerepo%e6%9b%b4%e6%96%b0%e6%ba%90","status":"publish","type":"post","link":"https:\/\/www.bohu.net\/blog\/9245\/","title":{"rendered":"openEuler-20.03-LTS \u914d\u7f6erepo\u66f4\u65b0\u6e90"},"content":{"rendered":"\n<p>\u4eca\u5929\u4e0b\u8f7d\u4e86\u534e\u4e3a\u7684openEuler\u3002\u88c5\u5728\u7535\u8111\u865a\u62df\u673a\u91cc\u3002<\/p>\n\n\n\n<p>yum update \u53d1\u73b0\u6ca1\u6709\u914d\u7f6erepo\uff0c\u4e8e\u662f\u60f3\u628aRepo\u6e90\u6362\u6210\u534e\u4e3a\u7684\uff0c\u6309\u7167 \u534e\u4e3a\u4e91\u64cd\u4f5c <a href=\"https:\/\/mirrors.huaweicloud.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/mirrors.huaweicloud.com\/<\/a> <\/p>\n\n\n\n<p>\u5728\/etc\/yum.repos.d\u76ee\u5f55\u4e0b\uff0c\u521b\u5efa\u6587\u4ef6EulerOS.repo\uff0c\u8bbe\u7f6e\u4e3a <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;base]\nname=EulerOS-2.0SP5 base\nbaseurl=http:\/\/mirrors.huaweicloud.com\/euler\/2.5\/os\/x86_64\/\nenabled=1\ngpgcheck=1\ngpgkey=http:\/\/mirrors.huaweicloud.com\/euler\/2.5\/os\/RPM-GPG-KEY-EulerOS<\/code><\/pre>\n\n\n\n<p><span class=\"has-inline-color has-light-blue-color\"><strong>\u7136\u540eupdate\u3002\u663e\u793a\u51fa\u9519\uff1a<\/strong><\/span><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;root@Euler ~]# yum update\nLast metadata expiration check: 0:18:26 ago on 2020\u5e7404\u670814\u65e5 \u661f\u671f\u4e8c 22\u65f618\u520626\u79d2\nError:\n Problem 1: cannot install both perl-Compress-Raw-Zlib-1:2.061-4.x86_64 and perl\n  - package perl-IO-Compress-2.081-6.oe1.noarch requires perl(Compress::Raw::Zli\n  - cannot install the best update candidate for package perl-Compress-Raw-Zlib-\n  - problem with installed package perl-IO-Compress-2.081-6.oe1.noarch\n Problem 2: package perl-Time-HiRes-4:1.9725-3.x86_64 requires perl(:MODULE_COMP\n  - cannot install both perl-4:5.16.3-285.h2.x86_64 and perl-4:5.28.0-434.oe1.x8\n  - cannot install both perl-4:5.16.3-285.h4.x86_64 and perl-4:5.28.0-434.oe1.x8\n  - cannot install both perl-4:5.16.3-285.h3.x86_64 and perl-4:5.28.0-434.oe1.x8\n  - cannot install the best update candidate for package perl-Time-HiRes-1.9760-\n  - problem with installed package perl-4:5.28.0-434.oe1.x86_64\n Problem 3: package python-2.7.5-58.h13.x86_64 obsoletes python2 provided by pyt\n  - package python2-debug-2.7.16-15.oe1.x86_64 requires python2 = 2.7.16-15.oe1,\n  - cannot install the best update candidate for package python2-2.7.16-15.oe1.x\n  - problem with installed package python2-debug-2.7.16-15.oe1.x86_64\n Problem 4: package qemu-img-10:1.5.3-156.5.h2.x86_64 requires libiscsi.so.2()(6\n  - cannot install both libiscsi-1.9.0-6.x86_64 and libiscsi-1.18.0-6.oe1.x86_64\n  - cannot install the best update candidate for package qemu-img-2:4.0.1-11.oe1\n  - problem with installed package libiscsi-1.18.0-6.oe1.x86_64\n Problem 5: package python2-debug-2.7.16-15.oe1.x86_64 requires python2-devel =\n  - package python2-2.7.16-15.oe1.x86_64 requires libpython2.7_d.so.1.0()(64bit)\n  - package python-devel-2.7.5-58.h13.x86_64 obsoletes python2-devel provided by\n  - package python2-tkinter-2.7.16-15.oe1.x86_64 requires python2 = 2.7.16-15.oe\n  - cannot install the best update candidate for package python2-devel-2.7.16-15\n  - problem with installed package python2-tkinter-2.7.16-15.oe1.x86_64\n(try to add '--allowerasing' to command line to replace conflicting packages or<\/code><\/pre>\n\n\n\n<p>\u5982\u4e0a\u9762\u6240\u793a\uff0cupdate \u603b\u662f\u51fa\u9519\u3002 <\/p>\n\n\n\n<p>\u7136\u540e\u6362\u6210 EulerOS-2.0SP3 base \uff0cSP2\uff0cSP1 \u90fd\u662f\u4f9d\u7136\u51fa\u9519\u3002<\/p>\n\n\n\n<p>\u6700\u540e\u5728 \u6587\u6863\u7684 \u201c\u7cfb\u7edf\u5b89\u88c5\u201d\u4e2d\u627e\u5230\u4e00\u4e2a <a href=\"http:\/\/repo.openeuler.org\/openEuler-20.03-LTS\/\">repo\u6e90<\/a> \u7684\u94fe\u63a5\uff1a<a rel=\"noreferrer noopener\" href=\"https:\/\/openeuler.org\/zh\/docs\/20.03_LTS\/docs\/Releasenotes\/%E7%B3%BB%E7%BB%9F%E5%AE%89%E8%A3%85.html\" target=\"_blank\">https:\/\/openeuler.org\/zh\/docs\/20.03_LTS\/docs\/Releasenotes\/%E7%B3%BB%E7%BB%9F%E5%AE%89%E8%A3%85.html<\/a><\/p>\n\n\n\n<p>\u6b63\u786e\u7684repo\u6e90\u5730\u5740\u662f\uff1a<a rel=\"noreferrer noopener\" href=\"http:\/\/repo.openeuler.org\/openEuler-20.03-LTS\/OS\/x86_64\/\" target=\"_blank\">http:\/\/repo.openeuler.org\/openEuler-20.03-LTS\/OS\/x86_64\/<\/a><\/p>\n\n\n\n<p><strong>\/etc\/yum.repos.d\/EulerOS.repo \u914d\u7f6e\u4e3a\uff1a<\/strong><\/p>\n\n\n\n<p><span class=\"has-inline-color has-bright-red-color\">[base]<br>name=openEuler-20.03-LTS base<br>baseurl=https:\/\/repo.openeuler.org\/openEuler-20.03-LTS\/OS\/x86_64\/<br>enabled=1<br>gpgcheck=1<br>gpgkey=https:\/\/repo.openeuler.org\/openEuler-20.03-LTS\/OS\/x86_64\/RPM-GPG-KEY-openEuler<\/span><\/p>\n\n\n\n<p>\u4e4b\u540e\u518d\u6b21update\u6210\u529f\uff01<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>yum clean all\nyum makecache\nyum update\n\nopenEuler-20.03-LTS base                                                                                                                                                            36 kB\/s | 2.7 MB     01:18\nLast metadata expiration check: 0:00:56 ago on 2020\u5e7404\u670814\u65e5 \u661f\u671f\u4e8c 23\u65f617\u520646\u79d2.\nDependencies resolved.\nNothing to do.\nComplete!<\/code><\/pre>\n\n\n\n<p>\u539f\u56e0\u5728\u4e8e\uff1a openEuler \u4e0e \u534e\u4e3a\u4e91\u4e2d\u7684 EulerOS \u662f\u4e24\u4e2a\u4e0d\u540c\u7684\u53d1\u884c\u7248\u672c!!!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>openEuler-20.03-LTS \u66f4\u65b0\u51fa\u9519<br \/>\n\u4fee\u6539\u914d\u7f6erepo\u66f4\u65b0\u6e90<br \/>\n openEuler \u4e0e \u534e\u4e3a\u4e91\u4e2d\u7684 EulerOS \u4e0d\u662f\u540c\u4e00\u4e2a\u53d1\u884c\u7248\u672c\uff1f\uff1f<\/p>\n","protected":false},"author":1,"featured_media":9246,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,29],"tags":[653,654,655,656,390],"class_list":["post-9245","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-29","tag-euleros","tag-huawei","tag-openeuler","tag-repo","tag-update"],"_links":{"self":[{"href":"https:\/\/www.bohu.net\/blog\/wp-json\/wp\/v2\/posts\/9245","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bohu.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bohu.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bohu.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bohu.net\/blog\/wp-json\/wp\/v2\/comments?post=9245"}],"version-history":[{"count":0,"href":"https:\/\/www.bohu.net\/blog\/wp-json\/wp\/v2\/posts\/9245\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.bohu.net\/blog\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/www.bohu.net\/blog\/wp-json\/wp\/v2\/media?parent=9245"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bohu.net\/blog\/wp-json\/wp\/v2\/categories?post=9245"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bohu.net\/blog\/wp-json\/wp\/v2\/tags?post=9245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}