Unmet dependencies

Hi currently trying to use install_pivariety_pkgs.sh script with this setup, fresh install of bullseye.

=================================================
Hardware Revision: a020a0
Kernel Version: 6.1.21-v7+
OS Codename: bullseye
ARCH: armv7l
================================================

Used to work, but now getting:

Note, selecting 'libcamera-dev' instead of './libcamera-dev_0_git20230512+8689dd6b-1_armhf.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libcamera-dev : Depends: libcamera0 (= 0~git20230512+8689dd6b-1) but 0~git20230707+2783c8d8-1 is to be installed
E: Unable to correct problems, you have held broken packages.

I guess something has been updated at the Raspberry Pi end but not at your end?

Cheers,

Rick.

This should not happen, please remove libcamera0 first

sudo apt remove libcamera0
install_pivariety_pkgs.sh -p libcamera
install_pivariety_pkgs.sh -p libcamera-apps

Hi Edward,

I managed to get it to work by running sudo apt remove libcamera0

And then running the scripts:

install_pivariety_pkgs.sh -p libcamera
install_pivariety_pkgs.sh -p libcamera-apps

Running sudo apt remove libcamera0 again and then manually running:

sudo apt install ./libcamera0_0_git20230512+8689dd6b-1_armhf.deb
sudo apt install ./libcamera-apps_0.git20230309+4def288-1_armhf.deb
sudo apt install ./libcamera-dev_0_git20230512+8689dd6b-1_armhf.deb

using the files that were downloaded from the pivariety script.

Something isn’t right but I managed to get going,
Cheers,

Rick.

I have the same problem.

when I reinstall the libcamera0, it work on terminal but not when using python bindings.

The problem is python3-picamera2 and python3-libcamera need newer libcamera0 (0~git20230707+2783c8d8-1)
do you have any solution?

We have completed the adaptation of the latest version, but some testing work still needs to be verified.
We will release the newest libcamera package this week or next week, please wait for it.

Could you send me the wrong part?

1 Like