Compatibility issue between hailo-all 4.20 and manually installed 4.19 components on Raspberry Pi

Hi Hailo team,

I’m trying to install a project on a Raspberry Pi that requires Hailo version 4.19.
At first, I ran the usual command:

sudo apt install -y hailo-all

But this installed version 4.20.0, which causes incompatibilities with my code.

So I tried downgrading manually with:

sudo apt install -y --allow-downgrades \
  hailo-tappas-core=3.30.0-1 \
  hailo-dkms=4.19.0-1 \
  hailort=4.19.0-3

However, when I run:

hailortcli fw-control identify

I get the following error:

[HailoRT] [error] CHECK failed - Driver version (4.20.0) is different from library version (4.19.0)
[HailoRT] [error] Driver version mismatch, status HAILO_INVALID_DRIVER_VERSION(76)
...

I double-checked the installed versions using:

apt-cache policy hailo-tappas-core
apt-cache policy hailort
apt-cache policy hailo-dkms
apt-cache show hailo-all

It seems that while the components are properly downgraded to 4.19, the hailo-all meta-package remains at version 4.20, which might be pulling in conflicting dependencies or keeping older drivers in place.

I’m looking for a way to cleanly install only version 4.19 for everything, or to downgrade hailo-all to version 4.19 — but I can’t seem to make that work.

Any advice or official guidance on how to proceed would be greatly appreciated!

Thanks in advance

Please try the instructions from the Raspberry Pi AI page - Alternative Package Versions.

https://www.raspberrypi.com/documentation/computers/ai.html

I tried what is recommended :

i changed : `sudo apt install -y hailo-all
sudo apt install -y --allow-downgrades hailo-tappas-core=3.30.0-1 hailo-dkms=4.19.0-1 hailort=4.19.0-3

by sudo apt install hailo-tappas-core=3.30.0-1 hailort=4.19.0-3 hailo-dkms=4.19.0-1 python3-hailort=4.19.0-2 and sudo apt-mark hold hailo-tappas-core hailort hailo-dkms python3-hailort

I tried to do it on a freshly installed raspberry os but i still got hailortcli fw-control identify [HailoRT] [error] CHECK failed - Driver version (4.20.0) is different from library version (4.19.0)

I doubled checked and when i do : dpkg -l | grep hailo
I have :

hi  hailo-dkms                            4.19.0-1                            all          Hailo PCIe driver
hi  hailo-tappas-core                     3.30.0-1                            arm64        This package contains the core components of the Hailo Tappas platform.
ii  hailofw                               4.20.0-1                            all          Hailo firmware
hi  hailort                               4.19.0-3                            arm64        HailoRT
hi  python3-hailort                       4.19.0-2                            arm64        HailoRT Python API, which wraps the runtime library

so ii hailofw is 4.20 and not 4.19 thats probably the problem but i dont know how to solve it

@KlausK can yo help me please ?