程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式師世界 >> 編程語言 >  >> 更多編程語言 >> Python

Centos7 arm64 schema switching Python version causes Yum invalidation recovery method and reinstallation of Yum

編輯:Python

1. If the following error occurs

modify yum file

vim /usr/bin/yum

python It is amended as follows 2 edition

2.arm64 reinstall yum

Install after uninstall

rpm -qa|grep yum|xargs rpm -e --nodeps

Download the package

http://mirror.centos.org/altarch/7/os/aarch64/Packages/

​
wget http://mirror.centos.org/altarch/7/os/aarch64/Packages/yum-3.4.3-168.el7.centos.noarch.rpm
wget http://mirror.centos.org/altarch/7/os/aarch64/Packages/yum-langpacks-0.4.2-7.el7.noarch.rpm
wget http://mirror.centos.org/altarch/7/os/aarch64/Packages/yum-metadata-parser-1.1.4-10.el7.aarch64.rpm
wegt http://mirror.centos.org/altarch/7/os/aarch64/Packages/yum-plugin-fastestmirror-1.1.31-54.el7_8.noarch.rpm
​

install

rpm -ivh --force --nodeps *.rpm
Inquire about

rpm -qa|grep yum

 

 


  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式師世界 All Rights Reserved