When executing the installation instruction using the yum command, File contains no Section Headers. File: file:///etc/yum.repos.d/
The reason is that there is no yum source configured in the configuration,
Solutions:
Method 1: Configure yum source and modify the /etc/yum.repos. D/cenos-base.repo file
Method 2: Delete the original file and download it again
Delete the original file RM-f /etc/yum.repos. D/cenos-base.repo
To download, wget -o/etc/yum repos. D/CentOS – Base. ‘http://mirrors.aliyun.com/repo/Centos-7.repo
Clean up the cache of Yum Clean All
The reason is that there is no yum source configured in the configuration,
Solutions:
Method 1: Configure yum source and modify the /etc/yum.repos. D/cenos-base.repo file
Method 2: Delete the original file and download it again
Delete the original file RM-f /etc/yum.repos. D/cenos-base.repo
To download, wget -o/etc/yum repos. D/CentOS – Base. ‘http://mirrors.aliyun.com/repo/Centos-7.repo
Clean up the cache of Yum Clean All
Read More:
- Error in header file when calling OpenGL to open obj file in vs2013: unable to open include file: “GL / glut. H”: no such file or directories
- N: Ignoring file ’50unattended-upgrades.ucf-dist’ in directory ‘/etc/apt/apt.conf.d/’ as it has an i
- Solution of header file StdAfx. H “no such file or directory” in Visual Studio
- ImportError: libcudnn.so.7: cannot open shared object file: No such file or directory
- Problem solving: importerror: libcublas.so .9.0: cannot open shared object file: No such file
- #During OpenGL development, fatal error C1083: can’t open include file: “GL / glut. H”: no such file or directory
- Cannot open include file: ‘io.h‘: No such file or directory
- Importerror of [docker] error: libGL.so .1: cannot open shared object file: No such file or directory
- Solution to error opening trace file: no such file or directory (2) in Android
- Win10 vs 2017 prompt cannot open include file: “windows. H”: no such file or director
- No code, a solution to the error in the path of reading CSV file by Python: filenotfounderror: [errno 2] no such file or directory: ‘XX. CSV‘
- In VS2010, the compiler cannot open the file “GL / glaux. H”: no such file or directory
- When Python Django creates a database, can’t open file ‘ manage.py ‘: [Errno 2] No such file or directory
- VS2010 compiler can’t open include file: “GL / glaux. H”: no such file or directory
- Ubuntu 64 prompts bash: no such file or directory file exists
- OSError: libnccl.so.2: cannot open shared object file: No such file or directory
- Error = 2, no such file or director is prompted in the lower left corner of the MAC pycharm running file
- Solve syntax error: unexpected end of file or /bin/bash^m: bad interpeneter: no match file or directory
- Vs fatal error C1083: unable to open include file: “sys / socket. H”: no such file
- error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file o