#62 Not able to open .tar.xz files

open
nobody
None
5
2015-02-02
2012-08-15
Daniel Andersson
No

This is probably the same problem as in 2870510, but I wasn't able to comment there.

Reproducing the problem:

Create a .tar.xz file:
$ tar --create --xz --file=test.tar.xz --verbose rfc*
rfc1157.txt
rfc1.txt
rfc2233.txt
rfc2822.txt

It looks OK:
$ file test.tar.xz
test.tar.xz: XZ compressed data

Trying to open it:
$ xarchiver test.tar.xz &

Here I get the error message:
Can't open file "test.tar.xz": Archive format is not recognized!

But I can list the content:
$ tar --list --xz --file=test.tar.xz
rfc1157.txt
rfc1.txt
rfc2233.txt
rfc2822.txt

And I can open the file in file-roller.

$ xarchiver --version
xarchiver 0.5.2svn-r29673

Copyright (c) 2005-2008
Giuseppe Torelli - Colossus <colossus73@gmail.com>

Please report bugs to <http://bugzilla.xfce.org/>.

I'm running Debian Wheezy.

$ cupt show xarchiver
Package: xarchiver
Version: 1:0.5.2+20090319+dfsg-4
Status: installed
Automatically installed: no
Source: xarchiver
Priority: optional
Section: x11
Uncompressed size: 1644KiB
Maintainer: Christian Hübschi <huebschi.christian@gmail.com>
Architecture: i386
Depends: libatk1.0-0 (>= 1.20.0), libc6 (>= 2.3), libcairo2 (>= 1.2.4), libfontconfig1 (>= 2.4.0), libfreetype6 (>= 2.2.1), libglib2.0-0 (>= 2.16.0), libgtk2.0-0 (>= 2.10.0), libpango1.0-0 (>= 1.14.0)
Recommends: xdg-utils, arj, bzip2, rpm, p7zip-full, unzip, zip
Suggests: lha, rar
URI: http://ftp.sunet.se/pub/Linux/distributions/debian/pool/main/x/xarchiver/
MD5: 77d44e78d2aa238fc001e7795fe9ff7e
SHA1: 6564237855702b164e10d2b472d12180b4e8628a
SHA256: 4f64bef4e164d6756d2909665275117ddd12359c248d3c4d05b1fd0160856e68
Description: GTK+ frontend for most used compression formats
Xarchiver is a Desktop Environment independent GTK+ 2 frontend for manipulating
7z, arj, bzip2, gzip, rar, tar, zip, and RPM files. It allows you to create
archives and add, extract, and delete files from them. Password protected
archives in the arj, 7z, rar, and zip formats are supported.
.
Xarchiver uses library package routines, if available. If you need even more
package formats, try xarchive which uses shell scripts.
Homepage: http://xarchiver.xfce.org/

Discussion

  •  
    Attachments
  • Hi Daniel,

    Xarchiver is currently being rewritten. The new code uses plugins. Stay tuned!!!