Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
corrupt downloads with wget
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Wire64
n00b
n00b


Joined: 30 Aug 2007
Posts: 10

PostPosted: Thu Aug 30, 2007 10:54 pm    Post subject: corrupt downloads with wget Reply with quote

Hi,

I'm trying to re-setup my gentoo box. Unfortuantly when trying to emerge packages it fails with some with md5sum errors.
I tried the following:

- Remove the file file from /usr/portage/distfiles, emerge sync and then and emerge again, but that kept failing tried several different mirrors.
So i started to search these forums and found another usefull tip; memtest86.

- I used memtest86 to test my ram and found 1 fault module so i removed the faulty module retested the other module and that one was fine.
tried downloading again and my md5sum errors where gone but then i got RMD160 verification errors on some packages.
searching the forums and didnt find any usefull info about it so i tried to manual download using wget
When i checked the downloaded tar file, i noticed while filesize match it was still incomplete/corrupt everytime.
i thought it might be my router or internet connection so i tried with another pc on the same network and the file downloaded perfectly.

My question is what can cause my files to get corrupted when downloading?
The weird thing is some files come ok but others always fail even on other mirrors.
wget --no-cache didnt affect anything (thought it might cache the file somewhere)

any tips?

Thanks,
Wire64
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9886
Location: almost Mile High in the USA

PostPosted: Fri Aug 31, 2007 12:11 am    Post subject: Reply with quote

You haven't ruled out:

- bad cpu (though i've never seen this before unless overclocking)
- bad motherboard (I've seen this before)
- bad disk controller (I've seen this before)
- bad ethernet board (I haven't seen this before)

You could also try downloading with the other computer and copying everything into the portage directory (portage tree and distfiles, at this point you don't know if it's the portage tree that's bad).
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Hamtaro
n00b
n00b


Joined: 31 Aug 2007
Posts: 1

PostPosted: Fri Aug 31, 2007 7:48 am    Post subject: Reply with quote

Faulty RAM could corrupt your distfiles. It could also corrupt your Manifest and all those checksum files. I would suggest you to emerge --sync again to rebuild the portage tree.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum