Libcamera_dev package not found for 2x 64MP autofocus camera on Raspberry Pi 4 Ubuntu

Hi, I’m trying to set up 2x 64MP autofocus cameras on my Raspberry Pi 4. I followed the installation guide step by step but I keep hitting an error during install. The message says:

“Cannot find the corresponding package, please send the following information to [email protected]”

It then lists some info about my setup but I’m not sure what to do next. Anyone know what this means?

Hey, happy to help. That message usually means the installer couldn’t match a libcamera package for your specific kernel/OS combo. Can you paste the full output it printed? Also let me know:

  • Which model exactly (the 2x 64MP autofocus kit?)
  • Your Pi model
  • Which OS you’re running (Raspberry Pi OS, Ubuntu, etc.)
  • Kernel version

The output block usually includes a hardware revision, kernel version and the package name it was looking for.

Sure, here’s the full block it spat out:

Cannot find the corresponding package, please send the following information to [email protected]
Hardware Revision: c03112
Kernel Version: 5.4.0-1065-raspi
Package: libcamera_dev – Focal Fossa

So hardware revision c03112, kernel 5.4.0-1065-raspi, and it’s looking for the libcamera_dev package for Focal Fossa. Is that enough to go on?

Thanks, that helps a lot. Two things jump out right away:

  1. Focal Fossa = Ubuntu 20.04, not Raspberry Pi OS.
  2. Kernel 5.4.0-1065-raspi is the Ubuntu-flavored raspi kernel.

So just to confirm — you’re running Ubuntu 20.04 on the Pi 4, not Raspberry Pi OS? And you’re specifically hoping to use libcamera to capture images on Ubuntu?

Yeah exactly. I’m on Ubuntu 20.04 on the Pi 4. I know the guide is written for Raspberry Pi OS, but I’d really prefer to stay on Ubuntu for this project. Is there any support for RPi 4 running Ubuntu instead of Pi OS? Can I get libcamera working here somehow?

I’ll be straight with you — I ran the camera setup on an Ubuntu system here to check, and it’s not supported. The short version is that Ubuntu doesn’t support using libcamera to capture images at all. libcamera on the Pi relies on the Raspberry Pi OS camera stack, and that stack isn’t there in Ubuntu.

The blocker isn’t just the OS name — your kernel version (5.4.0-1065-raspi) is also unsupported for this camera’s libcamera package, which is why the installer bailed out with that ‘cannot find the corresponding package’ message. So the unsupported kernel is the primary thing stopping the matching libcamera package from being installed.

Ah, that’s disappointing. So there’s really no way to make it work on Ubuntu 20.04? No workaround at all? I’d have to switch OS entirely?

Yeah, unfortunately for this camera the answer is yes — you’d need to switch. The 64MP autofocus camera for Raspberry Pi requires the official Raspberry Pi OS. Ubuntu isn’t supported for libcamera image capture, so there’s no package the installer can match on your current setup.

What I’d recommend:

  1. Back up whatever you need from the current Ubuntu install.
  2. Grab the official Raspberry Pi OS image here: Index of /raspios_full_armhf/images/raspios_full_armhf-2022-04-07
  3. Flash it and boot the Pi 4 on that instead of Ubuntu.
  4. Then re-run the installation guide for the 2x 64MP autofocus cameras.

Once you’re on the official Pi OS with a supported kernel, the libcamera package should match and install cleanly.

OK understood. So the takeaway is basically: this camera needs official Raspberry Pi OS, and Ubuntu won’t work because it can’t do libcamera capture. I’ll try flashing Pi OS and redo the guide. Thanks for confirming instead of leaving me guessing.

Exactly right. To summarize the situation for anyone else hitting this thread:

  • The ‘Cannot find the corresponding package’ error came from running the 64MP autofocus camera installer on an unsupported platform.
  • Root cause: unsupported OS (Ubuntu 20.04 / Focal Fossa) plus unsupported kernel (5.4.0-1065-raspi). The unsupported kernel is the main blocker preventing the matching libcamera package from being found.
  • Ubuntu does not support libcamera image capture, so the camera can’t work there.
  • Fix: install the official Raspberry Pi OS (Index of /raspios_full_armhf/images/raspios_full_armhf-2022-04-07) and re-run the installation guide on that.

Once you’re on the official Pi OS, post back here if the install still errors out and we’ll dig further.