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