# Problems installing bundles (SOTA update)

**URL:** <https://forum.legato.io/t/problems-installing-bundles-sota-update/2775>\
**Category:** Uncategorized\
**Created:** [November 8, 2017, 9:18am UTC](https://forum.legato.io/t/problems-installing-bundles-sota-update/2775 "2017-11-08T09:18:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![borisc](https://avatars.discourse-cdn.com/v4/letter/b/b9e5f3/32.png) [@borisc](https://forum.legato.io/u/borisc)\
**Post date:** [November 8, 2017, 9:18am UTC](https://forum.legato.io/t/problems-installing-bundles-sota-update/2775/1 "2017-11-08T09:18:33Z")

</div>

Hi,

I have some issues with installing bundles to devices via AirVantage. I have tried using some different combinations with .app-files and binary files with various results. What I want to do is update the device using a differential update created using update-util.

I am interested in updating the overlay Legato system, not the other parts of the software/firmware.

When I compile my system using my own .sdef file, I get two files, which we can call:  
system-v1.wp85.update  
legatoz-v1.cwe

I also have a newer version of the software, which gives  
system-v2.wp85.update  
legatoz-v2.cwe

And using update-util,  
update-util system-v1.wp85.update system-v2.wp85.update diff.wp85.update  
I get a differential update file diff.wp85.update.

Using the command-line utils I can update the device via the USB without problems, I can e.g. first install system-v1.wp85.update and then diff.wp85.update and I will get the exact same version as if I installed system-v2.wp85.update directly.

However, via AirVantage I have more problems. I followed the step outlined in [url][https://source.sierrawireless.com/resources/airprime/application\_notes\_and\_code\_samples/airprime\_-\_wp\_series\_-\_airvantage\_fota\_sota\_guidelines/[/url]](https://source.sierrawireless.com/resources/airprime/application_notes_and_code_samples/airprime_-_wp_series_-_airvantage_fota_sota_guidelines/%5B/url%5D). More specifically, section 8.1.2.2 describes the required format for the .app file, and I have used:

`<?xml version="1.0" encoding="UTF-8"?>
<app:application
xmlns:app="http://www.sierrawireless.com/airvantage/application/1.0"
type="FX30S"
name="FX30S_my_system"
revision="LE=16.10.1_0ee9b34fe7724c8b8f7d22ffe604d7af">
<binaries>
<binary file="diff.wp85.update"/>
</binaries>
<application-manager use="LWM2M_LEGATO_BUNDLE" />
</app:application>`  
No matter what system update file I use, once I have issued the update via “Install bundle”, I immediately get the error [color=#FF0000]“Install application not supported on this system”[/color] Before it even starts to send the file to the device. Installing single apps to the device is no problem. I have made sure the revision in the app file is correct, i.e. matching what I expect to get from “legato version” for the updated version. What is the cause of this failure I get?

I noticed that there is a bundle provided by Sierra Wireless already present, which I can install using “Install bundle”, and the .app file for that contains

```auto
<application-manager use="LWM2M_AIRPRIME_BUNDLE"/>
```

So I tried that using my own legatoz-v2.cwe, and changing the name and revision in the app file, and that works. However, if I instead use the .update files, either the full one or the diff file, it first downloads and installs the binary, but then fails with [color=#FF0000]“Upgrade failure [Integrity check failure for new downloaded package]”[/color]. I have made sure that the revision number is correct. I have tried two different .app files, both with the same error,

`<?xml version="1.0" encoding="UTF-8"?>
<app:application
xmlns:app="http://www.sierrawireless.com/airvantage/application/1.0"
type="FX30S"
name="FX30S_my_system"
revision="LE=16.10.1_0ee9b34fe7724c8b8f7d22ffe604d7af">
<binaries>
<binary file="diff.wp85.update"/>
</binaries>
<application-manager use="LWM2M_AIRPRIME_BUNDLE" />
</app:application>`

`<?xml version="1.0" encoding="UTF-8"?>
<app:application
xmlns:app="http://www.sierrawireless.com/airvantage/application/1.0"
type="FX30S"
name="FX30S_my_system"
revision="MDM=SWI9X15Y_07.11.22.00,CAPRI=9904559-001.032_000,CUPRI=1103232-001.000_000,LK=1.3.0_b12d0630d0,OS=3.14.29ltsi-a00e464379_c5f87a778d,RFS=SWI9X15Y_07.11.21.00 2017-04-19_15:57:04,UFS=unknown,LE=16.10.1_0ee9b34fe7724c8b8f7d22ffe604d7af,MCU=001.011">
<binaries>
<binary file="diff.wp85.update"/>
</binaries>
<application-manager use="LWM2M_AIRPRIME_BUNDLE" />
</app:application>`  
I have also tried with system-v2.wp85.update instead of diff.wp85.update. What could be the cause of this error?

---

<div class="post-metadata">

**Author:** ![lotam](https://avatars.discourse-cdn.com/v4/letter/l/958977/32.png) [@lotam](https://forum.legato.io/u/lotam)\
**Post date:** [November 16, 2017, 2:45am UTC](https://forum.legato.io/t/problems-installing-bundles-sota-update/2775/2 "2017-11-16T02:45:21Z")

</div>

To my understanding, LWM2M\_AIRPRIME\_BUNDLE is part of AVC 2.0 introduced since Legato 17.05.  
As seems you are using Legato 16.10, you should follow AVC 1.0 model.

---

<div class="post-metadata">

**Author:** ![borisc](https://avatars.discourse-cdn.com/v4/letter/b/b9e5f3/32.png) [@borisc](https://forum.legato.io/u/borisc)\
**Post date:** [November 16, 2017, 11:58am UTC](https://forum.legato.io/t/problems-installing-bundles-sota-update/2775/3 "2017-11-16T11:58:09Z")

</div>

Okay, so that probably explains why it does not work with my second method. How about LWM2M\_LEGATO\_BUNDLE, is that also part of AVC 2.0, or is it most likely some other reason for the failure using that value for application-manager? Is it at all possible to do a bundle update using AVC 1.0, or do I need to use AVC 2.0 for this?

---

<div class="post-metadata">

**Author:** ![nilsa](https://avatars.discourse-cdn.com/v4/letter/n/cab0a1/32.png) [@nilsa](https://forum.legato.io/u/nilsa)\
**Post date:** [April 8, 2018, 7:05pm UTC](https://forum.legato.io/t/problems-installing-bundles-sota-update/2775/4 "2018-04-08T19:05:52Z")

</div>

Hi borisc  
I got the same problem using AVC 2.0.  
Did you ever get your own bundles working?

---

<div class="post-metadata">

**Author:** ![benrey](https://avatars.discourse-cdn.com/v4/letter/b/58956e/32.png) [@benrey](https://forum.legato.io/u/benrey)\
**Post date:** [November 16, 2018, 1:56pm UTC](https://forum.legato.io/t/problems-installing-bundles-sota-update/2775/5 "2018-11-16T13:56:24Z")

</div>

Hi @nilsa  
did you achieve to solve your issue ?
