{"id":116,"date":"2009-09-15T02:32:01","date_gmt":"2009-09-15T02:32:01","guid":{"rendered":"http:\/\/kumouse.aafox.com\/?p=116"},"modified":"2009-09-15T02:32:01","modified_gmt":"2009-09-15T02:32:01","slug":"centos-5-3-x64-yum-update%e6%97%b6%e5%87%ba%e7%8e%b0%e9%97%ae%e9%a2%98-%e4%b8%8e-%e8%a7%a3%e5%86%b3%e5%8a%9e%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.kumouse.com\/?p=116","title":{"rendered":"CentOS 5.3 X64 yum update\u65f6\u51fa\u73b0\u95ee\u9898 \u4e0e \u89e3\u51b3\u529e\u6cd5"},"content":{"rendered":"<p>\u5728yum update\u65f6\u51fa\u73b0\u5982\u4e0b\u9519\u8bef<\/p>\n<blockquote><p>&#8211;&gt; Processing Conflict: python-devel conflicts python &lt; 2.4.3-24.el5_3.6<br \/>&#8211;&gt; Finished Dependency Resolution<br \/>python-devel-2.4.3-24.el5_3.6.i386 from update has depsolving problems<br \/>  &#8211;&gt; python-devel conflicts with python<br \/>Error: python-devel conflicts with python<\/p><\/blockquote>\n<p>\u5728\u7f51\u4e0a\u67e5\u627e\u5404\u79cd\u65b9\u6cd5\uff1a<br \/>\u5927\u90e8\u5206\u8bf4\u662fpython-devel2.43\u4e0e2.44\u540c\u65f6\u5b89\u88c5\u7684\u7ed3\u679c\uff0c\u53ef\u662f\u6211\u7684\u4e0d\u4e00\u6837<\/p>\n<blockquote><p>[root@centos images]# yum list installed python python-devel<br \/>Loaded plugins: fastestmirror<br \/>Installed Packages<br \/>python.x86_64                          2.4.3-24.el5                    installed<br \/>python-devel.i386                      2.4.3-24.el5                    installed<br \/>python-devel.x86_64                    2.4.3-24.el5                    installed<\/p><\/blockquote>\n<p>\u770b\u662fpython-devel.i386  \u4e0epython-devel.x86_64\u540c\u65f6\u5b89\u88c5\u4e86\uff0c\u4e00\u4e2a\u662f32\u4f4d\u7684\u4e00\u4e2a\u662f64\u4f4d\u7684\uff0c\u5220\u966432\u4f4d\u7684\uff0c\u6211\u7cfb\u7edf\u662fX64\u7684<\/p>\n<blockquote><p>[root@centos images]# rpm -e python-devel.i386<\/p><\/blockquote>\n<p>\u5220\u9664\u540e\u518d\u6765\u770b\u770b<\/p>\n<blockquote><p>[root@centos images]# yum list installed python python-devel<br \/>Loaded plugins: fastestmirror<br \/>Installed Packages<br \/>python.x86_64                          2.4.3-24.el5                    installed<br \/>python-devel.x86_64                    2.4.3-24.el5                    installed<\/p><\/blockquote>\n<p>\u73b0\u5728\u770b\u6765\u662f\u6b63\u5e38\u4e86\uff0c\u518d\u5347\u7ea7\u770b\u770b<\/p>\n<blockquote><p>[root@centos images]# yum update<br \/>Transaction Summary<br \/>=====================================================<br \/>Install      9 Package(s)         <br \/>Update      57 Package(s)         <br \/>Remove       0 Package(s)         <\/p>\n<p>Total download size: 129 M<br \/>Is this ok [y\/N]: n<br \/>Exiting on user Command<br \/>Complete!<\/p><\/blockquote>\n<p>\u4e00\u5207\u6b63\u5e38\u4e86<br \/>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\u53d1\u73b0\uff0c\u5982\u679c\u66f4\u65b0\u6e90\u9009\u62e9\u7684\u4e0d\u5bf9\u4e5f\u4f1a\u51fa\u73b0\u6b64\u95ee\u9898<br \/>\u6bd4\u5982X64\u7684\u7cfb\u7edf\u7528i386\u7684\u6e90<br \/>\u5148\u628a\u6e90\u7684\u914d\u7f6e\u641e\u6b63\u786e<br \/>\/etc\/yum.repos.d\/CentOS-Base.repo<\/p>\n<blockquote><p>[base]<br \/>name=CentOS-5 &#8211; Base<br \/>#mirrorlist=http&#58;\/\/mirrorlist.centos.org\/?release=$releasever5&#038;arch=$basearch&#038;repo=os<br \/>#baseurl=http&#58;\/\/mirror.centos.org\/centos\/$releasever\/os\/$basearch\/<br \/>baseurl=http&#58;\/\/ftp.sjtu.edu.cn\/centos\/5.3\/os\/$basearch\/<br \/>gpgcheck=1<br \/>gpgkey=http&#58;\/\/mirror.centos.org\/centos\/RPM-GPG-KEY-centos5<\/p>\n<p>#released updates<br \/>[update]<br \/>name=CentOS-5 &#8211; Updates<br \/>#mirrorlist=http&#58;\/\/mirrorlist.centos.org\/?release=4&#038;arch=$basearch&#038;repo=updates<br \/>baseurl=http&#58;\/\/ftp.sjtu.edu.cn\/centos\/5.3\/updates\/$basearch\/<br \/>gpgcheck=1<br \/>gpgkey=http&#58;\/\/mirror.centos.org\/centos\/RPM-GPG-KEY-centos5<\/p>\n<p>#packages used\/produced in the build but not released<br \/>[addons]<br \/>name=CentOS-5 &#8211; Addons<br \/>#mirrorlist=http&#58;\/\/mirrorlist.centos.org\/?release=4&#038;arch=$basearch&#038;repo=addons<\/p>\n<p>baseurl=http&#58;\/\/ftp.sjtu.edu.cn\/centos\/5.3\/addons\/$basearch\/<br \/>gpgcheck=1<br \/>gpgkey=http&#58;\/\/mirror.centos.org\/centos\/RPM-GPG-KEY-centos5<\/p>\n<p>#additional packages that may be useful<br \/>[extras]<br \/>name=CentOS-5 &#8211; Extras<br \/>#mirrorlist=http&#58;\/\/mirrorlist.centos.org\/?release=4&#038;arch=$basearch&#038;repo=extras<\/p>\n<p>baseurl=http&#58;\/\/ftp.sjtu.edu.cn\/centos\/5.3\/extras\/$basearch\/<br \/>gpgcheck=1<br \/>gpgkey=http&#58;\/\/mirror.centos.org\/centos\/RPM-GPG-KEY-centos5<\/p>\n<p>#additional packages that extend functionality of existing packages<br \/>[centosplus]<br \/>name=CentOS-5 &#8211; Plus<br \/>#mirrorlist=http&#58;\/\/mirrorlist.centos.org\/?release=4&#038;arch=$basearch&#038;repo=centosplus<br \/>baseurl=http&#58;\/\/ftp.sjtu.edu.cn\/centos\/5.3\/centosplus\/$basearch\/<br \/>gpgcheck=1<br \/>enabled=0<br \/>gpgkey=http&#58;\/\/mirror.centos.org\/centos\/RPM-GPG-KEY-centos5<\/p>\n<p>#contrib &#8211; packages by Centos Users<br \/>[contrib]<br \/>name=CentOS-5 &#8211; Contrib<br \/>#mirrorlist=http&#58;\/\/mirrorlist.centos.org\/?release=4&#038;arch=$basearch&#038;repo=contrib<br \/>baseurl=http&#58;\/\/ftp.sjtu.edu.cn\/centos\/5.3\/contrib\/$basearch\/<br \/>gpgcheck=1<br \/>enabled=0<br \/>gpgkey=http&#58;\/\/mirror.centos.org\/centos\/RPM-GPG-KEY-centos5<\/p><\/blockquote>\n<p>\u518d\u6e05\u4e00\u4e0b\u7f13\u5b58<br \/>yum clean all<br \/>\u518d\u5347\u7ea7\u4e00\u4e0b\uff0c\u770b\u770b\uff0c\u5e94\u8be5\u6ca1\u95ee\u9898\u4e86\u5427<br \/>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\u5982\u679c\u51fa\u73b0<br \/> Metadata file does not match checksum<br \/>\u8fd0\u884c<br \/>yum clean all<br \/>\u5c31\u53ef\u4ee5\u4e86<\/p>\n<p>\u5148\u8fd9\u6837\u4e86\uff0c\u54ce\uff0c\u4eca\u5929\u9047\u5230\u7684\u95ee\u9898\u597d\u591a\u5440 [cry]<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\u5f53\u5347\u7ea7\u4e00\u534a\u800c\u5f3a\u884c\u4e2d\u65ad\u540e<br \/>\u518d\u89c1\u5347\u7ea7\u53ef\u80fd\u4f1a\u51fa\u73b0\u4f9d\u8d56\u95ee\u9898\uff0c\u4f7f\u7528<br \/> package-cleanup &#8211;problems<br \/>\u628a\u5217\u51fa\u7684\u5305\u5378\u8f7d\uff0c\u7136\u540e\u518d\u5347\u7ea7\uff0c\u5c31\u597d\u4e86<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728yum update\u65f6\u51fa\u73b0\u5982\u4e0b\u9519\u8bef &#8211;&gt; Processing Conflict: pyt [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-116","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.kumouse.com\/index.php?rest_route=\/wp\/v2\/posts\/116","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kumouse.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kumouse.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kumouse.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kumouse.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=116"}],"version-history":[{"count":0,"href":"https:\/\/www.kumouse.com\/index.php?rest_route=\/wp\/v2\/posts\/116\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.kumouse.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=116"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kumouse.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=116"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kumouse.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=116"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}