[Bug 1037193] Re: deb package archive should use "lzma -1" or "xz -1e" compression
Joseph Salisbury
joseph.salisbury at canonical.com
Wed Aug 15 17:05:15 UTC 2012
** Package changed: linux (Ubuntu) => dpkg (Ubuntu)
** Changed in: dpkg (Ubuntu)
Status: Confirmed => New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/1037193
Title:
deb package archive should use "lzma -1" or "xz -1e" compression
Status in “dpkg” package in Ubuntu:
New
Bug description:
If I understood, in order to fit any system, the compression method
has to ensure that the required memory while decompression won't be
too high. Maybe that's a reason of the choice of gzip compression
method (in addition to its speed for decompression).
However, would it be possible to use the "--fast" or "-1" option of
the lzma or xz compression programs ? With such a low force of those
compression algorithms, the required memory for decompression is quite
the same than the memory required by gunzip. However the compression
ratio becomes better.
Below are a few details of the comparison :
----------------------------------------------------------
j at j-lt:~/tmp$ 7z x /var/cache/apt/archives/linux-libc-dev_2.6.32-42.95_i386.deb
7-Zip 9.04 beta Copyright (c) 1999-2009 Igor Pavlov 2009-05-30
p7zip Version 9.04 (locale=fr_FR.UTF-8,Utf16=on,HugeFiles=on,1 CPU)
Processing archive: /var/cache/apt/archives/linux-libc-
dev_2.6.32-42.95_i386.deb
Extracting control.tar.gz
Extracting data.tar.gz
Everything is Ok
Files: 2
Size: 856328
Compressed: 856520
j at j-lt:~/tmp$ gunzip -c data.tar.gz > data.tar
j at j-lt:~/tmp$ gzip -c9 data.tar > data.tar.gz-9
j at j-lt:~/tmp$ lzma -c1 data.tar > data.tar.lzma-1
j at j-lt:~/tmp$ xz -c1e data.tar > data.tar.xz-1
j at j-lt:~/tmp$ ls -lh
total 6,0M
-rw-r--r-- 1 j j 18K 2012-07-25 19:36 control.tar.gz
-rw-r--r-- 1 j j 3,0M 2012-08-15 17:46 data.tar
-rw-r--r-- 1 j j 820K 2012-07-25 19:36 data.tar.gz
-rw-r--r-- 1 j j 820K 2012-08-15 17:46 data.tar.gz-9
-rw-r--r-- 1 j j 765K 2012-08-15 17:47 data.tar.lzma-1
-rw-r--r-- 1 j j 718K 2012-08-15 17:52 data.tar.xz-1
j at j-lt:~/tmp$
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: linux-libc-dev 2.6.32-42.95
Regression: No
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.32-41.94-generic 2.6.32.59+drm33.24
Uname: Linux 2.6.32-41-generic i686
AlsaDevices: Error: command ['ls', '-l', '/dev/snd/'] failed with exit code 2: ls: cannot access /dev/snd/: No such file or directory
AplayDevices: Error: [Errno 2] Aucun fichier ou dossier de ce type
Architecture: i386
ArecordDevices: Error: [Errno 2] Aucun fichier ou dossier de ce type
BootDmesg: (Nothing has been logged yet.)
Date: Wed Aug 15 18:07:22 2012
Dependencies:
Lsusb:
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 046d:c016 Logitech, Inc. M-UV69a/HP M-UV96 Optical Wheel Mouse
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: Sony Corporation PCG-FX301(FR)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-41-generic root=UUID=cc325b47-77d9-4b57-98af-0db1393969c6 ro quiet splash
ProcEnviron:
LANG=fr_FR.UTF-8
SHELL=/bin/dash
SourcePackage: linux
dmi.bios.date: 07/04/2001
dmi.bios.vendor: Sony Corporation
dmi.bios.version: R0104K5
dmi.board.name: QII-Project
dmi.board.vendor: Sony Corporation
dmi.board.version: 1A
dmi.chassis.asset.tag: 962C8394A050580000000000
dmi.chassis.type: 10
dmi.chassis.vendor: Sony Corporation
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnSonyCorporation:bvrR0104K5:bd07/04/2001:svnSonyCorporation:pnPCG-FX301(FR):pvr01:rvnSonyCorporation:rnQII-Project:rvr1A:cvnSonyCorporation:ct10:cvrN/A:
dmi.product.name: PCG-FX301(FR)
dmi.product.version: 01
dmi.sys.vendor: Sony Corporation
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1037193/+subscriptions
More information about the foundations-bugs
mailing list