README.feature-removal-schedule 5.6 KB

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