Skip to contentSkip to conversation

Transaction test error in RaspberryPI4 build with picamera and libGL

DISCUSSION [email protected] 1 participant 1 message Mar 18, 2024

lore
Share & tools
lore
#0 lore raw

I want to include the python3-picamera library provided by meta-raspberrypi, and I do in my local.conf IMAGE_INSTALL:append = " python3-picamera", However, when I do my bitbake core-image-base, when building do_rootfs, I get an error saying:
Total size: 147 M
Installed size: 432 M
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Error: Transaction test error:
file /usr/lib/libGLESv2.so conflicts between attempted installs of libgles2-mesa-dev-2:22.0.3-r0.cortexa7t2hf_neon_vfpv4 and picamera-libs-20220830-r0.cortexa7t2hf_neon_vfpv4
file /usr/lib/libEGL.so conflicts between attempted installs of libegl-mesa-dev-2:22.0.3-r0.cortexa7t2hf_neon_vfpv4 and picamera-libs-20220830-r0.cortexa7t2hf_neon_vfpv4

I have tried removing the conflicting files adding in do_install() some rm -rf as I have found on the internet, however this solution generates other problems and I do not think it is a reliable fix. Can someone please help me solve this problem?