README.feature-removal-schedule 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. This is a list of features that are scheduled to be removed from dpkg.
  2. What: fallback of dpkg-source to source format "1.0" without explicit debian/source/format
  3. Status: deprecated
  4. When: 1.17.x
  5. Warning: program and lintian (missing-debian-source-format)
  6. Why:
  7. With the support of multiple source formats, the user should be explicit
  8. about the desired source format. The fallback to "1.0" is there only for
  9. backwards compatibility but will be removed once all packages have the
  10. debian/source/format file. This is unlikely to happen before 1.17.x.
  11. What: --print-installation-architecture (dpkg option)
  12. Status: obsolete
  13. When: 1.15.x
  14. Warning: program
  15. Why:
  16. Obsoleted long time ago (2005-01-22). Remaining packages should switch to
  17. use 'dpkg --print-architecture'.
  18. What --forget-old-unavail (dpkg option)
  19. Status: obsolete
  20. When: 1.16.x
  21. Warning: program
  22. Why:
  23. Purged packages are properly cleaned up now by dpkg, and old unavailable
  24. leftovers are automatically cleaned up on database parsing. So there's no
  25. need anymore for this manual action.
  26. What: -Zlzma (dpkg-deb option value)
  27. Status: deprecated
  28. When: 1.17.x
  29. Warning: program
  30. Why:
  31. LZMA compression has some format deficiencies fixed by XZ, which is what
  32. upstream has replaced it with, as such there's no point in continuing to
  33. support compressing new .deb files with that format, although unpacking
  34. will be kept being supported to handle existing compressed files.
  35. What: -Zbzip2 (dpkg-deb option value)
  36. Status: deprecated
  37. When: 1.18.x
  38. Warning: program
  39. Why:
  40. bzip2 compression has been superseded by xz when it comes to size, and
  41. gzip is still faster, in Debian there's really not many packages using
  42. that compression, as such there's no point in continuing to support
  43. compressing new .deb files with that format, although unpacking
  44. will be kept being supported to handle existing compressed files.
  45. What: --control-path (dpkg-query option)
  46. Status: deprecated
  47. When: 1.18.x
  48. Warning: man page
  49. This was a semi-public interface now superceded by --control-list and
  50. --control-show, which are a better interface as they do not rely on any
  51. specific database layout. Although there might still be cases where it's
  52. required to avoid hardcoding the database layout, and it will be kept as
  53. long as there's legitimate uses for it and no viable replacements.
  54. What: --new, --old (dpkg-deb options)
  55. Status: deprecated
  56. When: 1.18.x
  57. Warning: program
  58. Why:
  59. These options are not future-proof, and do not give the caller any
  60. guarantee of what exact format version will be used to produce the
  61. output file. They have been replaced with a new --deb-format option.
  62. What: -L (dpkg-parsechangelog option)
  63. Status: obsolete
  64. Since: 1.18.8
  65. When: 1.19.x
  66. Warning: program
  67. Why:
  68. The custom parsers have been switched from programs to perl modules,
  69. and this option has no use any longer. The caller can set PERL5LIB or
  70. PERLLIB to specify the perl module search path now.
  71. History of feature removals
  72. ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  73. What: cleanup-info (program)
  74. Status: removed
  75. Since: 1.15.0
  76. Why:
  77. This program was needed long time ago to fixup broken info dir files
  78. generated by buggy install-info programs. Should not be needed anymore.
  79. What: --largemem, --smallmem (dpkg option)
  80. Status: removed
  81. When: 1.15.1
  82. Why:
  83. These options have been no-ops for a long time.
  84. What: --force-auto-select (dpkg option)
  85. Status: removed
  86. When: 1.15.1
  87. Why:
  88. This option has been a no-op for so long, that there's no traces on git
  89. history of its usage.
  90. What: recommended, contrib, base (priority)
  91. Status: removed
  92. When: 1.15.1
  93. Why:
  94. These priorities have been superseded by either other fields or values in
  95. other fields.
  96. What: 822-date (program)
  97. Status: removed
  98. When: 1.15.1
  99. Why:
  100. Should switch to use 'date -R'.
  101. What: support of custom changelog parsers understanding only -v
  102. Status: removed
  103. Since: 1.15.5
  104. Why:
  105. The debian changelog parser has been enhanced. It supports new options
  106. that enable more fine-grained retrieval of information. Those new options
  107. will be used by scripts (like dpkg-genchanges).
  108. .
  109. Custom changelog parsers must be updated to support the new API (see
  110. dpkg-parsechangelog(1) and README.api).
  111. What: support for environment variable DPKG_NO_TSTP
  112. Status: removed
  113. Since: 1.15.6
  114. Why:
  115. Having two ways to let the administrator get to a shell on conffile prompt
  116. is confusing, it also impedes setting up a consistent environment to be
  117. used by external programs.
  118. What: support for PGP
  119. Status: removed
  120. When: 1.16.4
  121. Warning: program
  122. Why:
  123. PGP is not part of Debian and GnuPG has been the standard tool for digital
  124. signatures for several years already. Supporting only GnuPG enables us to
  125. rely on some of its features.
  126. What: -u, --udeb (dpkg-scanpackages option)
  127. Status: removed
  128. When: 1.16.4
  129. Warning: program
  130. Why:
  131. This option has been superseded by -tudeb.
  132. What: support for custom changelog parsers as programs
  133. Status: removed
  134. Since: 1.18.8
  135. Why:
  136. Using programs to implement the custom changelog parsers was very inefficient
  137. as it required to parse the custom changelog, output deb822 formatted entries
  138. to then parse that and output again with the desired format.
  139. .
  140. These were implemented as programs because at the time the perl code in dpkg
  141. was not using perl modules, so it was not easy to extend. Using perl modules
  142. now is cleaner and allows for a faster implementation.
  143. .
  144. In addition there's no known users in Debian, so it was deemed safe to remove
  145. the support without a transition.
  146. What: Source-Version (substvar)
  147. Status: removed
  148. When: 1.18.11
  149. Warning: program, lintian (substvar-source-version-is-deprecated)
  150. Why:
  151. The semantics of Source-Version were misleading when applied to binNMUs.
  152. Should switch to use binary:Version or source:Version substvars.
  153. .
  154. The code got changed to emit errors.