Package: xz-utils
Version: 5.1.1alpha+20120614-1
Severity: minor
Justification: policy ยง2.5
Tags: patch

Hi,

xz-utils has "Priority: required" but no pseudo-essential package
depends on it:

        $ grep-dctrl -sPackage -Fpriority required \
          -a -FDepends,Pre-Depends 'xz-utils' \
          </var/lib/cupt/lists/*_debian_dists_wheezy_main_binary-i386_Packages |
          wc -l
        0

The priority should be 'important' or lower as discussed at [1]
and [2].  This could help people building tiny systems to make
them smaller.  Patch attached.

[1] http://bugs.debian.org/452393
[2] http://thread.gmane.org/gmane.linux.debian.devel.release/55821
From: Jonathan Nieder <jrnie...@gmail.com>
Date: Sat, 23 Jun 2012 17:44:04 -0500
Subject: debian/control: xz-utils is not pseudo-essential any more

Since dpkg 1.16.4~6 (libdpkg: Add liblzma compression support,
2012-06-07), the xz command is no longer needed in a minimal Debian
system.

Based on its list of reverse-dependencies, it is even safe to lower
the priority to optional.  Let's make it "standard", since it is not
part of the traditional Unix toolset but is a useful component even in
reasonably small character-mode systems.
---
 debian/changelog |    1 +
 debian/control   |    1 +
 2 files changed, 2 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index a69f889..56563e1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,6 @@
 xz-utils (5.1.1alpha+20120614-1.1) unstable; urgency=low
 
+  * Lower priority of xz-utils to standard.
   * xz-utils/README.Debian: Document differences from upstream.
 
  -- Jonathan Nieder <jrnie...@gmail.com>  Fri, 17 Aug 2012 19:57:24 -0700
diff --git a/debian/control b/debian/control
index 986f0c1..281931e 100644
--- a/debian/control
+++ b/debian/control
@@ -29,6 +29,7 @@ Description: XZ-format compression library
  format, use the p7zip package instead.)
 
 Package: xz-utils
+Priority: standard
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Multi-Arch: foreign
-- 
1.7.9.6 (Apple Git-31.1)

Reply via email to