yum安装报错

yum安装出现这种情况

Loaded plugins: langpacks, versionlock


File contains no section headers.
file: file:///etc/yum.repos.d/nginx.repo, line: 1
'nx-stable]\n'

切换:cd etc/yum.repos.d/

vim nginx.repo  检查错误i

posted @ 2019-09-29 21:17  老鲜肉  阅读(484)  评论(0编辑  收藏  举报