[Bug 2022000] Re: Garbled characters displayed when running "zipinfo --help" command

Dominik Viererbe 2022000 at bugs.launchpad.net
Mon Jun 19 07:52:41 UTC 2023


*** This bug is a duplicate of bug 1429939 ***
    https://bugs.launchpad.net/bugs/1429939

** Description changed:

- When I was running "unzip --help" on jammy I got the output you see at
+ When I was running "zipinfo --help" on jammy I got the output you see at
  the end of this bug ticket. This behavior is not present on bionic,
  focal, kinetic, lunar and mantic.
  
  Note: On bionic, focal, lunar and mantic I got the error message "error:  zipfile probably corrupt (segmentation violation)"
  This message was not present on jammy and kinetic.
  
  How to replicate:
  $ lxc launch images:ubuntu/jammy tester
  $ lxc exec tester bash
  $ apt install -y unzip
  $ zipinfo --help
  ZipInfo 3.00 of 20 April 2009, by Greg Roelofs and the Info-ZIP group.
  
  List name, date/time, attribute, size, compression method, etc., about files
  in list (excluding those in xlist) contained in the specified .zip archive(s).
  "file[.zip]" may be a wildcard name containing *, ?, [] (e.g., "[a-j]*.zip").
  
-    usage:  zipinfo [-12smlvChMtTz] file[.zip] [list...] [-x xlist...]
-       or:  unzip -Z [-12smlvChMtTz] file[.zip] [list...] [-x xlist...]
+    usage:  zipinfo [-12smlvChMtTz] file[.zip] [list...] [-x xlist...]
+       or:  unzip -Z [-12smlvChMtTz] file[.zip] [list...] [-x xlist...]
  
  main listing-format options:             -s  short Unix "ls -l" format (def.)
-   -1  filenames ONLY, one per line       -m  medium Unix "ls -l" format
-   -2  just filenames but allow -h/-t/-z  -l  long Unix "ls -l" format
-                                          -v  verbose, multi-page format
+   -1  filenames ONLY, one per line       -m  medium Unix "ls -l" format
+   -2  just filenames but allow -h/-t/-z  -l  long Unix "ls -l" format
+                                          -v  verbose, multi-page format
  miscellaneous options:
-   -h  print header line       -t  print totals for listed files or for all
-   -z  print zipfile comment   -T� print file times in sortable decimal format
-  �-C be case-insensitive   4l���i���i���i��l���j���i���i���i���i���i���i���i���i���i���i���i���i���i���i���i���i���j���i���i���i���i���i��|k���i���i���i��\k���i��<l���i���i���i���i���j��k���i��lj���i���i���i���i���i���i���i���i���i���i���i���i���i���i���i���i���i���i���i���i���k��Dk���i���i���i���i���i���k���j���i��Lj���i���i���i��,j�����#���������Z���Z���Z���Z����������ތ���������������2���2���2���2���Ō���������� ���@���������������������������������������(���(�����������S����6��*��*��*��|)��*��*��*��*��*��*��,��*��*��*��*��*��*��*��*��*��*��*��*��*��*��*��*��*��*��*��*�����*��*��*��|)��*��*��*��*��*��*��,��PPMd  -x  exclude filenames that follow from listing
-   -O CHARSET  specify a character encoding for DOS, Windows and OS/2 archives
-   -I CHARSET  specify a character encoding for UNIX and other archives
+   -h  print header line       -t  print totals for listed files or for all
+   -z  print zipfile comment   -T� print file times in sortable decimal format
+  �-C be case-insensitive   4l���i���i���i��l���j���i���i���i���i���i���i���i���i���i���i���i���i���i���i���i���i���j���i���i���i���i���i��|k���i���i���i��\k���i��<l���i���i���i���i���j��k���i��lj���i���i���i���i���i���i���i���i���i���i���i���i���i���i���i���i���i���i���i���i���k��Dk���i���i���i���i���i���k���j���i��Lj���i���i���i��,j�����#���������Z���Z���Z���Z����������ތ���������������2���2���2���2���Ō���������� ���@���������������������������������������(���(�����������S����6��*��*��*��|)��*��*��*��*��*��*��,��*��*��*��*��*��*��*��*��*��*��*��*��*��*��*��*��*��*��*��*�����*��*��*��|)��*��*��*��*��*��*��,��PPMd  -x  exclude filenames that follow from listing
+   -O CHARSET  specify a character encoding for DOS, Windows and OS/2 archives
+   -I CHARSET  specify a character encoding for UNIX and other archives

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to unzip in Ubuntu.
https://bugs.launchpad.net/bugs/2022000

Title:
  Garbled characters displayed when running "zipinfo --help" command

Status in unzip package in Ubuntu:
  New

Bug description:
  When I was running "zipinfo --help" on jammy I got the output you see
  at the end of this bug ticket. This behavior is not present on bionic,
  focal, kinetic, lunar and mantic.

  Note: On bionic, focal, lunar and mantic I got the error message "error:  zipfile probably corrupt (segmentation violation)"
  This message was not present on jammy and kinetic.

  How to replicate:
  $ lxc launch images:ubuntu/jammy tester
  $ lxc exec tester bash
  $ apt install -y unzip
  $ zipinfo --help
  ZipInfo 3.00 of 20 April 2009, by Greg Roelofs and the Info-ZIP group.

  List name, date/time, attribute, size, compression method, etc., about files
  in list (excluding those in xlist) contained in the specified .zip archive(s).
  "file[.zip]" may be a wildcard name containing *, ?, [] (e.g., "[a-j]*.zip").

     usage:  zipinfo [-12smlvChMtTz] file[.zip] [list...] [-x xlist...]
        or:  unzip -Z [-12smlvChMtTz] file[.zip] [list...] [-x xlist...]

  main listing-format options:             -s  short Unix "ls -l" format (def.)
    -1  filenames ONLY, one per line       -m  medium Unix "ls -l" format
    -2  just filenames but allow -h/-t/-z  -l  long Unix "ls -l" format
                                           -v  verbose, multi-page format
  miscellaneous options:
    -h  print header line       -t  print totals for listed files or for all
    -z  print zipfile comment   -T� print file times in sortable decimal format
   �-C be case-insensitive   4l���i���i���i��l���j���i���i���i���i���i���i���i���i���i���i���i���i���i���i���i���i���j���i���i���i���i���i��|k���i���i���i��\k���i��<l���i���i���i���i���j��k���i��lj���i���i���i���i���i���i���i���i���i���i���i���i���i���i���i���i���i���i���i���i���k��Dk���i���i���i���i���i���k���j���i��Lj���i���i���i��,j�����#���������Z���Z���Z���Z����������ތ���������������2���2���2���2���Ō���������� ���@���������������������������������������(���(�����������S����6��*��*��*��|)��*��*��*��*��*��*��,��*��*��*��*��*��*��*��*��*��*��*��*��*��*��*��*��*��*��*��*�����*��*��*��|)��*��*��*��*��*��*��,��PPMd  -x  exclude filenames that follow from listing
    -O CHARSET  specify a character encoding for DOS, Windows and OS/2 archives
    -I CHARSET  specify a character encoding for UNIX and other archives

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unzip/+bug/2022000/+subscriptions




More information about the foundations-bugs mailing list