Jetpack4.3 OTA update

HI,

I have questino about Jetpack 4.3 ota update

  1. this link How to Install JetPack :: NVIDIA JetPack Documentation mentioned
    sudo apt-get update and sudo apt-get install nvidia-jetpack will result in full jetPack install. will this also install basic L4T packages listed in Welcome — Jetson Linux<br/>Developer Guide 34.1 documentation ?

2.In L4T document . it is mentioned that we can do OTA update via command line sudo apt update and sudo apt upgrade. I am assuming that this will include L4T package and nvidia-jetpack package and other ubuntu packages ? this is the full system upgrade

3.I am setup a private APT server to manage local Jetson Nano devices. These device does not have public internet connection . it will only download the package from private apt server. how can I download new packages from Nvidia apt server and host them in my private server.

1 Like

hello terry8uwg2,

  1. it’s a Jetpack-4.3 feature to support OTA update,
    if you’re based-on JetPack-4.2.2, which uses debian package archives on Nano could performing an OTA update. otherwise, you’ll need to have JetPack installation to migrate to Jetpack-4.3.

  2. you may launch “Software Updater” GUI, to check for packages to will updated.

  3. let me have internal discussion about having a private APT server to manage local Jetson Nano devices. thanks

Some background, I am setup some Jetson nano device which will be based on Jetpack 4.3 release and we will trigger the OTA update if there is furture release. trying to understand which command to use to trigger the furture update and what packages each command will install so that i can have better control.

  1. i am still confused by this release note
    ====================================
    " NVIDIA now offers JetPack components as Debian packages.
    This enables, for example, installation of all JetPack components via the nvidia-jetpack metapackage. Assuming a Jetson developer kit running L4T 32.3.1, issuing these commands on the developer kit will result in a full JetPack install:

sudo apt-get update
sudo apt-get install nvidia-jetpack"

I am trying it based on Jetpack4.3 release. i think L4 is 32.3.1. trying to understand
– what exact package sudo apt-get install nvidia-jetpack" will install ? is it going to install
L4T R32.3.1 (K4.9)
Ubuntu 18.04 LTS aarch64
CUDA 10.0
cuDNN 7.6.3
TensorRT 6.0.1
VisionWorks 1.6
OpenCV 4.1 etc ?

– Does it install basic L4T packages listed in Welcome — Jetson Linux<br/>Developer Guide 34.1 documentation ?
for example nvidia-l4t-3d-core nvidia-l4t-apt-source etc

2)For the furture update (base image is Jetpack 4.3 maybe upgrade to Jetpack4.4) . which command should i use
sudo apt update and sudo apt upgrade. or sudo apt-get install nvidia-jetpack" . it looks to me sudo apt upgrade will do full upgrade which include packages included in nvidia-jetpack ?

hello terry8uwg2,

FYI, below packages will install if you perform $ sudo apt-get install nvidia-jetpack
CUDA 10.0
cuDNN 7.6.3
TensorRT 6.0.1
VisionWorks 1.6
OpenCV 4.1

taking an example to have upgrade from Jetpack-4.3 to Jetpack-4.4.
our suggestion is running $ sudo apt update and $ sudo apt upgrade to install all necessary packages.
the idea is to avoid dependency related issues.

regarding to your previous question-3,
you’re able to setup a private APT server to manage local Jetson Nano devices.
you’ll need to download *.deb files to your own server and maintain them by yourself.
you should also update the source list to redirect the package link to your private server.
thanks

Thanks

Now question is that how do I download packages in order to let say upgrade from jet pack 4.3 to 4.4

hello terry8uwg2,

if you execute $ sudo apt-get install nvidia-jetpack,
you’ll found these deb files store to your device, please check cache folder for the *.deb files,
for example,
/var/cache/apt/archives/nvidia-jetpack_4.3-b134_arm64.deb

or, if you execute SDKManager to install JetPack, it’ll also download the .deb to your local host.
you may check l4t_deb_packages folder for those packages,
for example,
~/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3448/Linux_for_Tegra/nv_tegra/l4t_deb_packages/

Hi Jerry,

  1. I installed Jetpack4.3 based on the Tegra_Linux_Sample-Root-Filesystem_R32.3.1_aarch64.tbz2. I first run command “sudo apt update and $ sudo apt upgrade” I noticed that it does not install CUDA 10.0 cuDNN 7.6.3 TensorRT 6.0.1 VisionWorks 1.6 OpenCV 4.1. Then i run “sudo apt udpate and sudo apt-get install nvidia-jetpack” then it installed cuda cuDNN TensorRT and OpenCV. It looks like "sudo apt upgrade does not install nvidia-jetpack component (cuda cuDNN TensorRT and OpenCV) . could you please confirm if i need run both in the furture to upgrade the device.

2.After installation, i would like to free up /var/cache/apt/archives/ is sudo apt-get clean right one to do ?

hello terry8uwg2,

  1. it’s correct for “$ sudo apt update and $ sudo apt upgrade” did not install those packages,
    please also check comment #4 for the installation list of nvidia-jetpack.

  2. you should note that the /var/cache directory contains cached files, which may re-generated anytime, they’re worth of storing to save time of recomputing.
    $ sudo apt clean should be a safe way to clean the caches for command line, it’ll empty cache files of /var/cache/apt
    thanks

Hi Jerry,

so to do a full ota-upgrade in the field for example from Jetpack 4.3 to Jetpack 4.4 i need run both command then . ( let me know if the order matters )

  1. sudo apt update and sudo apt upgrade"
  2. sudo apt update and sudo apt-get install nvidia-jetpack

hello terry8uwg2,

if you’re going through the commands line to upgrade with nvidia-jetpack, it would install all the components as same as SDKManager included.
otherwise, “sudo apt update and sudo apt upgrade” command lines will check for new or upgradeable packages automatically, these commands only install the basic l4t packages.
thanks

Hi Jerry,

I am bit confused still. Let’s say I am flashed Jetpack 4.3 as my baseline and there is future release Jetpack4.4. What are the command line to upgrade to Jetpack 4.4 ?

  1. sudo apt update and sudo apt upgrade"
    –based on your above reply. this will upgrade only l4t basic l4t packages to Jetpack 4.4
  2. sudo apt update and sudo apt-get install nvidia-jetpack
    – are you saying this command will still install Jetpack4.3 package (cuda cudnn etc) not the newer one from Jetpack 4.4 ? if yes, how to I upgrade nvidia-jetpack from Jetpack4.3 to Jetpack4.4

hello terry8uwg2,

sudo apt update and sudo apt upgrade, which will hit the debian package archives server.
once there’s Jetpack-4.4 available, you may execute apt list --upgradeable to preview a list of new and upgradeable packages.
according to above, you should execute below commands to perform software updates.

$ sudo apt update 
$ sudo apt upgrade

you should note that nvidia-jetpack fetch different metapackages server, which maintain by Nvidia.
hence, it’s an extra commands that you’ll still need to perform for nvidia components installation.
for example,
suppose you had pure JetPack-4.3 flashed (only OS image), sudo apt-get install nvidia-jetpack will install components, such as CUDA, TensorRT,…etc.
please run below commands, for the detail description of nvidia-jetpack.
thanks

$ sudo apt-cache show nvidia-jetpack

thanks Jerry.

I also need get nvidia-jetpack update whenever there is newer versin on the server.

so i will do sudo apt-get update & sudo apt-get install nvidia-jetpack too then.

Thanks