I am trying to create custom rootfs (root filesystem), so I can re-use different rootfs images (archives) for different purposes, let’s say for computer vision, neural networks, ROS development etc etc. So far, everything went good as I was able to install basic things like ROS, ROS2, build multiple ROS packages inside sample rootfs and many more. The only thing that does not work is installing the jetpack itself like this: sudo apt install nvidia-jetpack. I am not sure why this is an issue, but I can write down the steps I’ve done:
I downloaded BSP drivers and sample rootfs the standard way
I added correct repositories inside rootfs/etc/apt/sources.list.d/nvidia-l4t-apt-source.list, I changed:
deb https://repo.download.nvidia.com/jetson/<SOC> r35.1 main
to
deb https://repo.download.nvidia.com/jetson/t194 r35.1 main
I ran sudo ./apply_binaries.sh
I created default user with sudo ./l4t_create_default_user.sh ...
I used tegrity, but basically it uses Qemu to chroot inside the sample rootfs. And I tried to install sudo apt install nvidia-jetpack . It outputted lot of nvidia packages versions mismatch, like tiny mismatches, but it broke the apt.
Could anyone please elaborate why this happens? I think this should be easily doable. Thank you.
Generally, this is the output of sudo apt install nvidia-jetpack:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
nvidia-jetpack : Depends: nvidia-jetpack-runtime (= 5.0.2-b231) but it is not going to be installed
Depends: nvidia-jetpack-dev (= 5.0.2-b231) but it is not going to be installed
nvidia-l4t-jetsonpower-gui-tools : Depends: nvidia-l4t-core (= 35.1.0-20220825113828) but 35.1.0-20220810203728 is to be installed
nvidia-l4t-nvfancontrol : Depends: nvidia-l4t-core (= 35.1.0-20220825113828) but 35.1.0-20220810203728 is to be installed
nvidia-l4t-nvpmodel : Depends: nvidia-l4t-core (= 35.1.0-20220825113828) but 35.1.0-20220810203728 is to be installed
nvidia-l4t-nvpmodel-gui-tools : Depends: nvidia-l4t-core (= 35.1.0-20220825113828) but 35.1.0-20220810203728 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).