Hi martin,

Sorry but you cut and past here somthing wrong ! My problem was not that 
i don't know what to do, my problem was that the fink scripts can't 
handle it when the files don't exist on the server anymore (update or 
somthing else), because curl fetch something anyway also the 
errormessage from webserver.

>
> If you have wget installed, just move curl out of the way, and Fink 
> will use wget automatically.
>
> BTW, there exists a very useful little command "file" that gives you 
> the file type of a file. So when gzip or tar or something tells you 
> that the file it downloaded is not of the type it expected, anyone with 
> a bit of Unix clue would have a look with "file" WHAT type this file is.

Aggressive argued, but a right solution ! It should be included in the 
scripts after curl was downloading the file to check the type.



> So when you see a message like
>
>> tar -xzf /sw/src/rsync-2.5.1.tar.gz
>> gzip: stdin: not in gzip format

this was the output of fink !!!

> your first reaction should NOT be to write to the mailing list, but to 
> type
>
>   file /sw/src/rsync-2.5.1.tar.gz
>
> and then, when it tells you
>
>   HTML document text
>
> to look at it with
>
>   more /sw/src/rsync-2.5.1.tar.gz
>
> whereupon you will see the error message "file not found" or 
> "connection refused" or something. No need to hack fink. Just learn to 
> use some of the basic Unix tools.

Both error messages were not in the listings, please come down !

Joseph


_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to