# FOTA for FX30S how to

**URL:** <https://forum.sierrawireless.com/t/fota-for-fx30s-how-to/23229>\
**Category:** FX30\
**Created:** [March 27, 2021, 3:55am UTC](https://forum.sierrawireless.com/t/fota-for-fx30s-how-to/23229 "2021-03-27T03:55:59Z")\
**Posts on this page:** 1\
**Showing post:** 102

<div class="post-metadata">

**Author:** ![claudio.baldini](https://avatars.discourse-cdn.com/v4/letter/c/4da419/32.png) [@claudio.baldini](https://forum.sierrawireless.com/u/claudio.baldini)\
**Post date:** [April 23, 2021, 12:56am UTC](https://forum.sierrawireless.com/t/fota-for-fx30s-how-to/23229/102 "2021-04-23T00:56:52Z")

</div>

@cchenry I am going through these steps but need to confirm something first.  
When getting the source (or syncing the leaf profile) I always get two errors for packages not found:

E: Package ‘python-git’ has no installation candidate  
This is because the package has been replaced with python-git-doc

E: Unable to locate package repo  
this is because this is not a real package but more of a tool…?

So I have to ignore the unknown dependencies for the workspace:  
~/newLegatoWorkspace$ leaf env workspace --set LEAF\_IGNORE\_UNKNOWN\_APT=1  
and to install the packages manually. (I have already done this before).

~/newLegatoWorkspace$ sudo apt-get install python-git-doc  
Reading package lists… Done  
Building dependency tree  
Reading state information… Done  
python-git-doc is already the newest version (3.0.7-1).  
0 to upgrade, 0 to newly install, 0 to remove and 3 not to upgrade.

while for the repo tool a followed the setup from a forum:  
 mkdir ~/bin PATH=~/bin:PATH curl [https://storage.googleapis.com/git-repo-downloads/repo](https://storage.googleapis.com/git-repo-downloads/repo) \> ~/bin/repo  
$ chmod a+x ~/bin/repo

This is the part where the repo gets initialized and synched:

Ready to sync in /home/claudio/newLegatoWorkspace/swi-linux-src directory:  
repo init -u ssh://git@github.com/legatoproject/manifest -m mdm9x06/tags/SWI9X06Y\_02.22.12.00/linux.xml -g default,-cache,proprietary ; repo sync

Proceed? (Y/n)  
y  
Checking credentials…  
Downloading Repo source from [git-repo - Git at Google](https://gerrit.googlesource.com/git-repo)  
remote: Counting objects: 4, done  
remote: Finding sources: 100% (140/140)  
remote: Total 140 (delta 93), reused 140 (delta 93)  
Receiving objects: 100% (140/140), 80.19 KiB | 181.00 KiB/s, done.  
Resolving deltas: 100% (93/93), completed with 30 local objects.  
Downloading manifest from ssh://git@github.com/legatoproject/manifest  
remote: Enumerating objects: 3570, done.  
remote: Counting objects: 100% (2342/2342), done.  
remote: Compressing objects: 100% (812/812), done.  
remote: Total 3570 (delta 1409), reused 2266 (delta 1336), pack-reused 1228

Your identity is: XXXXXX [XXXXXX@XXXXXX.it](mailto:XXXXXX@XXXXXX.it)  
If you want to change this, please re-run ‘repo init’ with --config-name

repo has been initialized in /home/claudio/newLegatoWorkspace/swi-linux-src  
Fetching: 100% (7/7), done in 4m54.644s  
Updating files: 100% (52925/52925), done.  
Checking out: 100% (7/7), done in 16.997s  
repo sync has finished successfully.  
Sync done  
Extracting FX30 sources  
Done.

Are these steps correct or I am doing something wrong?  
It seems all good to me, but I have done the same setup on 4 different virtual machines and I can`t figure out why leaf is not syncing properly every time.

---

_[View the full topic](https://forum.sierrawireless.com/t/fota-for-fx30s-how-to/23229)._
