Michael Schwendt wrote:
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>
[Abhishek@localhost livna]$ ls
cachecookie packages primary.sqlite repomd.xml
[Abhishek@localhost livna]$ grep timestamp repomd.xml
<timestamp>1204449187</timestamp>
<timestamp>1204449182</timestamp>
<timestamp>1204449188</timestamp>
<timestamp>1204449182</timestamp>
<timestamp>1204449190</timestamp>
<timestamp>1204449182</timestamp>
<timestamp>1192366720</timestamp>
[Abhishek@localhost livna]$ grep 17e08 repomd.xml
<checksum type="sha">17e08a77c8f23a55739894509335d8a707eec618</checksum>
[Abhishek@localhost ~]$ wget
http://mirror.atrpms.net/livna/fedora/8/i386/repodata/primary.sqlite.bz2
--23:50:01--
http://mirror.atrpms.net/livna/fedora/8/i386/repodata/primary.sqlite.bz2
=> `primary.sqlite.bz2'
Resolving mirror.atrpms.net... 130.133.35.16
Connecting to mirror.atrpms.net|130.133.35.16|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 273,424 (267K) [application/x-bzip2]
100%[====================================>] 273,424 5.11K/s ETA 00:00
23:50:37 (7.37 KB/s) - `primary.sqlite.bz2' saved [273424/273424]
[Abhishek@localhost ~]$ sha1sum primary.sqlite.bz2
883464cd0b58a064878e9969f07685ce41850149 primary.sqlite.bz2
Should i overwrite the files primary.sqlite.bz2 and repomd.xml on the
previous ones stored in /var/cache/yum/livna ????
There is no proxy on my network...
Below is my repomd file both the files match ...
<?xml version="1.0" encoding="UTF-8"?>
<repomd xmlns="http://linux.duke.edu/metadata/repo">
<data type="other_db">
<location href="repodata/other.sqlite.bz2"/>
<checksum type="sha">97adc623a3a9003849d6951c710ed27b3e3ce3d3</checksum>
<timestamp>1204449187</timestamp>
<open-checksum
type="sha">5ccb79e89c30ea359056e5e2ff46fc7a3b559801</open-checksum>
<database_version>10</database_version>
</data>
<data type="other">
<location href="repodata/other.xml.gz"/>
<checksum type="sha">5ce8face6259d5cc250ea7472c92b6208f69ea12</checksum>
<timestamp>1204449182</timestamp>
<open-checksum
type="sha">4928f3b7a188b1fc0cf30521a72a2bae5ad48c83</open-checksum>
</data>
<data type="filelists_db">
<location href="repodata/filelists.sqlite.bz2"/>
<checksum type="sha">2525e76c5cf78a9edb3d25eb3f54f3e4c9c90236</checksum>
<timestamp>1204449188</timestamp>
<open-checksum
type="sha">a9ddfc5861b21ea8158663cc8b3ced03ffda4437</open-checksum>
<database_version>10</database_version>
</data>
<data type="filelists">
<location href="repodata/filelists.xml.gz"/>
<checksum type="sha">49b1b1c10b5c40b6791f685b04c609605d1b131f</checksum>
<timestamp>1204449182</timestamp>
<open-checksum
type="sha">ad3d8e6a7d67077e39a9c7f2f689ae80f8ed79ed</open-checksum>
</data>
<data type="primary_db">
<location href="repodata/primary.sqlite.bz2"/>
<checksum type="sha">17e08a77c8f23a55739894509335d8a707eec618</checksum>
<timestamp>1204449190</timestamp>
<open-checksum
type="sha">a53c88a5595269a7f11bf1b3a525805e73bb3cbb</open-checksum>
<database_version>10</database_version>
</data>
<data type="primary">
<location href="repodata/primary.xml.gz"/>
<checksum type="sha">325ad44a1007bfc65868b850d10290ab6685e97d</checksum>
<timestamp>1204449182</timestamp>
<open-checksum
type="sha">f1986215688f6313298947ae23556f0fd63ed100</open-checksum>
</data>
<data type="group">
<location href="repodata/comps.xml"/>
<checksum type="sha">38cd08c7178df21049d53813611ee840f1c14ab0</checksum>
<timestamp>1192366720</timestamp>
</data>
</repomd>
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list