Units_cur Jan 2026 packetizer problem and fix
F-Droid Forum [Unofficial]
February 25, 2026
gnu units is a command line unit conversion and calculation program.
There is a python script units_cur for updating the currency and cpi data for that.
Those are available for termux.
iirc units_cur ceased working about after Jan. 20 2026:
[code]$ units_cur Error connecting to currency server: 404 Error: Not Found for url: https://services.packetizer.com/spotprices?f=json.[/code]
Recently, I found, that packetizer still works, but the url is slightly different, to the one in the error message above.
So I made a quick fix, that I will post about below.
(Unfortunately, I am having trouble, properly editing my posts here - especially using the device I’m forced to use at the time .)
Discussion in the ATmosphere