Description of problem:
The current version of xarchiver cannot open xz-compressed files
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. download xarchiver-0.5.2-5.fc12.i686.rpm
2. run the command: xarchiver xarchiver-0.5.2-5.fc12.i686.rpm
bzip2: /tmp/xa-Ly2tRE/file.gz_bz is not a bzip2 file.
rpm file opens and I see its contents
Found a patched version at http://support.zenwalk.org/viewtopic.php?f=37&t=25656
that can handle xz files, but it does not recognize rpm files. Upstream doesn't appear to be very active (other than translations)
Here is the error I get when running the zenwalk version on
xz: /tmp/xa-EiVTmu/xarchiver-0.5.2-5.fc12.i686.rpm: Filename has an unknown suffix, skipping
file-roller is not a lightweight option:
Package Arch Version Repository Size
file-roller i686 2.29.92-1.fc13 fedora 1.1 M
Installing for dependencies:
gnome-desktop i686 2.29.92-1.fc13 fedora 994 k
gnome-python2-gnome i686 2.28.0-2.fc13 fedora 69 k
goddard-backgrounds-gnome noarch 12.91.0-2.fc13 fedora 4.2 k
nautilus i686 188.8.131.52-1.fc13 fedora 3.5 M
nautilus-extensions i686 184.108.40.206-1.fc13 fedora 51 k
Install 6 Package(s)
Upgrade 0 Package(s)
Total download size: 5.7 M
Installed size: 24 M
Thanks for you report. Currently I have nether time nor intentions to work on this, upstream already has a request for this, see
As long as rpms are not supported, I will remove the mime type from the desktop file, so xarchiver is not suggested/associated.
Upstream author himself has submitted a request, so I guess he is working on it:
Here is a patch from Slackware.
Thanks. I wonder why Slackware has not added it to the upstream bug report.
Zenwalk (link in comment #0) uses the same patch as slackbuilds.org (comment #3).
But it is about xz support, not lzma as used in rpm.
Sorry for any confusion.
See http://daniel.hozac.com/tmp/xarchiver-0.5.2-rpm2cpio.patch for a simple patch that makes it work on RPM-based systems (and others with rpm installed).
Is it patched in / for Fedora 15?
This message is a reminder that Fedora 13 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 13. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '13'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 13's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 13 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
xarchiver-0.5.2-8.fc14 has been submitted as an update for Fedora 14.
xarchiver-0.5.2-8.fc15 has been submitted as an update for Fedora 15.
(In reply to comment #7)
> Is it patched in / for Fedora 15?
You can read changelogs, can you?
(In reply to comment #9)
Thanks for applying the patch. XZ support seems to work so far.
I tried also to open xarchiver-0.5.2-8.fc14.x86_64.rpm itself with the same installed package but no success.
I can only speak for Fedora 14.
(In reply to comment #6)
> See http://daniel.hozac.com/tmp/xarchiver-0.5.2-rpm2cpio.patch for a simple
> patch that makes it work on RPM-based systems
Daniel, is anything else but your patch needed?
Just installed xarchiver-0.5.2-6.fc15.x86_64. Tested with my file mountie.tar.xz file. I can see the files in the archive, but can't view or extract them.
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing xarchiver-0.5.2-8.fc15'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
Upgraded to xarchiver-0.5.2-8.fc15.x86_64
Still doesn't work. (Anonymous Tester - 2011-06-03 10:34:44)
~/Desktop$ rpm -qa | grep xz
Daniel, can you please help us with your patch? I wonder if I missed something?
*** Bug 711983 has been marked as a duplicate of this bug. ***
Created attachment 503876 [details]
Fixed xz patch
It's a bug in the xz patch. It would treat rpm, lzo, tar, 7zip, lha, and deb as xz too, and fail. This patch should fix that.
Note, I didn't fix the memcmp's aside from the missing comparison. They are further incorrect in that they only compare the first 3 bytes, while meaning to pass 7 bytes, but failing and passing 10. Perhaps that is fine though.
Yeah. At least the patch works, thanks a lot for that. Frankly speaking I don't want to invest much work into xarchiver as it seems dead.
I'll use file-roller instead for pragmatic reasons, so I am not interested in a rpm-fixed xarchiver any more.
I 've tested xarchiver-0.5.2-9.fc15.x86_64, with that version it's possible to open and extract a rpm.
Thx for fixing.
But inside thunar the commands 'extract here' or 'extract to' from the right click menu, doesn't work.
That means nothing happens if you try this commands.
But this seems to be a thunar problem.
For me it's no solution to work with file-roller.
[rave@mother ~]$ file-roller
GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
GLib-GIO-ERROR **: Settings schema 'org.gnome.nautilus.preferences' is not installed
I don't want install unnecessary gnome stuff. ;-)
(In reply to comment #23)
> But inside thunar the commands 'extract here' or 'extract to' from the right
> click menu, doesn't work.
This is bug 643676, please don't mess everything up.
> [rave@mother ~]$ file-roller
> GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not
> be saved or shared with other applications.
> GLib-GIO-ERROR **: Settings schema 'org.gnome.nautilus.preferences' is not
This is an issue with file-roller. Uninstall file-roller-nautilus. If the problem still occurs, please file a bug against file-roller and cc me.
xarchiver-0.5.2-10.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
xarchiver-0.5.2-10.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
There's an upstream bug report, propably related to our issue here.
That is not the upstream bug report because Xfce no longer is upstream. Two upstream reports are already mentioned in comment 1 and comment 2.