Just make sure you are also transfering in binary mode etc
Grant
On 06/11/13 15:58, James Linder wrote:
On 06/11/2013, at 12:28 PM, <[email protected]> <[email protected]> wrote:
Have a look at the output without the "grep vctrl". Does it produce anything?
is it a different output format?
Compare the versions of unzip in the different OS's. there may be differences
in output or in the zip file format used.
Try a different format eg tgz, tar.bz2 etc
Do you have the command you used to create zip the file.
The *only* reason for using zip not tgz or tbz is the winders user of this :-(
unzip -v looks just fine but
unzip has a few strange
file #20: bad zipfile offset (local header sig): 7048581
file #21: bad zipfile offset (local header sig): 7099505
file #22: bad zipfile offset (local header sig): 7108179
file #23: bad zipfile offset (local header sig): 28805533
file #24: bad zipfile offset (local header sig): 28839903
file #25: bad zipfile offset (local header sig): 29128274
file #26: bad zipfile offset (local header sig): 29157577
file #27: bad zipfile offset (local header sig): 29374933
file #28: bad zipfile offset (local header sig): 29405700
...
so I'll do the whole bit again and check
command was nothing more than
zip -r memstick.zip (sic) *
Cheers
James
Peter, Grant
thanks.
My problem is real, but as I got more and more flustered, the structured
organized test and retest degenrated.
I must conclude either building the zip or unpacking is flawed.
James
"dvr@ws118:~> unzip -v |grep vctrl"
shouldn't that be
dvr@ws118:~> unzip -v memstick.zip |grep vctrl
On 06/11/13 14:44, James Linder wrote:
if anybody has inspiration I'd welcome it
I create a boring archive of update rpm, including 3 of my own
[haycorn] /Users/jam [500]% md5sum memstick.zip
d7ffd4b8e9e958adb13264445b2acc55 memstick.zip
[haycorn] /Users/jam [501]% unzip -v memstick.zip |grep vctrl
230641 Defl:N 229709 0% 11-01-2013 12:12 80471da3
nodvd.repo/x86_64/vctrl-1.2-3.x86_64.rpm
I upload it to my www, then check it there
[email protected] [~/public_html/downloads]# md5sum memstick.zip
d7ffd4b8e9e958adb13264445b2acc55 memstick.zip
[email protected] [~/public_html/downloads]# unzip -v memstick.zip |grep vctrl
230641 Defl:N 229709 0% 10-31-2013 22:12 80471da3
nodvd.repo/x86_64/vctrl-1.2-3.x86_64.rpm
Now I download it
wget http://tigger.ws/downloads/memstick.zip
dvr@ws118:~> md5sum memstick.zip
d7ffd4b8e9e958adb13264445b2acc55 memstick.zip
dvr@ws118:~> unzip -v |grep vctrl
dvr@ws118:~>
Ia a daze I contemplate my world in ruins ...
James
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html