Package: gzip Tags: patch Dear Maintainer(s),
gzip depends on dpkg >= 1.15.4, which was uploaded in September 2009 and was part of Debian 4.0 Etch, released in 2010. dpkg is essential, and the required version has been satisfied for a long time as pre-Etch releases are all since long been EOL, so it can be safely dropped. Dropping the explicit and unnecessary dependency eases building a package-based minimal, read-only initrd with the maintainer scripts being ran at image build time, as we can install packages and then remove apt/dpkg using --root from outside without removing gzip, which is needed at runtime. Trivial patch attached. Thanks!
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Luca Boccassi <luca.bocca...@gmail.com> Date: Sun, 8 Dec 2024 14:00:37 +0000 Subject: [PATCH] gzip: drop versioned dependency satisfied since Debian 4.0 dpkg 1.15.4 was uploaded in September 2009 and was part of Debian 4.0 Etch, released in 2010. dpkg is essential, and the required version has been satisfied for a long time as pre-Etch releases are all since long been EOL, so it can be safely dropped. This eases building a package-based minimal, read-only initrd with the maintainer scripts being ran at image build time, as we can install packages and then remove apt/dpkg using --root from outside without removing gzip, which is needed at runtime. --- debian/control | 1 - 1 file changed, 1 deletion(-) diff --git a/debian/control b/debian/control index e6c4f18..003daf0 100644 --- a/debian/control +++ b/debian/control @@ -14,7 +14,6 @@ Package: gzip Architecture: any Essential: yes Pre-Depends: ${shlibs:Depends} -Depends: dpkg (>= 1.15.4) | install-info Suggests: less Conflicts: zutils (<< 1.13-2~) Description: GNU compression utilities