[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1119696: Error : dpkg-reconfigure tzdata



Hi,

On 2025-10-30 19:21, O.Romain.Jaillet-ramey wrote:
> Package: tzdata
> Version: 2024a-0+deb10u1

This version is not supported anymore.
 
> Package: tzdata
> Version: 2025b-0+deb12u2

This one is supported.

> And more...
> 
> I have a server in Canada - I wanted to change the server's date so that it's configured to have the date of the country and region where it's located, so:
> 
> Error #1:
> 
> - I can't find the TimeZone: America/Montreal (GMT -4)

That sound strange. Here is a transcript of the debconf configuration on
bookworm, using the readline interface to be able to show it in a mail:

# dpkg -l tzdata
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Tr>
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version         Architecture Description
+++-==============-===============-============-=======================>
ii  tzdata         2025b-0+deb12u2 all          time zone and daylight->

# dpkg-reconfigure tzdata
Configuring tzdata
------------------

Please select the geographic area in which you live. Subsequent 
configuration questions will narrow this down by presenting a list of 
cities, representing the time zones in which they are located.

  1. Africa        5. Asia            9. Indian Ocean
  2. Americas      6. Atlantic Ocean  10. Pacific Ocean
  3. Antarctica    7. Australia       11. US
  4. Arctic Ocean  8. Europe          12. None of the above

Geographic area: 2


Please select the city or region corresponding to your time zone.

  1. Adak                     80. Jamaica
  2. Anchorage                81. Juneau
  3. Anguilla                 82. Kentucky/Louisville
  4. Antigua                  83. Kentucky/Monticello
  5. Araguaina                84. Kralendijk
  6. Argentina/Buenos_Aires   85. La_Paz
  7. Argentina/Catamarca      86. Lima
  8. Argentina/Cordoba        87. Los_Angeles
  9. Argentina/Jujuy          88. Lower_Princes
  10. Argentina/La_Rioja      89. Maceio
  11. Argentina/Mendoza       90. Managua
  12. Argentina/Rio_Gallegos  91. Manaus
  13. Argentina/Salta         92. Marigot
  14. Argentina/San_Juan      93. Martinique
  15. Argentina/San_Luis      94. Matamoros
  16. Argentina/Tucuman       95. Mazatlan
  17. Argentina/Ushuaia       96. Menominee
  18. Aruba                   97. Merida
  19. Asuncion                98. Metlakatla
  20. Atikokan                99. Mexico_City
  21. Atka                    100. Miquelon
  22. Bahia                   101. Moncton
  23. Bahia_Banderas          102. Monterrey
  24. Barbados                103. Montevideo
  25. Belem                   104. Montreal
  26. Belize                  105. Montserrat
  27. Blanc-Sablon            106. Nassau
  28. Boa_Vista               107. New_York
  29. Bogota                  108. Nipigon
  30. Boise                   109. Nome
  31. Cambridge_Bay           110. Noronha
  32. Campo_Grande            111. North_Dakota/Beulah
  33. Cancun                  112. North_Dakota/Center
  34. Caracas                 113. North_Dakota/New_Salem
  35. Cayenne                 114. Nuuk
  36. Cayman                  115. Ojinaga
  37. Chicago                 116. Panama
  38. Chihuahua               117. Pangnirtung
  39. Ciudad_Juarez           118. Paramaribo
[More] 

  40. Coral_Harbour           119. Phoenix
  41. Costa_Rica              120. Port-au-Prince
  42. Coyhaique               121. Port_of_Spain
  43. Creston                 122. Porto_Acre
  44. Cuiaba                  123. Porto_Velho
  45. Curacao                 124. Puerto_Rico
  46. Danmarkshavn            125. Punta_Arenas
  47. Dawson                  126. Rainy_River
  48. Dawson_Creek            127. Rankin_Inlet
  49. Denver                  128. Recife
  50. Detroit                 129. Regina
  51. Dominica                130. Resolute
  52. Edmonton                131. Rio_Branco
  53. Eirunepe                132. Santa_Isabel
  54. El_Salvador             133. Santarem
  55. Ensenada                134. Santiago
  56. Fort_Nelson             135. Santo_Domingo
  57. Fortaleza               136. Sao_Paulo
  58. Glace_Bay               137. Scoresbysund
  59. Godthab                 138. Shiprock
  60. Goose_Bay               139. Sitka
  61. Grand_Turk              140. St_Barthelemy
  62. Grenada                 141. St_Johns
  63. Guadeloupe              142. St_Kitts
  64. Guatemala               143. St_Lucia
  65. Guayaquil               144. St_Thomas
  66. Guyana                  145. St_Vincent
  67. Halifax                 146. Swift_Current
  68. Havana                  147. Tegucigalpa
  69. Hermosillo              148. Thule
  70. Indiana/Indianapolis    149. Thunder_Bay
  71. Indiana/Knox            150. Tijuana
  72. Indiana/Marengo         151. Toronto
  73. Indiana/Petersburg      152. Tortola
  74. Indiana/Tell_City       153. Vancouver
  75. Indiana/Vevay           154. Virgin
  76. Indiana/Vincennes       155. Whitehorse
  77. Indiana/Winamac         156. Winnipeg
  78. Inuvik                  157. Yakutat
  79. Iqaluit                 158. Yellowknife

Time zone: 104



Current default time zone: 'America/Montreal'
Local time is now:      Tue Nov  4 15:46:50 EST 2025.
Universal Time is now:  Tue Nov  4 20:46:50 UTC 2025.

#

> Error #2:
> 
> - I have to configure Others / GMT +4 ???? to get the correct time.

Yes, this is actually correct. Contrary to modern conventions, the 
POSIX-compatible zones use positive values to refer to POSIX-compatible 
zones use positive values to refer to zones west of Greenwich and 
negative values for those east of Greenwich.

Since Bookworm, this is be explained in the debconf template where you 
select these zones:

# dpkg-reconfigure tzdata
Configuring tzdata
------------------

Please select the geographic area in which you live. Subsequent 
configuration questions will narrow this down by presenting a list of 
cities, representing the time zones in which they are located.

  1. Africa        5. Asia            9. Indian Ocean
  2. Americas      6. Atlantic Ocean  10. Pacific Ocean
  3. Antarctica    7. Australia       11. US
  4. Arctic Ocean  8. Europe          12. None of the above

Geographic area: 12


Please select your time zone. Contrary to modern conventions, these 
POSIX-compatible zones use positive values to refer to zones west of 
Greenwich and negative values for those east of Greenwich (e.g., 'Etc/GMT+6'
refers to 6 hours west of Greenwich, commonly called 'UTC-6').

  1. GMT    7. GMT+4   13. GMT+10  19. GMT-3  25. GMT-9   31. Greenwich
  2. GMT0   8. GMT+5   14. GMT+11  20. GMT-4  26. GMT-10  32. UCT
  3. GMT+0  9. GMT+6   15. GMT+12  21. GMT-5  27. GMT-11  33. UTC
  4. GMT+1  10. GMT+7  16. GMT-0   22. GMT-6  28. GMT-12  34. Universal
  5. GMT+2  11. GMT+8  17. GMT-1   23. GMT-7  29. GMT-13  35. Zulu
  6. GMT+3  12. GMT+9  18. GMT-2   24. GMT-8  30. GMT-14

Time zone: 7



Current default time zone: 'Etc/GMT+4'
Local time is now:      Tue Nov  4 16:51:09 -04 2025.
Universal Time is now:  Tue Nov  4 20:51:09 UTC 2025.



Therefore could you please double check on your system?

Regards
Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                     http://aurel32.net


Reply to: