I tried this two commands:
$ tar -tzf xscreensaver-5.19.tar.gz
$ tar -taf xscreensaver-5.19.tar.gz

The same error occurs.
Everything is fine with xscreensaver-5.18.tar.gz. Apparently tar fails to 
recognize that  xscreensaver-5.19.tar.gz is gz compressed, even when I give the 
-z option. For xscreensaver-5.18.tar.gz, the compression is detected without a 
special command line option.

** Changed in: tar (Ubuntu)
       Status: Invalid => New

** Description changed:

- I tired to open 
http://pkgs.fedoraproject.org/repo/pkgs/xscreensaver/xscreensaver-5.19.tar.gz/db001e7d17b68fef22f66beb68beb114/xscreensaver-5.19.tar.gz
 with
+ I tried to open 
http://pkgs.fedoraproject.org/repo/pkgs/xscreensaver/xscreensaver-5.19.tar.gz/db001e7d17b68fef22f66beb68beb114/xscreensaver-5.19.tar.gz
 with
  $ tar -tf xscreensaver-5.19.tar.gz
  I get the following:
  
  tar: This does not look like a tar archive
  tar: Skipping to next header
  tar: Exiting with failure status due to previous errors
  
  But this works:
  
  $ gzip -d xscreensaver-5.19.tar.gz
  $ tar -tf xscreensaver-5.19.tar
  
  This works too:
  
  $ tar -tf xscreensaver-5.18.tar.gz
  with the file from 
http://pkgs.fedoraproject.org/repo/pkgs/xscreensaver/xscreensaver-5.18.tar.gz/92eccee4bf6cd8bc6c0de98c1b3107fa/xscreensaver-5.18.tar.gz
  
  So tar can open tar.gz files and xscreensaver-5.19.tar.gz is readable,
  but tar can't open this file.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: tar 1.26-4ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-27.43-generic 3.2.21
  Uname: Linux 3.2.0-27-generic x86_64
  ApportVersion: 2.0.1-0ubuntu12
  Architecture: amd64
  Date: Fri Aug 17 12:21:13 2012
  InstallationMedia: Xubuntu 11.04 "Natty Narwhal" - Release amd64 (20110426.1)
  ProcEnviron:
-  TERM=xterm
-  PATH=(custom, no user)
-  LANG=de_DE.UTF-8
-  SHELL=/bin/bash
+  TERM=xterm
+  PATH=(custom, no user)
+  LANG=de_DE.UTF-8
+  SHELL=/bin/bash
  SourcePackage: tar
  UpgradeStatus: Upgraded to precise on 2012-05-02 (107 days ago)

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

Title:
  tar considers tar.gz as tar and fails

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to