2016-12-02 75 views
0

我面對這個問題:元數據文件不匹配校驗,而正在做的 - 百勝更新甲骨文的Linux:元數據文件不匹配校驗

我跟着這個環節中的每一步,但還沒有失敗:

我甚至嘗試了以下

  • 百勝乾淨元
  • 將在/etc/yum.conf中的文件這一行 - http_caching =無

的這一切似乎工作。

我收到以下錯誤,同時更新

# yum update 
    Loaded plugins: refresh-packagekit, security, ulninfo 
    Setting up Update Process 
    cloudera-cdh5                                 | 951 B  00:00  
    cloudera-cdh5/primary                               | 43 kB  00:00  
    cloudera-cdh5                                     146/146 
    cloudera-manager                                 | 951 B  00:00  
    cloudera-manager/primary                               | 4.1 kB  00:00  
    cloudera-manager                                     7/7 
    public_ol6_UEKR4                                 | 1.2 kB  00:00  
    public_ol6_UEKR4/primary                               | 1.9 kB  00:00  
    http://yum.oracle.com/repo/OracleLinux/OL6/UEKR4/x86_64/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum 
    Trying other mirror. 
    public_ol6_UEKR4/primary                               | 1.9 kB  00:00  
    http://yum.oracle.com/repo/OracleLinux/OL6/UEKR4/x86_64/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum 
    Trying other mirror. 
    Error: failure: repodata/primary.xml.gz from public_ol6_UEKR4: [Errno 256] No more mirrors to try. 

回答

1

解決方法,使其工作是清理你的yum的緩存。

# yum clean all