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