
我的 yum 命令過去工作得很好,但是現在,當我嘗試使用它時,
它給了我一個錯誤:
file:///home/user/repo/repodata/repomd.xml: [Errno 14]
Could not open/read file:///home/user/repo/repodata/repomd.xml
我不知道該怎麼辦,請幫幫我。
答案1
/etc/yum.repos.d/ 中有一個或多個檔案指向file:///home/user/repo
基本路徑。刪除或更正這些文件就可以了。