GNU bug report logs - #52227
gzip bug: gzip -l produces bad ratio

Previous Next

Package: gzip;

Reported by: Austin Corbett <gaustincorbett <at> gmail.com>

Date: Wed, 1 Dec 2021 16:45:01 UTC

Severity: normal

Merged with 17804, 29089, 30935, 30936, 38766, 42965, 48424

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Austin Corbett <gaustincorbett <at> gmail.com>
To: 52227 <at> debbugs.gnu.org
Subject: bug#52227: gzip bug: gzip -l produces bad ratio
Date: Wed, 1 Dec 2021 08:43:55 -0800
[Message part 1 (text/plain, inline)]
*Description of bug:*  "gzip -l" produces the following output:

gzip -l big_archive.tgz
         compressed        uncompressed  ratio uncompressed_name
       617736021001          3613347840 -16995.9% big_archive.tar

As you can see, the ratio field is producing an incorrect result.  I'm not
sure if this is because the archive is too big or what.  It was generated
via the following command in quotes:
"tar -cv /path/to/folder/big_folder | gzip --rsyncable >
/path/to/big_archive.tgz"

*gzip version:* 1.9
*Hardware:* Dell R720 Poweredge Rack Server
*OS:* Debian 10 buster
*Kernel:* Linux 4.19.0-18-amd64
*Architecture:* x86-64

Best regards,
-- 

G. Austin Corbett, P.E.
Staff Engineer
OurEvolution Energy & Engineering

1821 Buttermilk Lane
Arcata, CA 95521
Mobile: 707.845.4778
[Message part 2 (text/html, inline)]
[image.png (image/png, inline)]

This bug report was last modified 3 years and 156 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.