Your message dated Sat, 14 Mar 2026 11:48:36 +0000
with message-id <[email protected]>
and subject line Released with 13.4
has caused the Debian Bug report #1129197,
regarding trixie-pu: package units/2.24-1+deb13u1
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1129197: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1129197
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
Tags: trixie
X-Debbugs-Cc: [email protected]
Control: affects -1 + src:units
User: [email protected]
Usertags: pu
Dear release team,
Please consider the attached update to the units package for trixie.
[ Reason ]
units can convert currencies; it ships files containing currency
exchange rates, prices for various precious metals, and consumer price
index data, along with a program to update them from online resources
(units_cur). One of those online resources changed its URL format,
which breaks units_cur completely (<https://bugs.debian.org/1128412>).
[ Impact ]
Users can no longer update currency information.
[ Tests ]
Since this relies on external resources, it isn’t covered by automated
tests in Debian; however I have checked that the proposed update fixes
the issue.
[ Risks ]
The change only updates two URLs, the risk is minimal.
[ Checklist ]
[x] *all* changes are documented in the d/changelog
[x] I reviewed all changes and I approve them
[x] attach debdiff against the package in (old)stable
[x] the issue is verified as fixed in unstable
[ Changes ]
Two URLs now need trailing slashes:
https://services.packetizer.com/spotprices becomes
https://services.packetizer.com/spotprices/ and
https://services.packetizer.com/btc becomes
https://services.packetizer.com/btc/
Regards,
Stephen
diff -Nru units-2.24/debian/changelog units-2.24/debian/changelog
--- units-2.24/debian/changelog 2024-12-06 20:45:27.000000000 +0100
+++ units-2.24/debian/changelog 2026-02-27 12:13:56.000000000 +0100
@@ -1,3 +1,9 @@
+units (2.24-1+deb13u1) trixie; urgency=medium
+
+ * Switch to new packetizer.com URLs in units_cur. Closes: #1128412.
+
+ -- Stephen Kitt <[email protected]> Fri, 27 Feb 2026 12:13:56 +0100
+
units (2.24-1) unstable; urgency=medium
* New upstream release.
diff -Nru units-2.24/debian/patches/packetizer.patch
units-2.24/debian/patches/packetizer.patch
--- units-2.24/debian/patches/packetizer.patch 1970-01-01 01:00:00.000000000
+0100
+++ units-2.24/debian/patches/packetizer.patch 2026-02-27 12:13:56.000000000
+0100
@@ -0,0 +1,17 @@
+Description: Adjust to new packetizer URLs
+Author: Stephen Kitt <[email protected]>
+Bug-Debian: https://bugs.debian.org/1128412
+
+--- a/units_cur
++++ b/units_cur
+@@ -556,8 +556,8 @@
+ # Get precious metals data and bitcoin
+ #
+
+-metals = getjson('https://services.packetizer.com/spotprices',{'f':'json'})
+-bitcoin = getjson('https://services.packetizer.com/btc',{'f':'json'})
++metals = getjson('https://services.packetizer.com/spotprices/',{'f':'json'})
++bitcoin = getjson('https://services.packetizer.com/btc/',{'f':'json'})
+
+ metallist = ['']*len(validmetals)
+ for metal, price in metals.items():
diff -Nru units-2.24/debian/patches/series units-2.24/debian/patches/series
--- units-2.24/debian/patches/series 2024-12-06 20:45:27.000000000 +0100
+++ units-2.24/debian/patches/series 2026-02-27 12:13:56.000000000 +0100
@@ -1 +1,2 @@
no-currency-update-during-build.patch
+packetizer.patch
--- End Message ---
--- Begin Message ---
Package: release.debian.org
Version: 13.4
This update has been released as part of Debian 13.4.
--- End Message ---