Device Update Agent for Debian12

Salamon Julius 0 Zuverlässigkeitspunkte
2025-05-05T11:56:19.41+00:00

Hi,

we have a problem using iot hub device update with Debian 12 on armhf. We built it from source because there is no official package provided. Then the .deb file was extracted and installed on the target system. That package additionally requested delivery optimization which was also build from source and then installed succesfully. Installing the deviceupdate-agent however fails in the postinst script.

The error thrown in the postinst script:

******************** Running /var/lib/dpkg/info/deviceupdate-agent.postinst configure ***********************
Setting directories and files...
Generate the template configuration file...
Generating the diagnostics configuration file...
Create data dir...
drwxrwx--- 3 adu adu 4096 Apr 22 13:48 /var/lib/adu
drwxrwx--- 2 adu adu 4096 Apr 22 13:48 /var/lib/adu/downloads
Register all reference step handlers...
/var/lib/dpkg/info/deviceupdate-agent.postinst: line 218: 7426 Segmentation fault $adu_bin_path -l 2 --extension-type updateContentHandler --extension-id "microsoft/apt:1" --register-extension $adu_extensions_sources_dir/$adu_apt_handler_file
dpkg: error processing package deviceupdate-agent (--configure):
installed deviceupdate-agent package post-installation script subprocess returned error exit status 139
Errors were encountered while processing:
deviceupdate-agent
E: Sub-process /usr/bin/dpkg returned an error code (1)

I also tried building the ADU agent directly on the target system but with no succes.

There is allready a ticket for that on github (https://github.com/Azure/iot-hub-device-update/issues/744) but i never got an answer.

We need this working to meet the requirements of the EN18031. So we need to know if Debian12 will be supported in the next months or if we need to search for another solution.

Best Regards
Julius

Community Center | Wird nicht überwacht
{count} Stimmen

Ihre Antwort

Fragesteller*innen können Antworten als akzeptierte Antworten markiert werden, wodurch Benutzer*innen wissen, dass diese Antwort das Problem gelöst hat.