Some issues with apt upgrade on Jetpack 5.1.3

The module is Orin Nano 8GB, I flash my NVME SSD (which serves as the system for the custom board) with R35.5.0 (jetpack 5.1.3), the flash command is as follows
sudo BOARDID=3767 BOARDSKU=0003 ./tools/kernel_flash/l4t_initrd_flash.sh --no-flash --external-device nvme0n1p1 -c ./tools/kernel_flash/flash_l4t_external.xml p3509-a02+p3767-0000 external
+
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --flash-only --external-device nvme0n1p1 --direct sdb -c ./tools/kernel_flash/flash_l4t_external.xml p3509-a02+p3767-0000 external
Everything seems to work fine, until I run apt upgrade. Some nvidia packages give errors

Setting up nvidia-l4t-kernel (5.10.192-tegra-35.5.0-20240423174505) ... Using the existing boot entry 'primary' Warning: Cannot get compatible board name. 3767--0003--1--p3509-a02+p3767-0000- Info. Installing mtdblock. Info. Active boot storage: nvme0n1 Info. Legacy mode: false TNSPEC 3767-300-0003-M.2-1-0-p3509-a02+p3767-0000- COMPATIBLE_SPEC 3767--0003--1--p3509-a02+p3767-0000- TEGRA_LEGACY_UPDATE false TEGRA_BOOT_STORAGE nvme0n1 TEGRA_EMMC_ONLY false TEGRA_CHIPID 0x23 TEGRA_OTA_BOOT_DEVICE /dev/mtdblock0 TEGRA_OTA_GPT_DEVICE /dev/mtdblock0 Info: Write TegraPlatformCompatSpec with 3767--0003--1--p3509-a02+p3767-0000-. Starting kernel post-install procedure. Rootfs AB is not enabled. ERROR. Procedure for A_kernel update FAILED. Cannot install package. Exiting... dpkg: error processing package nvidia-l4t-kernel (--configure):  installed nvidia-l4t-kernel package post-installation script subprocess returned error exit status 1 dpkg: dependency problems prevent configuration of nvidia-l4t-kernel-headers:  nvidia-l4t-kernel-headers depends on nvidia-l4t-kernel (= 5.10.192-tegra-35.5.0-20240423174505); however:   Package nvidia-l4t-kernel is not configured yet.  dpkg: error processing package nvidia-l4t-kernel-headers (--configure):  dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of nvidia-l4t-display-kernel:  nvidia-l4t-display-kernel depends on nvidia-l4t-kernel (= 5.10.192-tegra-35.5.0-20240423174505); however:   Package nvidia-l4t-kernel is not configured yet.  dpkg: error processing package nvidia-l4t-display-kernel (--configure):  dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of nvidia-l4t-kernel-dtbs:  nvidia-l4t-kernel-dtbs depends on nvidia-l4t-kernel (= 5.10.192-tegra-35.5.0-20240423174505); however:   Package nvidia-l4t-kernel is not configured yet.  dpkg: error processing package nvidia-l4t-kernel-dtbs (--configure):  dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure. No apport report written because the error message indicates its a followup error from a previous failure. No apport report written because MaxReports is reached already Errors were encountered while processing:  nvidia-l4t-kernel  nvidia-l4t-kernel-headers  nvidia-l4t-display-kernel  nvidia-l4t-kernel-dtbs E: Sub-process /usr/bin/dpkg returned an error code (1) 

I noticed an error.
ERROR. Procedure for A_kernel update FAILED.
Why is this error reported?
Please help me fix these problems.

You cannot do Debian-based OTA on custom boards.
This is only for DevKits.

Besides, the sources file in /etc/apt/ was banned as sources.list.banned.
Is that normal?

Debian-based OTA只支援DevKit
我們的server上的package不會知道你的板子上改了什麼東西 當然沒辦法用…

但是我之前在R35.3.1 (jetpack 5.1.1)上做了同样的操作,印象中没发生过上述的问题

你不用管之前能不能用 不能用是正常的

原因我已經說了
你只有插官方的Orin Nano DevKit底板才能跑Debian-based OTA

好的,我了解了,我尝试下载了最新的l4t Debian Packages,并用它们替换了Linux_for_Tegra/kernel/下与Linux_for_Tegra/nv_tegra/l4t_deb_packages下相应的Debian Packages,虽然刷写没有报错但是启动后无法进入Nvidia桌面,这样操作应该是行不通。
如果后续需要升级custom board上的l4t Debian Packages比如nvidia-l4t-display-kernel, nvidia-l4t-bootloader等,则需要自己制作相应的Debian Packages。

沒錯 就是這樣

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.