wget can't download as before

David Timms dtimms at iinet.net.au
Sun Nov 12 10:19:43 UTC 2006


Tony Nelson wrote:
> At 12:03 AM -0800 11/11/06, Barry Yu wrote:
>> I used to use wget to download update rpm packages;
>> wget -cnd --mirror
>> ftp://download.fedora.redhat.com/pub/fedora/linux/core/updates/5/i386/*.rpm
>> This had been working fine until lately, stop working, wget can login the
>> ftp repository, but and then stop going further like this;
>> ==> SYST ... done.    ==> PWD ... done.
>> ==> TYPE I ... done.  ==> CWD /pub/fedora/linux/core/updates/5/i386 ... done.
>> ==> PASV ... done.    ==> LIST ... done.
>>
>> 100%[++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++=>]
>> 6,268,498     --.--K/s    ETA 00:00
>>
>> I tried using firefox to brow into this ftp server, and got message "
>> There are too many connections from your internet address ". Seems this
>> ftp server had change something, I could not even browse into it, how can
>> I use the wget to download updates from it again?
> 
> WAG: that "*" at the end is opening multiple downloads at once?  What
> happens if you try just one file at a time?  Also, get has a way to take a
> list of files from a file (-i), which might work better here.  You could
> probably make the list with something like "ls foo.* >myfile".  If not,
> there's always something like "find . -name foo.* -exec wget {}".
> 
> I'm not sure about your use of -nd with --mirror.  It just seems that it
> won't mirror as well that way.
It would be a lot nicer to use your most local mirror. And you could 
adjust /etc/yum.conf line keepcache=0 to 1. Then you can have just one 
machine use the normal pup updates method to download needed updates 
{based on what is installed} rather than all updates whether or not you 
currently have the original package installed.

Also, you might like to consider rsync as the mirroring tool rather than 
  wget etc. See the mirror list for rsync capable sites near your 
location: http://fedora.redhat.com/download/mirrors.html

DaveT.




More information about the users mailing list