I had a similar situation where I followed the raspberry pi 5.1.1 instructions but when trying to upgrade to 5.2 I ran into issues until I did this.
% sudo apt remove h10-hailort-pcie-driver
REMOVING:
h10-hailort-pcie-driver
Summary:
Upgrading: 0, Installing: 0, Removing: 1, Not Upgrading: 0
Freed space: 90.7 MB
Continue? [Y/n]
(Reading database … 157480 files and directories currently installed.)
Removing h10-hailort-pcie-driver (5.1.1) …
<< don’t worry about any warnings that directory has other files and isn’t being removed >>
Download the hailort-pcie-driver_5.2.0_all.deb (I followed step 5 here How to Run Local LLMs on Raspberry Pi 5 with AI HAT+ 2 (Hailo-10H)) bc you want to get all three files to be on version 5.2 which includes hailort_5.2.0_arm64.deb, hailort-pcie-driver_5.2.0_all.deb, and hailo_gen_ai_model_zoo_5.2.0_arm64.deb
Assuming you follow that links instructions, then you simply run (and will see a similar status msg):
% sudo dpkg --install hailort-pcie-driver_5.2.0_all.deb
(Reading database … 157406 files and directories currently installed.)
Preparing to unpack hailort-pcie-driver_5.2.0_all.deb …
Could not test for SecureBoot, assuming SecureBoot is disabled on this machine.
Unpacking hailort-pcie-driver (5.2.0) …
Setting up hailort-pcie-driver (5.2.0) …
Good luck!