Arducam IMX477 deb missing for Xavier NX kernel 4.9.253-tegra; dpkg pre-dependency error

Hi, I’m trying to install the IMX477 driver on my Jetson Xavier NX but I can’t find a deb package that matches my kernel. I’m on Kernel version 4.9.253-tegra-32.6.1-20210726122859, Jetson type: Xavier NX (Developer Kit Version).

When I run the install script it just tells me it can’t find the corresponding deb package:

keti@keti-desktop:~/Downloads$ ./install_imx477.sh
Cannot find the corresponding deb package, please send the following information to [email protected]
Kernel version:  4.9.253-tegra-32.6.1-20210726122859
Jetson type:  Xavier NX (Developer Kit Version)

So I tried to install the deb I downloaded manually and it fails with a pre-dependency problem. Here’s the exact output:

keti@keti-desktop:~/Downloads$ sudo dpkg -i arducam-nvidia-l4t-kernel_4.9.140-32.4.3-20200721164156_arm64_imx477.deb
[sudo] password for keti:
Selecting previously unselected package arducam-nvidia-l4t-kernel.
dpkg: regarding arducam-nvidia-l4t-kernel_4.9.140-32.4.3-20200721164156_arm64_imx477.deb containing arducam-nvidia-l4t-kernel, pre-dependency problem:
 arducam-nvidia-l4t-kernel pre-depends on nvidia-l4t-core (<< 32.5-0)
 nvidia-l4t-core is installed, but is version 32.6.1-20210726122859.
dpkg: error processing archive arducam-nvidia-l4t-kernel_4.9.140-32.4.3-20200721164156_arm64_imx477.deb (--install):
 pre-dependency problem - not installing arducam-nvidia-l4t-kernel
Errors were encountered while processing:
 arducam-nvidia-l4t-kernel_4.9.140-32.4.3-20200721164156_arm64_imx477.deb

The installed nvidia-l4t-core is version 32.6.1-20210726122859. I’m working in ~/Downloads. Any idea what package I actually need?

Hi, thanks for the detailed logs — that actually tells us exactly what’s going on.

You’re running L4T32.6.1 on your Xavier NX. The deb you tried to install, arducam-nvidia-l4t-kernel_4.9.140-32.4.3-20200721164156_arm64_imx477.deb, is built for L4T32.4.3 (kernel 4.9.140-32.4.3). That’s a version mismatch:

  • Your system: nvidia-l4t-core 32.6.1-20210726122859 (L4T32.6.1)
  • That deb: predepends on nvidia-l4t-core (<< 32.5-0)

Since your installed core (32.6.1) is newer than what the package allows (< 32.5), dpkg refuses to install it. That pre-dependency line is basically dpkg telling you the package was built for an older L4T release.

The same reason is why install_imx477.sh failed — it looks for a driver deb matching your running kernel (4.9.253-tegra-32.6.1…), and it can’t find one because the matching package for L4T32.6.1 wasn’t present.

So the fix is to use the deb package built for your exact L4T version (32.6.1). Can you confirm whether the file you have is the only one in ~/Downloads, or do you have other arducam-nvidia-l4t-kernel debs there? Could you run:

ls -l ~/Downloads | grep arducam

and share the output?

Here’s what’s in the folder:

keti@keti-desktop:~/Downloads$ ls -l | grep arducam
-rw-r--r-- 1 keti keti  1234567 Jul 21 12:28 arducam-nvidia-l4t-kernel_4.9.140-32.4.3-20200721164156_arm64_imx477.deb
-rwxr-xr-x 1 keti keti     6789 Jul 21 12:28 install_imx477.sh

So yeah, only that one deb, and it’s the 32.4.3 one. I grabbed it from the Arducam page. I didn’t realize it had to match my L4T version exactly.

Right, that confirms it. There are two separate problems happening:

  1. install_imx477.sh → failed because no deb matching your running kernel (4.9.253-tegra-32.6.1) was found, so it printed the “Cannot find the corresponding deb package…” message with your kernel version and Jetson type.
  2. sudo dpkg -i arducam-nvidia-l4t-kernel_…32.4.3… → failed because that package targets an older L4T and its pre-dependency on nvidia-l4t-core (<< 32.5-0) conflicts with your installed nvidia-l4t-core 32.6.1.

Both point to the same root cause: version mismatch. The IMX477 driver deb has to match the exact L4T version on the device — in your case L4T32.6.1.

For installing on L4T32.4.3 and later there’s an automatic driver installation path in the docs. Please follow this guide:

https://www.arducam.com/docs/camera-for-jetson-nano/native-jetson-cameras-imx219-imx477/imx477-how-to-install-the-driver/#5-automatic-driver-installation --only–for-l4t3243-and-later-versions

Use the auto-install section (“only for L4T32.4.3 and later versions”) — that pulls the correct package for your system instead of the fixed 32.4.3 deb you have. Don’t reuse the 32.4.3 deb you already downloaded.

If you need the matching driver package directly, I can send it to you privately — just let me know and check your messages.

OK that makes sense. Let me try the auto-install path from that doc.

Quick question though — do I need to remove the failed package first? It never actually installed (dpkg errored out), so I’m guessing there’s nothing to clean up, but I want to be sure before I run the script again.

Good question. Since dpkg aborted with “pre-dependency problem - not installing arducam-nvidia-l4t-kernel”, the package was never installed, so there shouldn’t be anything to remove.

To be safe you can check state with:

dpkg -l | grep arducam
dpkg -l | grep nvidia-l4t-core

You should see arducam-nvidia-l4t-kernel as not installed, and nvidia-l4t-core still at 32.6.1-20210726122859. If dpkg left the package in a half-configured state (unlikely here), sudo dpkg --configure -a would clear it.

Then go ahead with the auto-install section from the doc. It will select the deb matching your L4T32.6.1 instead of the 32.4.3 one. Let me know how it goes.

Checked:

keti@keti-desktop:~/Downloads$ dpkg -l | grep arducam
keti@keti-desktop:~/Downloads$ dpkg -l | grep nvidia-l4t-core
ii  nvidia-l4t-core  32.6.1-20210726122859  arm64  NVIDIA Transitioning to Integrated Software

Nothing arducam installed, core still at 32.6.1. I’ll run the auto-install now. I also saw your private message with the matching driver package — thanks, I’ll try the doc route first and use that if the script still can’t find it.

That output looks right — clean state, nvidia-l4t-core untouched at 32.6.1-20210726122859. You’re good to proceed with the auto-install.

Quick recap so nothing gets lost:

  • Root cause: version mismatch. Your system is L4T32.6.1, but the deb you tried (kernel 4.9.140-32.4.3) targets an older L4T, so it hit the pre-dependency conflict (arducam-nvidia-l4t-kernel pre-depends on nvidia-l4t-core (<< 32.5-0), installed version is 32.6.1).
  • install_imx477.sh failed for the same underlying reason — it couldn’t find a deb matching the running kernel.
  • Fix: install the deb that matches your L4T version exactly (L4T32.6.1), via the auto-install section of the doc (L4T32.4.3 and later). The matching package I sent you privately can be used if the script still reports “Cannot find the corresponding deb package.”

Post back the console output after the auto-install and we’ll confirm the driver came up correctly. If anything still errors, include the exact messages and I’ll take a look.