Yesterday, we encountered a problem. CentOS 7 reported an error using the yum installation command
yum install unzip zip
yum install unzip zip
Error reporting
Baidu error reporting is probably due to the image problem. To use the alicloud image
modification command, first backup CentOS- Base.repo , rename it
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
Then download the image
centos7:
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
And then you see, there’s a new CentOS- Base.repo
Just clear the yum cache and regenerate it
yum clera
yum makecache
When the cache is regenerated, it will run for a while. When the cache is generated and no error is reported, you can download it using yum
Read More:
- Alicloud CentOS 5 old version yum/ repomd.xml : [Errno 14] HTTP Error 404: Not Found
- Error: nothing to do in centos7’s Yum installation
- CentOS uses Yum install to report errors
- Centos7 Yum error downloading packages:
- Yum installation error Error:Nothing to Do
- File contains no section headers. File: File: / / etc/ yum.repos .d/
- Centos8 Install Failed to synchronize cache for repo ‘AppStream’, ignoring this repo.
- Cannot find module ‘.. / lib / utils / unsupported. JS’ problem in installing node in centos7
- Linux uses open source Yum to report error performing checksums
- Error in installing MySQL devel for CentOS MySQL
- The solution of centos7 in VMware virtual machine unable to access after installing nginx
- The problem of “value error: zero length field name in format” in Python 2.6.6 of CentOS 6.9
- Centos7’s solution to ping in VMWare
- Error in installing centos8.3: DFN error: error in postrans scriptlet in RPM package kernel core
- Problems and solutions of error reporting in using swiper in Vue
- yum error in PREUN scriptlet when removing packages
- Solution to redis error in CentOS of idea connected virtual machine
- Error reporting – the project directly introduces the error reporting and solution of. SCSS file
- Error reporting using selenium in pycharm
- In many cases, the problem of error reporting by label in latex