'makewhatis' coughs on 'wput.1.gz' (on Vista)

Mr Webber captain_webber@hotmail.com
Sat Dec 29 21:24:00 GMT 2007


 
Checked it with winrar

 D:\cygwin\usr\share\man\man1\wput.1.gz: CRC failed in wput.1. The file is
corrupt

It's cooked!
I tried to reinstall from Georgia Tech Mirror.  It is cooked too.

You could you ftp drive by a script, until this gets fixed.

This is one of those cygwin commands I was completely unaware of.  I have
always used script-drive ftp.

I don't like to get too dependent on non-standard commands.  But if you must
use wput, you can get the source at
http://sourceforge.net/search/?type_of_search=soft&type_of_search=soft&words
=wput

and recreate the garbled man page.

-----Original Message-----
From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf Of
Dave Korn
Sent: Saturday, December 29, 2007 10:16 AM
To: 'Cygwin'
Subject: RE: 'makewhatis' coughs on 'wput.1.gz' (on Vista)

On 28 December 2007 05:03, Lee D. Rothstein wrote:

> 'makewhatis ('whereis' and 'apropos' database setup script) generates 
> the following errors:
> 
> $ makewhatis
> 
> gzip: /usr/share/man/man1/./wput.1.gz: invalid compressed data--crc 
> error
> 
> gzip: /usr/share/man/man1/./wput.1.gz: invalid compressed data--length 
> error
> 
> Reinstall of 'man' and 'wput' does not help.
> 
> Anybody know what the problem is?

  The man page shipped with the package is buggy (appears to have been
truncated).  It's a new package, this was the first version; I expect the
maintainer will prepare a new one once all the christmas/new year stuff is
out of the way.  In the meantime, you can get a fresh upstream version by
running these commands in a bash shell:

cd /tmp
wget 'http://ftp.de.debian.org/debian/pool/main/w/wput/wput_0.6.orig.tar.gz'
tar xfvz wput_0.6.orig.tar.gz  wput/doc/wput.1.gz mv wput/doc/wput.1.gz
/usr/share/man/man1/wput.1.gz rm -rf wput wput_0.6.orig.tar.gz




  Ah, I think I've worked out how the file got mangled:

/tmp/wput/wput/doc $ od -tx1 -Ax /usr/share/man/man1/wput.1.gz >bad
@_______. .
(       /"\
 ||--||(___)
 '"  '"'---'
/tmp/wput/wput/doc $ od -tx1 -Ax wput.1.gz >good @_______. .
(       /"\
 ||--||(___)
 '"  '"'---'
/tmp/wput/wput/doc $ diff -pu good bad
--- good        2007-12-29 15:12:55.502729600 +0000
+++ bad 2007-12-29 15:12:50.575644800 +0000
@@ -31,7 +31,7 @@
 0001e0 36 22 e2 04 1c c8 19 4f c3 11 2a bb 29 eb 60 53  0001f0 aa a7 8e f5
7a ed fc 18 72 24 e9 4d 09 31 d2 fc  000200 f2 bd 1e 3d f5 f6 2c 59 ba c2 f9
b5 32 97 56 b5 -000210 4b f3 c0 9b 55 55 0d 09 a4 27 72 7c 08 6d af d6
+000210 4b f3 c0 9b 55 55 0a 09 a4 27 72 7c 08 6d af d6
 000220 38 59 f9 09 3a 1c 1b 08 a5 dc 71 3f 9e 82 72 f7  000230 96 42 73 05
98 4f 6c f1 e0 aa b2 d8 50 95 72 54  000240 1e 33 5d 2c ac f7 c2 82 8b 5e 55
16 e0 f2 c1 a5 @@ -81,7 +81,7 @@  000500 14 4b c0 0f 2e 00 d0 08 9c f1 2b 2f
9f 4c 87 37  000510 98 76 7f 88 ea a7 e7 21 b2 51 4c d7 82 92 66 84  000520
6e 6b 33 ba 4c bd 5b 98 59 8d 84 d8 6c cd b5 e0 -000530 30 8f 77 57 37 66 74
b7 bc bc 9b fc 0d 8a 1c 99
+000530 30 8f 77 57 37 66 74 b7 bc bc 9b fc 0a 8a 1c 99
 000540 af f1 e4 47 c0 1b bb 31 a3 c9 df f0 fe e6 a5 79  000550 d2 5b 75 37
41 e2 f1 8a e1 3e 5b 1d df c8 47 c9  000560 4b e7 b7 79 aa ca 0c 2f 68 cf 94
db b4 47 6f 7d @@ -105,10 +105,10 @@  000680 37 2c 4c 78 18 37 34 b7 eb 60
db 1e 70 6b 13 f2  000690 a8 2b 10 02 37 12 83 99 de 69 f1 11 87 25 59 89
0006a0 4c 43 17 61 5a 8c 29 91 25 82 59 e6 29 f0 c1 ce -0006b0 2d 10 27 f9
12 a5 2a 42 c0 bc 59 0d 9c ae 18 38
+0006b0 2d 10 27 f9 12 a5 2a 42 c0 bc 59 0a 9c ae 18 38
 0006c0 5e 31 78 3e 64 25 ff 5b a7 e4 fb c3 a3 5e 22 bf  0006d0 33 af 84 87
3c 23 98 67 71 c4 fc 97 35 0b 7a d7 -0006e0 81 dc b5 46 45 79 e6 36 0d b2 ce
4c d1 09 51 6f
+0006e0 81 dc b5 46 45 79 e6 36 0a b2 ce 4c d1 09 51 6f


  It's been d2u'd, which isn't the right thing to do with a compressed file!

    cheers,
      DaveK
--
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list