Re: Yum Keeps Giving Error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 03 Mar 2008 20:23:32 +0530, Abhishek Rane wrote:

> I have tried cleaning the metadata but the prob still exists. Any help? 
> is it due to my slow connection??
> 
> 
> [Abhishek@localhost ~]$ sudo yum clean metadata
> Loading "fastestmirror" plugin
> 9 metadata files removed
> [Abhishek@localhost ~]$ sudo yum clean metadata
> Loading "fastestmirror" plugin
> 0 metadata files removed
> [Abhishek@localhost ~]$ sudo yum install picasa
> Loading "fastestmirror" plugin
> Loading mirror speeds from cached hostfile
> google                    100% |=========================|  951 B    
> 00:00    
> primary.xml.gz            100% |=========================| 1.6 kB    
> 00:00    
> livna                     100% |=========================| 2.1 kB    
> 00:00    
> primary.sqlite.bz2        100% |=========================| 267 kB    
> 00:38    
> http://mirror.atrpms.net/livna/fedora/8/i386/repodata/primary.sqlite.bz2: 
> [Errno -1] Metadata file does not match checksum

$ grep timestamp /var/cache/yum/livna/repomd.xml 
    <timestamp>1204481487</timestamp>
    <timestamp>1204481482</timestamp>
    <timestamp>1204481488</timestamp>
    <timestamp>1204481482</timestamp>
    <timestamp>1204481490</timestamp>
    <timestamp>1204481482</timestamp>
    <timestamp>1192366720</timestamp>

Do you have a transparent proxy in the network?

Can you debug a little bit and find out what "repomd.xml" file you
have in your /var/cache/yum/livna directory?
For example, fetch the metadata files manually and compare the
checksums stored within it?

$ wget http://mirror.atrpms.net/livna/fedora/8/i386/repodata/repomd.xml
$ wget http://mirror.atrpms.net/livna/fedora/8/i386/repodata/primary.sqlite.bz2

$ sha1sum primary.sqlite.bz2 
17e08a77c8f23a55739894509335d8a707eec618  primary.sqlite.bz2

That checksum should be listed in the repomd.xml file:

$ grep 17e08 repomd.xml 
    <checksum type="sha">17e08a77c8f23a55739894509335d8a707eec618</checksum>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux