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.
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’ !
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.