View previous topic :: View next topic |
Author |
Message |
paradox n00b
Joined: 16 Jul 2002 Posts: 7
|
Posted: Tue Aug 13, 2002 4:58 am Post subject: wget corrupting downloads |
|
|
Hi
wget is messing up my downloads more often than not when I try and emerge something I get:
Code: |
!!! qt-x11-free-3.0.5.tar.gz: message digests do not match!
!!! qt-x11-free-3.0.5.tar.gz is corrupt or incomplete.
>>> our recorded digest: 98dab506c55e50741e428c4cc43ac828
>>> your file's digest: 64c6b1e40525d80e7f655e0ab1269531
>>> Please delete /usr/portage/distfiles/qt-x11-free-3.0.5.tar.gz and refetch.
|
However if I download the file myself using konqueror, I have no problems. Wget is the only program I can get to work with emerge and my proxy. For some reason prozilla and lukemftp both give me:
Code: |
>>> Downloading http://planetmirror.com/pub/ibiblio//distfiles/gnome-print-0.35.tar.gz
lukemftp: Connect to address `203.16.234.19': No route to host
lukemftp: Connect to address `203.16.234.20': No route to host
lukemftp: Can't connect to planetmirror.com: No route to host
|
despite the fact that I have set up my proxy server in make.conf. Wget gave me problems as well untill I added my proxy server into its config file. For some reason the proxy settings in make.conf dont seem to be having any effect.
The relevent section of my make.conf:
Code: |
#proxy settings PROXY(both), or HTTP_PROXY/FTP_PROXY
PROXY=http://proxy.constar.com.au:8080/
#HTTP_PROXY=http://proxy.comstar.com.au:8080
#FTP_PROXY=http://proxy.comstar.com.au:8080
# Uncomment to use Lukemftp for download
# you need to merge lukemftp first!
FETCHCOMMAND='/usr/bin/lukemftp -s -a -o ${DISTDIR}/${FILE} ${URI}'
RESUMECOMMAND='/usr/bin/lukemftp -s -a -R -o ${DISTDIR}/${FILE} ${URI}'
# Uncomment if you wanna use Prozilla for download
# you need to merge prozilla first!
#FETCHCOMMAND='/usr/bin/proz --no-getch -s ${URI} -P ${DISTDIR}'
|
this gives me the above error. If I comment out lukemftp I just get problems with the digest being incorrect
The changes I needed to make to my wgetrc to make wget work:
Code: |
# You can set the default proxies for Wget to use for http and ftp.
# They will override the value in the environment.
http_proxy = http://proxy.comstar.com.au:8080/
ftp_proxy = http://proxy.comstar.com.au:8080/
|
any help would be apreciated
- Luke |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Tue Aug 13, 2002 1:33 pm Post subject: |
|
|
My make.conf says:
Code: |
# If you need to set a proxy for wget or lukemftp, add the appropriate
# "export ftp_proxy=<proxy>" and "export http_proxy=<proxy>" lines to
# /etc/profile if all users on your system should use them.
# Uncomment to use Lukemftp for download; you need to merge lukemftp first.
|
You can probably try doing this. |
|
Back to top |
|
|
paradox n00b
Joined: 16 Jul 2002 Posts: 7
|
Posted: Tue Aug 13, 2002 2:09 pm Post subject: |
|
|
Thanks! That solved my problem nicely. Kind people like you who take the time to answer the questions of people like me, is what makes the linux community so great.
now why didnt my make.conf say that
- Luke |
|
Back to top |
|
|
Naan Yaar Bodhisattva
Joined: 27 Jun 2002 Posts: 1549
|
Posted: Tue Aug 13, 2002 10:47 pm Post subject: |
|
|
make.conf is more or less under your control and does not get automatically updated (it can be modified by a bootstrap, but typically, it is not going to be touched by emerge). We may have different installs or have it may have been updated by an incomplete bootstrap, etc.
paradox wrote: | ...
now why didnt my make.conf say that
- Luke |
|
|
Back to top |
|
|
|