yum repomd.xml: [Errno -1]

由於根分區容量不夠,將vsftp默認匿名用戶目錄/var/ftp/pub 軟鏈接到/sdb/yum下的yum下,結果一直導致下面錯誤

解決方法是修改/etc/vsftpd/vsftpd.conf

添加字段 anon_root=/sdb/yum   ---> 將匿名用戶默認家目錄改爲現有yum源目錄
 

 

錯誤:[root@localhost ~]# yum update
Loading "security" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
debuginfo                                                          0 B 00:00
ftp://192.168.1.105/pub/Server/repodata/repomd.xml: [Errno -1] Error importing repomd.xml for debuginfo: Damaged repomd.xml file
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: debuginfo. Please verify its path and try again
FTP用的是VSFTP。

系統:REHL 5.4

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章