1 This is a list of features that are scheduled to be removed from dpkg.
3 What: fallback of dpkg-source to source format "1.0" without explicit debian/source/format
6 Warning: program and lintian (missing-debian-source-format)
8 With the support of multiple source formats, the user should be explicit
9 about the desired source format. The fallback to "1.0" is there only for
10 backwards compatibility but will be removed once all packages have the
11 debian/source/format file. This is unlikely to happen before 1.17.x.
13 What --forget-old-unavail (dpkg option)
18 Purged packages are properly cleaned up now by dpkg, and old unavailable
19 leftovers are automatically cleaned up on database parsing. So there's no
20 need anymore for this manual action.
22 What: --control-path (dpkg-query option)
26 This was a semi-public interface now superseded by --control-list and
27 --control-show, which are a better interface as they do not rely on any
28 specific database layout. Although there might still be cases where it's
29 required to avoid hardcoding the database layout, and it will be kept as
30 long as there's legitimate uses for it and no viable replacements.
32 What: -L (dpkg-parsechangelog option)
38 The custom parsers have been switched from programs to perl modules,
39 and this option has no use any longer. The caller can set PERL5LIB or
40 PERLLIB to specify the perl module search path now.
42 History of feature removals
43 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
45 What: cleanup-info (program)
49 This program was needed long time ago to fixup broken info dir files
50 generated by buggy install-info programs. Should not be needed anymore.
52 What: --largemem, --smallmem (dpkg option)
56 These options have been no-ops for a long time.
58 What: --force-auto-select (dpkg option)
62 This option has been a no-op for so long, that there's no traces on git
65 What: recommended, contrib, base (priority)
69 These priorities have been superseded by either other fields or values in
72 What: 822-date (program)
76 Should switch to use 'date -R'.
78 What: support of custom changelog parsers understanding only -v
82 The debian changelog parser has been enhanced. It supports new options
83 that enable more fine-grained retrieval of information. Those new options
84 will be used by scripts (like dpkg-genchanges).
86 Custom changelog parsers must be updated to support the new API (see
87 dpkg-parsechangelog(1) and README.api).
89 What: support for environment variable DPKG_NO_TSTP
93 Having two ways to let the administrator get to a shell on conffile prompt
94 is confusing, it also impedes setting up a consistent environment to be
95 used by external programs.
102 PGP is not part of Debian and GnuPG has been the standard tool for digital
103 signatures for several years already. Supporting only GnuPG enables us to
104 rely on some of its features.
106 What: -u, --udeb (dpkg-scanpackages option)
111 This option has been superseded by -tudeb.
113 What: support for custom changelog parsers as programs
117 Using programs to implement the custom changelog parsers was very inefficient
118 as it required to parse the custom changelog, output deb822 formatted entries
119 to then parse that and output again with the desired format.
121 These were implemented as programs because at the time the perl code in dpkg
122 was not using perl modules, so it was not easy to extend. Using perl modules
123 now is cleaner and allows for a faster implementation.
125 In addition there's no known users in Debian, so it was deemed safe to remove
126 the support without a transition.
128 What: Source-Version (substvar)
131 Warning: program, lintian (substvar-source-version-is-deprecated)
133 The semantics of Source-Version were misleading when applied to binNMUs.
134 Should switch to use binary:Version or source:Version substvars.
136 The code got changed to emit errors.
138 What: -Zlzma (dpkg-deb option value)
143 LZMA compression has some format deficiencies fixed by XZ, which is what
144 upstream has replaced it with, as such there's no point in continuing to
145 support compressing new .deb files with that format, although unpacking
146 will be kept being supported to handle existing compressed files.
148 What: -Zbzip2 (dpkg-deb option value)
153 bzip2 compression has been superseded by xz when it comes to size, and
154 gzip is still faster, in Debian there's really not many packages using
155 that compression, as such there's no point in continuing to support
156 compressing new .deb files with that format, although unpacking
157 will be kept being supported to handle existing compressed files.
159 What: --new, --old (dpkg-deb options)
164 These options are not future-proof, and do not give the caller any
165 guarantee of what exact format version will be used to produce the
166 output file. They were replaced with a new --deb-format option.
168 What: --print-installation-architecture (dpkg option)
173 Obsoleted long time ago (2005-01-22). Remaining packages should switch to
174 use 'dpkg --print-architecture'.