README.feature-removal-schedule 4.9 KB

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