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