Package: dpkg
Version: 1.15.3.1
Severity: wishlist

I have been working on packaging XZ Utils, which is supposed to
eventually supersede LZMA Utils. To that end, it provides “lzma”,
“unlzma”, etc commands for compatibility with lzma, but scripts and
other programs are encouraged to use “xz” directly when possible.
Would it be possible for dpkg to detect whether xz is on the $PATH,
and if so, use that instead of lzma?

The motivation is the following:

 * Some users may want to install XZ Utils without the legacy commands
(by installing xz-utils but not xz-lzma nor lzma). dpkg should still
work for such users.

 * Without this change, switching between lzma and xz-lzma is
impossible, since it requires being without the pseudo-essential
package lzma for a few moments. With this change, switching between
lzma and xz-lzma would work fine as long as xz-utils is installed.

Note that the version of xz-utils in experimental is not split into
xz-utils and xz-lzma yet. If you would like a split version to try
out, please let me know. For just xz-utils without the lzma
compatibility commands, see
<http://collab-maint.alioth.debian.org/xz-utils/>.

Regards,
Jonathan




--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to