[SLUG] For my next trick ...

2013-11-05 Thread James Linder
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

tigge...@tigger.ws [~/public_html/downloads]# md5sum memstick.zip 
d7ffd4b8e9e958adb13264445b2acc55  memstick.zip
tigge...@tigger.ws [~/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


Re: [SLUG] For my next trick ...

2013-11-05 Thread grants

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

tigge...@tigger.ws [~/public_html/downloads]# md5sum memstick.zip
d7ffd4b8e9e958adb13264445b2acc55  memstick.zip
tigge...@tigger.ws [~/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


Re: [SLUG] For my next trick ...

2013-11-05 Thread peter
 James == James Linder j...@tigger.ws writes:

James unzip -v |grep vctrl


unzip -v memstick.zip perhaps??



Peter C
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] For my next trick ...

2013-11-05 Thread James Linder
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
 
 tigge...@tigger.ws [~/public_html/downloads]# md5sum memstick.zip
 d7ffd4b8e9e958adb13264445b2acc55  memstick.zip
 tigge...@tigger.ws [~/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


Re: [SLUG] For my next trick ...

2013-11-05 Thread grants
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.

Grant


On 06/11/13 15:17, James Linder wrote:

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

tigge...@tigger.ws [~/public_html/downloads]# md5sum memstick.zip
d7ffd4b8e9e958adb13264445b2acc55  memstick.zip
tigge...@tigger.ws [~/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


Re: [SLUG] For my next trick ...

2013-11-05 Thread James Linder

On 06/11/2013, at 12:28 PM, gra...@al.com.au gra...@al.com.au 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
 
 tigge...@tigger.ws [~/public_html/downloads]# md5sum memstick.zip
 d7ffd4b8e9e958adb13264445b2acc55  memstick.zip
 tigge...@tigger.ws [~/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


Re: [SLUG] For my next trick ...

2013-11-05 Thread grants

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, gra...@al.com.au gra...@al.com.au 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

tigge...@tigger.ws [~/public_html/downloads]# md5sum memstick.zip
d7ffd4b8e9e958adb13264445b2acc55  memstick.zip
tigge...@tigger.ws [~/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


Re: [SLUG] For my next trick ...

2013-11-05 Thread Jiří Baum
Hi,

Grant:
 Just make sure you are also transfering in binary mode etc

Well, the md5sum matched, so that shouldn't be the problem...

Perhaps the unzip versions are different? I would have thought it's a
fairly stable format, though...


Jiri
-- 
Jiří Baum j...@baum.com.au
Sabik Software Solutions Pty Ltd
0413 183 117
http://www.baum.com.au/sabik
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] For my next trick ...

2013-11-05 Thread Maxim Zakharov
Hi,

md5sum also has the binary mode,
so try to check it that way:
md5sum -b memstick.zip


On Wed, Nov 6, 2013 at 4:22 PM, Jiří Baum j...@baum.com.au wrote:

 Hi,

 Grant:
  Just make sure you are also transfering in binary mode etc

 Well, the md5sum matched, so that shouldn't be the problem...

 Perhaps the unzip versions are different? I would have thought it's a
 fairly stable format, though...


 Jiri
 --
 Jiří Baum j...@baum.com.au
 Sabik Software Solutions Pty Ltd
 0413 183 117
 http://www.baum.com.au/sabik
 --
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html




-- 
http://www.dataparksearch.org/  Twitter: @Maxime2
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] For my next trick ...

2013-11-05 Thread Jiří Baum
Hi,

Maxim:
 md5sum also has the binary mode,

So it does. That's... amazing.

Jiri
-- 
Jiří Baum j...@baum.com.au
Sabik Software Solutions Pty Ltd
0413 183 117
http://www.baum.com.au/sabik
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html