Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.
To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1059685/+editstatus and add the package name in the text box next to the word Package. [This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.] ** Tags added: bot-comment -- You received this bug notification because you are a member of AIMS, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1059685 Title: tar hijacks lzma Status in Ubuntu: New Bug description: 0 jan@muizenberg:/var/autofs/misc/home/jan$lsb_release -d Description: Ubuntu 12.04.1 LTS 0 jan@muizenberg:/var/autofs/misc/home/jan$dpkg -l tar|tail -1 ii tar 1.26-4ubuntu1 GNU version of the tar archiving utility 0 jan@muizenberg:/var/autofs/misc/home/jan$dpkg -l |grep xz-lzma ii xz-lzma 5.1.1alpha+20110809-3 XZ-format compression utilities - compatibility commands 0 jan@muizenberg:/var/autofs/misc/home/jan$tar --lzma -cf pgd-essay-template.tar.lzma pgd-essay-template.tar 0 jan@muizenberg:/var/autofs/misc/home/jan$unlzma pgd-essay-template.tar.lzma unlzma: pgd-essay-template.tar.lzma: File format not recognised 1 jan@muizenberg:/var/autofs/misc/home/jan$file pgd-essay-template.tar.lzma pgd-essay-template.tar.lzma: XZ compressed data 0 jan@muizenberg:/var/autofs/misc/home/jan$rm pgd-essay-template.tar 0 jan@muizenberg:/var/autofs/misc/home/jan$unxz pgd-essay-template.tar.lzma 0 jan@muizenberg:/var/autofs/misc/home/jan$sudo apt-get install lzma Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED xz-lzma The following NEW packages will be installed lzma 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded. Need to get 52,2 kB of archives. After this operation, 18,4 kB disk space will be freed. Do you want to continue [Y/n]? y Get:1 http://za.archive.ubuntu.com/ubuntu/ precise/main lzma amd64 9.22-2ubuntu1 [52,2 kB] Fetched 52,2 kB in 0s (53,1 kB/s) (Reading database ... 695021 files and directories currently installed.) Removing xz-lzma ... Processing triggers for man-db ... Selecting previously unselected package lzma. (Reading database ... 694994 files and directories currently installed.) Unpacking lzma (from .../lzma_9.22-2ubuntu1_amd64.deb) ... Processing triggers for man-db ... Setting up lzma (9.22-2ubuntu1) ... update-alternatives: using /usr/bin/lzmp to provide /usr/bin/lzma (lzma) in auto mode. 0 jan@muizenberg:/var/autofs/misc/home/jan$tar --lzma -cf pgd-essay-template.tar.lzma pgd-essay-template.tar 0 jan@muizenberg:/var/autofs/misc/home/jan$rm pgd-essay-template.tar 0 jan@muizenberg:/var/autofs/misc/home/jan$unlzma pgd-essay-template.tar.lzma unlzma: SetDecoderProperties() error 1 jan@muizenberg:/var/autofs/misc/home/jan$unxz pgd-essay-template.tar.lzma 0 jan@muizenberg:/var/autofs/misc/home/jan$ Whether xz-lzma or lzma is installede, these errors are passed to file-roller, meaning end users using GUI interfaces like unity, nautilus, and file-roller cannot open lzma files created by tar, as they are actually xz files. Note files created by lzma (and not by tar -J or tar --lzma) work fine, again with either lzma and xz-lzma installed: 0 jan@muizenberg:/var/autofs/misc/home/jan$dpkg -l lzma|tail -1 ii lzma 9.22-2ubuntu1 Compression and decompression in the LZMA format - command line utility 0 jan@muizenberg:/var/autofs/misc/home/jan$lzma pgd-essay-template.tar 0 jan@muizenberg:/var/autofs/misc/home/jan$file pgd-essay-template.tar.lzma pgd-essay-template.tar.lzma: LZMA compressed data, non-streamed, size 1863680 0 jan@muizenberg:/var/autofs/misc/home/jan$unlzma pgd-essay-template.tar.lzma 0 jan@muizenberg:/var/autofs/misc/home/jan$sudo apt-get install xz-lzma Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED lzma The following NEW packages will be installed xz-lzma 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded. Need to get 12,4 kB of archives. After this operation, 18,4 kB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://za.archive.ubuntu.com/ubuntu/ precise/main xz-lzma all 5.1.1alpha+20110809-3 [12,4 kB] Fetched 12,4 kB in 0s (12,7 kB/s) (Reading database ... 694999 files and directories currently installed.) Removing lzma ... Processing triggers for man-db ... Selecting previously unselected package xz-lzma. (Reading database ... 694994 files and directories currently installed.) Unpacking xz-lzma (from .../xz-lzma_5.1.1alpha+20110809-3_all.deb) ... Processing triggers for man-db ... Setting up xz-lzma (5.1.1alpha+20110809-3) ... 0 jan@muizenberg:/var/autofs/misc/home/jan$lzma pgd-essay-template.tar 0 jan@muizenberg:/var/autofs/misc/home/jan$file pgd-essay-template.tar.lzma pgd-essay-template.tar.lzma: LZMA compressed data, streamed 0 jan@muizenberg:/var/autofs/misc/home/jan$unlzma pgd-essay-template.tar.lzma 0 jan@muizenberg:/var/autofs/misc/home/jan$ To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1059685/+subscriptions -- Mailing list: https://launchpad.net/~aims Post to : [email protected] Unsubscribe : https://launchpad.net/~aims More help : https://help.launchpad.net/ListHelp

