Salem Masoud Asked: 2019-02-28 02:53:07 +0800 CST2019-02-28 02:53:07 +0800 CST 2019-02-28 02:53:07 +0800 CST 文件在 Centos 上不包含节标题 772 当我尝试安装 CMake 但编写以下内容时 sudo yum install cmake 我收到以下错误 File contains no section headers. file: file:///etc/yum.repos.d/mcepl-vim8-epel-7.repo, line: 2 '<!doctype html>\n yum centos 2 个回答 Voted Best Answer Salem Masoud 2019-05-28T06:33:47+08:002019-05-28T06:33:47+08:00 我解决了 rm /etc/yum.repos.d/mcepl-vim8-epel-7.repo Omid Estaji 2022-05-16T20:10:46+08:002022-05-16T20:10:46+08:00 作为更安全的解决方案,重命名该 repo 文件就足够了: # cd /etc/yum.repos.d/ # mv <repo_file>.repo <repo_file>.repo.orig
我解决了
作为更安全的解决方案,重命名该 repo 文件就足够了: