Source: perl
Version: 5.40.0-7
Tags: patch

Dear Maintainer(s),

Perl pre-depends on dpkg 1.17.17, which shipped in 2014 and was part of
Debian 8 (Jessie), which is long since EOL and at the time of Trixie's
release will be old-old-old-old-old-stable, so it can be safely dropped
now, so please consider doing so, since it's prio: essential anyway. MR
opened on Salsa and patch attached.

https://salsa.debian.org/perl-team/interpreter/perl/-/merge_requests/7

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 perl, which is needed at runtime.

Thanks!

--- a/debian/control
+++ b/debian/control
@@ -29,7 +29,7 @@ Package: perl-base
 Essential: yes
 Priority: required
 Architecture: any
-Pre-Depends: ${shlibs:Depends}, dpkg (>= 1.17.17)
+Pre-Depends: ${shlibs:Depends}
 Depends: ${misc:Depends}
 Conflicts: safe-rm (<< 0.8),
  update-inetd (<< 4.41),
@@ -189,7 +189,6 @@ Priority: optional
 Architecture: all
 Multi-Arch: foreign
 Depends: perl-base (>= ${Upstream-Version}-1), ${misc:Depends}
-Pre-Depends: dpkg (>= 1.17.17)
 Recommends: perl (>= ${Upstream-Version}-1),
 Conflicts: perl-modules (<< 5.22.0~),
 Breaks: perl (<< ${Upstream-Version}~),
@@ -302,7 +301,6 @@ Package: perl
 Priority: standard
 Architecture: any
 Multi-Arch: allowed
-Pre-Depends: dpkg (>= 1.17.17)
 Depends: perl-base (= ${binary:Version}), perl-modules-5.40 (>= 
${source:Version}), libperl5.40 (= ${binary:Version}), ${shlibs:Depends}, 
${misc:Depends}
 Conflicts: libjson-pp-perl (<< 2.27200-2)
 Breaks: perl-doc (<< ${Upstream-Version}-1),

Reply via email to