Package: tar
Version: 1.30+dfsg-6+b1
Severity: normal


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-6-amd64 (SMP w/8 CPU cores)
Locale: LANG=ru_RU.utf8, LC_CTYPE=ru_RU.utf8 (charmap=UTF-8), 
LANGUAGE=ru_RU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages tar depends on:
ii  libacl1      2.2.53-5
ii  libc6        2.29-9
ii  libselinux1  3.0-1

tar recommends no packages.

Versions of packages tar suggests:
ii  bzip2        1.0.8-2
pn  ncompress    <none>
pn  tar-doc      <none>
pn  tar-scripts  <none>
ii  xz-utils     5.2.4-1+b1

-- no debconf information

If the names of archive members contain spaces, then when you try to extract 
them using

  --files-from=file-name
  -T file-name

an error message is displayed and the operation is canceled.

Example:

$ mkdir "test 1"
$ echo "asdfghh" > "test 1/test 1.txt"

$ tar -czv  -f "test 1.tar.xz" "test 1"

$ echo "test 1/" > "list.txt"
$ echo "test 1/test 1.txt" >> "list.txt"

$ tar -xv  -f "test 1.tar.xz" "test 1/list.txt"
test 1/
test 1/test 1.txt
tar: test 1/list.txt: Not found in archive
tar: Exiting with failure status due to previous errors

But it's OK running:
$ tar -xv -f "test 1.tar.xz" "test 1/test 1.txt"
test 1/test 1.txt

Reply via email to