Mailing List Archive

emerge-webrsync unable to fetch md5sum
Here is the error when I exec the #emerge-webrsync:

Fetching most recent snapshot
unable to fetch md5sum, no way to detect corruption. bailing

Have anybody experienced of this?

--
gentoo-user@gentoo.org mailing list
Re: emerge-webrsync unable to fetch md5sum [ In reply to ]
> Fetching most recent snapshot
> unable to fetch md5sum, no way to detect corruption. bailing

Did you find a solution?
There must be a file to delete befoer trying again, but which one?
Mick.

--
<BR/> "Do or do not there is no try." Yoda



--
gentoo-user@gentoo.org mailing list
Re: emerge-webrsync unable to fetch md5sum [ In reply to ]
> Did you find a solution?

It appears the mirrors I've selected never have today's snapshot. For some
reason I'm ahead by a day.

This was easily correct by setting attempts=1 in emerge-webrsync script.
Everything works fine now.
Mick.

--
<BR/> God, please save me from your followers



--
gentoo-user@gentoo.org mailing list
Re: emerge-webrsync unable to fetch md5sum [ In reply to ]
Mick Wever wrote:
>>Fetching most recent snapshot
>>unable to fetch md5sum, no way to detect corruption. bailing
>
>
> Did you find a solution?

Yes. emerge-webrsync seems to be broken, I suppose. Applying the
following patch helped me:

--- emerge-webrsync.unverändert 2004-09-30 11:30:22.634334808 +0200
+++ emerge-webrsync 2004-09-30 11:30:40.603603064 +0200
@@ -93,7 +93,6 @@

if (($got_md5 == 0 )); then
echo "unable to fetch md5sum, no way to detect corruption. bailing"
- exit 1
elif [ -s "${FILE}" ]; then
if eval "$md5_com"; then
echo "existing snapshot $FILE is correct, using it"

Also, have a look at http://bugs.gentoo.org/show_bug.cgi?id=64375

Alexander Skwar
--
panic("aha1740.c"); /* Goodbye */
2.2.16 /usr/src/linux/drivers/scsi/aha1740.c
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯


--
gentoo-user@gentoo.org mailing list
Re: emerge-webrsync unable to fetch md5sum [ In reply to ]
> Yes. emerge-webrsync seems to be broken, I suppose. Applying the
> following patch helped me:

> if (($got_md5 == 0 )); then
> echo "unable to fetch md5sum, no way to detect corruption. bailing"
> - exit 1

Looks good.
I don't understand why the script must exit if it cannot fetch md5sum.
Wouldn't it make sense to continue to the next attempt.
(Basically the same results as starting with attempts=1 instead of
attempts=0).
Mick

--
<BR/> "This is my simple religion. There is no need for temples;
no need for complicated philosophy. Our own brain, our own heart is our
temple; the philosophy is kindness." The Dalai Lama



--
gentoo-user@gentoo.org mailing list
Re: emerge-webrsync unable to fetch md5sum [ In reply to ]
Mick Wever wrote:
>>Yes. emerge-webrsync seems to be broken, I suppose. Applying the
>>following patch helped me:
>
>
>> if (($got_md5 == 0 )); then
>> echo "unable to fetch md5sum, no way to detect corruption. bailing"
>>- exit 1
>
>
> Looks good.
> I don't understand why the script must exit if it cannot fetch md5sum.
> Wouldn't it make sense to continue to the next attempt.

Yes, it would. The patch in the bug entry I posted, does exactly
this and is thus a lot better than my hack.

Alexander Skwar
--
panic("aha1740.c"); /* Goodbye */
2.2.16 /usr/src/linux/drivers/scsi/aha1740.c
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯


--
gentoo-user@gentoo.org mailing list