Comments (3)
Hello, it appears you are attempting to import a .deb file directly to the Device Update service, then deploy it to your device. This is the workflow we support for image-based updating, but our package-based update flow is slightly different.
Package-based updating requires the user to first host the .deb package on a Linux package repository that is part of their on-device package manager's sources list. Then the user should import an APT manifest file to the Device Update service, not the .deb package itself. When a package-based update is deployed to a device, the APT manifest file is downloaded onto the device and the APT handler uses this to then get the .deb package from the appropriate repository and install it.
If the user desires to import and deploy a .deb package directly using the DU service (without hosting the package on a Linux package repository), then the user must also create their own on-device handler to install the package, and change the "updateType" field in their import manifest accordingly.
Additional information about the Import step and the package-based updating workflow can be found here: Introduction to Device Update for Azure IoT Hub | Microsoft Docs. For an example of an APT manifest file, see here.
from iot-hub-device-update.
Hi @chrisjlin , thank you for reply. You have confirmed for me that the idea of Device Update I had in mind isn't how Azure's DU works.
I question Azure's design for doing updates using APT packages.
In Import Update screen, you ask for a manifest file, a collection of files to include in the update and a Storage Account directory. Importing this update actually gives Azure everything that it needs to install an update on the device.
So, why would you still require your users to host the .deb package on a Linux package repository first?
from iot-hub-device-update.
@mlagridigital Thanks for the feedback! We have updated our import process with our Public Preview refresh release to make it easier to upload import manifest and files. Please take a look at the updated docs here. Device Update apt manifest
Currently, Device Update delivers package-based updates from existing Debian repositories and does not have its own built-in Debian repository. Customers could choose to deploy their own Debian repository (i.e. Debian repo setup).
We are evaluating built-in Debian repository support for a future release of Device Update.
from iot-hub-device-update.
Related Issues (20)
- Cannot Install device update agent 1.0.3 beta version for Debian11 Arm64 on Debian 11.8 running on Raspberry Pi 4 HOT 1
- Configuration file deviceupdate-agent.service is marked executable HOT 7
- Yocto Rpi3 Device is restarting again and again in a loop HOT 2
- Failed parse of JSON file in Rpi4 device HOT 6
- /usr/bin/adu-swupdate.sh never runs (swupdate:2 never used even when registered?) HOT 7
- The packages deployed through device update are not reflecting in the device hosted on ubuntu 22.04 HOT 2
- Ignore duplicate deployment workflow not working as expected HOT 5
- Device reporting new Contract Name & ContractId after device update and stays inProgress in ADU HOT 9
- A/B Update Erases ADU Configuration on Yocto Kirkstone Raspberry Pi 4 - 64 bit Example HOT 2
- A/B Update Fails on Yocto Kirkstone Raspberry Pi 4 - 64 bit Example do to invalid update image HOT 2
- Device update agent on bullseye 11 raspberry zero HOT 5
- pthread_mutex_unlock doesn't check whether arguments is NULL for windows, this may cause dos HOT 3
- DeviceManagementClient.GetDeviceModuleAsync does not return the ExtendedResultCode HOT 3
- Update status changes to "In Progress" sometime after "Succeeded". HOT 16
- AducIotAgent cannot find custom step handler HOT 7
- ADUC_Result_Install_RequiredReboot stills reboots immediately after HOT 4
- Seeking Documentation on Retry Behavior HOT 1
- Is_Installed Step runs multiple times in swupdatev2 handler HOT 3
- Registering extensions fails on arm32 due to bug in STRING_construct_sprintf() invocation
- Unable to use additional compatibility information HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iot-hub-device-update.