2016-12-02 58 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