unlzma -l fails to recognize files created by lzma

Bug #1291020 reported by gregrwm
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
Triaged
High
Unassigned
xz-utils (Ubuntu)
Triaged
Wishlist
Unassigned

Bug Description

unlzma -l fails to recognize files created by lzma:

  # lzma foo
  # unlzma -l foo.lzma
unlzma: --list works only on .xz files (--format=xz or --format=auto)

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: xz-utils 5.1.1alpha+20120614-2ubuntu2
ProcVersionSignature: Ubuntu 3.13.0-14.34-generic 3.13.5
Uname: Linux 3.13.0-14-generic i686
ApportVersion: 2.13.2-0ubuntu5
Architecture: i386
Date: Tue Mar 11 14:16:20 2014
Dependencies:
 gcc-4.9-base 4.9-20140222-0ubuntu1
 libc6 2.19-0ubuntu2
 libgcc1 1:4.9-20140222-0ubuntu1
 liblzma5 5.1.1alpha+20120614-2ubuntu2
 multiarch-support 2.19-0ubuntu2
InstallationDate: Installed on 2014-01-30 (40 days ago)
InstallationMedia: Lubuntu 14.04 "Trusty Tahr" - Alpha i386 (20140129)
SourcePackage: xz-utils
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
gregrwm (gregrwm) wrote :
Anders (eddiedog988)
Changed in xz-utils (Ubuntu):
status: New → Confirmed
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

It renders essential functionality of the package (or a dependent one) broken.

Changed in xz-utils (Ubuntu):
importance: Undecided → High
status: Confirmed → Triaged
Changed in hundredpapercuts:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Mathew Hodson (mhodson) wrote :

This isn't a bug. Maybe it's a feature request.

The message gives all the information you need. The --list function (or -l) works only on .xz files not .lzma files.

The command lzma is equivalent to xz --format=lzma so it creates a .lzma file. If you want to be able to print information about your compressed file, you need to create it with xz (--format=xz or --format=auto) foo.

$ xz foo
$ xz -l foo.xz
Strms Blocks Compressed Uncompressed Ratio Check Filename
    1 0 32 B 0 B --- CRC64 foo.xz

Changed in xz-utils (Ubuntu):
importance: High → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.