reassign 971664 zip
found 971664 3.0-11
thanks

On Sun, Oct 04, 2020 at 04:51:24PM +0300, unxed wrote:

> unzip fails to delete file from archive. Sample attached.

It's really "zip" who can't.

> $ unzip -l new.zip
> Archive: new.zip
>   Length Date Time Name
> --------- ---------- ----- ----
>         0 2020-07-16 23:30 тест.txt
> --------- -------
>         0 1 file
> 
> $ zip -d new.zip тест.txt
>         zip warning: name not matched: тест.txt
> 
> zip error: Nothing to do! (new.zip)

I can reproduce such outcome with the new.zip file you provided.

However, the zipfile was not created by Debian zip and it seems to be
buggy. Using Debian zip, it works:

$ touch тест.txt 
$ zip a тест.txt 
  adding: тест.txt (stored 0%)
$ zip a.zip -d тест.txt 
  deleting: тест.txt
  zip warning: zip file empty


Not sure about what to do here. I'll try to contact upstream authors
to see why this happens.

Thanks.

Reply via email to