Arducam 64MP camera install fails on Raspberry Pi 4 Ubuntu 22.04

Hi, I’m trying to get a 64MP camera working on my Raspberry Pi 4 but the install script keeps failing. I’m following the official instructions here: Redirecting...

When I run the installer it dies with “Cannot find the corresponding package” and then a message saying “You are using an unsupported kernel version, please install the official SD Card image(do not execute rpi-update)”.

I’m running Ubuntu 22.04 on the Pi, not Raspberry Pi OS. Did I do something wrong, or does this camera just not work on Ubuntu? Any help appreciated.

Hi and welcome. Sorry you’re hitting this. Let’s dig in a bit so we can see exactly where it’s breaking.

Can you post the following:

  1. The exact hardware revision of your Pi (you can read it with cat /proc/cpuinfo | grep Revision).
  2. Your OS release and codename (lsb_release -a or cat /etc/os-release).
  3. The output of uname -r.
  4. The architecture (uname -m).

Also let us know what your exact install command was and whether you ran a full update first.

Sure, here’s what I’ve got.

Hardware: RPi4, Hardware Revision: c03111
OS: Ubuntu 22.0.4, OS Codename: Jammy Jellyfish
Kernel Version: 5.15.0-1013-raspi
ARCH: aarch64

And yes, I ran all the updates on the Pi before I tried anything.

The command I executed was:

./install_pivariety_pkgs.sh -p 64mp_pi_hawk_eye_kernel_driver

That’s from the guide, I copied it directly.

Thanks, that’s helpful. Now can you paste the full output of the install script? I want to see the exact errors above the “Cannot find the corresponding package” line, because that will tell us whether it’s failing to find a package or failing at the version-check step. Include everything from the moment you hit enter.

Here’s the full output. It’s a bit long but here you go:

dpkg-query: no packages found matching raspberrypi-kernel

dpkg: error: --compare-versions takes three arguments:
Type dpkg --help for help about installing and deinstalling packages [*];
Use ‘apt’ or ‘aptitude’ for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating .deb files;
Options marked [
] produce a lot of output - pipe it through ‘less’ or ‘more’ !

=================================================
Hardware Revision: c03111
Kernel Version: 5.15.0-1013-raspi
OS Codename: Jammy Jellyfish
ARCH: aarch64

kernel:5.15.0-1013-raspi

–2022-08-16 06:05:47-- https://github.com/ArduCAM/Arducam-Pivariety-V4L2-Driver/releases/download/install_script/64mp_pi_hawk_eye_kernel_driver_links.txt
Resolving github.com (github.com)… 140.82.112.4
Connecting to github.com (github.com)|140.82.112.4|:443… connected.
HTTP request sent, awaiting response… 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/353945933/3b675129-ebdf-44c8-bc8b-d4a8082b078b?… [following]
Resolving objects.githubusercontent.com (objects.githubusercontent.com)… 185.199.111.133, 185.199.108.133, 185.199.109.133, …
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.111.133|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 6363 (6.2K) [application/octet-stream]
Saving to: ‘64mp_pi_hawk_eye_kernel_driver_links.txt’

64mp_pi_hawk_eye_kernel_drive 100%[===============================================>] 6.21K --.-KB/s in 0.002s
2022-08-16 06:05:47 (3.90 MB/s) - ‘64mp_pi_hawk_eye_kernel_driver_links.txt’ saved [6363/6363]

64mp_pi_hawk_eye_kernel_driver_links.txt: line 83: https://github.com/ArduCAM/Arducam-Pivariety-V4L2-Driver/releases/download/Arducam_pivariety_v4l2_v1.0/arducam_64mp_kernel_driver_5.10.y.tar.gz: No such file or directory

Cannot find the corresponding package, please send the following information to [email protected]
Hardware Revision: c03111
Kernel Version: 5.15.0-1013-raspi
Package: 64mp_pi_hawk_eye_kernel_driver – Jammy Jellyfish-arm64

You are using an unsupported kernel version, please install the official SD Card image(do not execute rpi-update):

Great, that log shows everything we need. Let me walk through what’s happening here.

First, this line:
dpkg-query: no packages found matching raspberrypi-kernel
That’s the script trying to query the Raspberry Pi kernel package to figure out which driver build to fetch. On Raspberry Pi OS that package exists; on Ubuntu it doesn’t, so the query returns nothing.

Second, this:
dpkg: error: --compare-versions takes three arguments: <version> <relation> <version>
Because the first query returned nothing, the script passes an empty string into dpkg --compare-versions, so dpkg complains. It’s a knock-on effect of the missing package, not a separate bug.

Third, the actual download of the links file succeeded:
64mp_pi_hawk_eye_kernel_driver_links.txt ... saved [6363/6363]
so networking is fine.

Then it goes wrong here:
...arducam_64mp_kernel_driver_5.10.y.tar.gz: No such file or directory
The links file only lists driver archives for 5.10.y and 5.15.y kernel lines as built for Raspberry Pi OS. Your kernel is 5.15.0-1013-raspi, which is the Ubuntu kernel, and there’s no matching archive for it. Hence “Cannot find the corresponding package” and the “unsupported kernel version” warning.

Quick question before I continue: are you deliberately staying on Ubuntu, or is switching OS an option for you?

I’d rather stay on Ubuntu if possible, that’s what I’ve got everything set up on. But if it genuinely isn’t supported, I can reflash. Is there any workaround to make the 64MP work on Ubuntu 22.04, or is this a dead end?

Also just to confirm, I ran all the updates before trying the install, so I’m not on an old kernel or anything. It’s the current Ubuntu kernel for the Pi.

Got it — and yeah, updating more won’t change the outcome here. The problem isn’t that your kernel is old. It’s that the driver builds published for the 64MP camera target Raspberry Pi OS kernels, and your kernel is the Ubuntu-specific -raspi build. The installer has no archive keyed to that, so it bails out. That’s also why it prints the “unsupported kernel version” notice and points you at the official Raspberry Pi OS images.

So there’s no script flag or apt trick I can give you that will produce a 64MP driver for Ubuntu — the matching package simply isn’t there. The raspberrypi-kernel query and the --compare-versions error are both symptoms of running a script designed for Raspberry Pi OS on an Ubuntu system.

If you want to keep using Ubuntu, the realistic path is to reflash to a Bullseye-based Raspberry Pi OS for this camera. Nothing else on your list needs changing.

That explains it, thanks. Bit disappointing but at least I know it’s not me. So the short version is: 64MP + Bullseye = works, 64MP + Ubuntu = not supported.

If I do reflash to Bullseye and run the same installer, should it just work? And is there anything I should watch out for?

Correct on both counts. The 64MP camera is only supported on Raspberry Pi OS (Bullseye). On Bullseye the installer will find the matching kernel package, resolve the right driver archive, and the build will complete.

A couple of things when you reflash:

  • Use the official Raspberry Pi OS Bullseye image (not rpi-update, and not a 64-bit Ubuntu image).
  • Run the usual updates after first boot, then follow the 64MP guide again with the same command you used (./install_pivariety_pkgs.sh -p 64mp_pi_hawk_eye_kernel_driver).
  • If you still want to run Ubuntu later, that’s fine for other cameras, but the 64MP line will keep hitting this wall.

TL;DR for anyone finding this thread: the 64MP camera isn’t supported on Ubuntu — the installer fails because raspberrypi-kernel isn’t present (dpkg compare-versions gets an empty version), and there’s no driver tarball for the Ubuntu 5.15.0-1013-raspi kernel. The 64MP camera requires a Raspberry Pi OS Bullseye system. If you need to confirm support details for your specific setup, reach out to Arducam directly.