Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jan 2010 07:10:05 GMT
From:      Alex Deiter <alex.deiter@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/143307: /usr/bin/unzip file.zip: not implemented
Message-ID:  <201001280710.o0S7A5fw032520@www.freebsd.org>
Resent-Message-ID: <201001280720.o0S7K62G000215@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         143307
>Category:       misc
>Synopsis:       /usr/bin/unzip file.zip: not implemented
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 28 07:20:05 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Alex Deiter
>Release:        9.0-CURRENT
>Organization:
N/A
>Environment:
FreeBSD x60.deiter.net.ru 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Tue Jan 26 17:26:54 MSK 2010     root@x60.deiter.net.ru:/usr/obj/usr/src/sys/X60  amd64

>Description:
/usr/bin/unzip does not extract zip files:

$ /usr/bin/unzip -t test.zip 
Archive:  test.zip
    testing: 1	 OK
    testing: 2	 OK
No errors detected in compressed data of test.zip.

$ /usr/bin/unzip  test.zip 
Archive:  test.zip
unzip: not implemented

But if you specify the -d: archive is unpacked:

$ /usr/bin/unzip -d /var/tmp/dir test.zip 
Archive:  test.zip
 extracting: /var/tmp/dir/1  
 extracting: /var/tmp/dir/2  

/usr/local/bin/unzip works as expected:

$ /usr/local/bin/unzip test.zip 
Archive:  test.zip
  inflating: 1                       
  inflating: 2             

Could you please confirm this bug ?

Thanks a lot!
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001280710.o0S7A5fw032520>