# Bug Report: hailo-gen-ai-model-zoo 5.3.0 Uninstallable on Raspberry Pi with Hailo-10H

Bug Report: hailo-gen-ai-model-zoo 5.3.0 Uninstallable on Raspberry Pi with Hailo-10H

Summary

The hailo-gen-ai-model-zoo_5.3.0_arm64.deb package cannot be properly installed on Raspberry Pi 5 with Hailo-10H due to incorrect package dependencies. The .deb requires the generic hailort package (intended for Hailo-8L), but Hailo-10H requires the architecture-specific h10-hailort package.

Result: hailo-ollama binary crashes at runtime with missing shared library error.


System Configuration

Hardware

  • Device: Raspberry Pi 5
  • Accelerator: Hailo-10H AI Kit
  • OS: Debian 13 (Trixie)

Software Stack

  • Kernel: ARMv8 (ARM 64-bit)
  • Python: 3.13.5
  • Installation Date: May 1, 2026

Installed Hailo Packages

hailo-gen-ai-model-zoo        5.3.0 (arm64)
h10-hailort                   5.2.0-1 (arm64) [installed per Hailo-10H requirements]
hailo-tappas-core            5.2.0 (arm64)
python3-h10-hailort          5.2.0-1 (arm64)
rpicam-apps-hailo-postprocess 1.11.1-1 (arm64)

hailo-apps Installation

hailo-apps                    26.3.0
hailort (Python binding)      5.2.0
hailo-tappas-core (Python)    5.1.0

Steps to Reproduce

Step 1: Prepare System

# Start with clean Hailo-10H installation
sudo apt update
sudo apt upgrade

# Install Hailo-10H required packages (following official guide)
sudo apt install h10-hailort python3-h10-hailort

Step 2: Attempt Standard Installation (README Method)

# Download hailo-gen-ai-model-zoo from Developer Zone
wget https://hailo.ai/developer-zone/hailo_gen_ai_model_zoo_5.3.0_arm64.deb

# Install via apt (as per README)
sudo apt install ./hailo_gen_ai_model_zoo_5.3.0_arm64.deb

Result: APT attempts to downgrade h10-hailort to generic hailort 4.23.0, causing conflicts.


Error Messages

Error 1: APT Dependency Conflict

Installiere:
  hailo-gen-ai-model-zoo

Installiere Abhängigkeiten: 
  hailort (4.23.0)  ← WRONG VERSION FOR H10!

ENTFERNE:
  h10-hailort  hailo-h10-all  python3-h10-hailort

ERROR: Pakete müssen entfernt werden, aber Entfernen ist abgeschaltet.

Error 2: dpkg Installation Failure

$ sudo dpkg -i hailo_gen_ai_model_zoo_5.3.0_arm64.deb

dpkg: Abhängigkeitsprobleme verhindern Konfiguration von hailo-gen-ai-model-zoo:
 hailo-gen-ai-model-zoo hängt ab von hailort; aber:
  Paket hailort ist nicht installiert.

dpkg: Fehler beim Bearbeiten des Paketes hailo-gen-ai-model-zoo (--install):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert

Error 3: Runtime Library Missing

$ hailo-ollama --help

hailo-ollama: error while loading shared libraries: libhailort.so.5.3.0: 
  cannot open shared object file: No such file or directory

Root Cause Analysis

Problem 1: Incorrect Package Dependency

The .deb file declares:

Depends: hailort

Expected for Hailo-10H:

Depends: h10-hailort (>= 5.2.0)

Issue: The generic hailort package (v4.23.0) is for Hailo-8L and contains libhailort.so.4.23.0, but the hailo-ollama binary is compiled for libhailort.so.5.3.0 (Hailo-10H).

Problem 2: Version Mismatch

hailo-gen-ai-model-zoo 5.3.0
    ↓ Requires (Incorrect)
hailort (generic) → 4.23.0 for Hailo-8L
    ↓ But hailo-ollama binary needs
libhailort.so.5.3.0 (Hailo-10H specific)

Problem 3: No Architecture Detection

The package doesn’t adapt dependencies based on detected hardware. Should detect h10-hailort and require it accordingly.


Failed Workaround Attempts

Attempt 1: Force Dependencies

sudo dpkg --force-all -i hailo_gen_ai_model_zoo_5.3.0_arm64.deb
# Result: Installs but binary still crashes (missing libhailort.so.5.3.0)

Attempt 2: Manual hailort Installation

sudo apt install hailort=5.2.0
# Result: Causes conflicts, APT removes h10-hailort instead

Expected Behavior

After installation:

$ hailo-ollama
Listening on http://0.0.0.0:8000

Should work with h10-hailort installed and libraries available:

$ ldd /usr/bin/hailo-ollama | grep hailort
    libhailort.so.5.3.0 => /usr/lib/libhailort.so.5.3.0

Impact

  • :cross_mark: Cannot use hailo-ollama CLI tool on Hailo-10H
  • :cross_mark: Cannot follow official README installation instructions
  • :cross_mark: Blocks integration with Open WebUI
  • :white_check_mark: Workaround exists: Use hailo-apps venv instead

Workaround (Until Fix)

Use the bundled GenAI apps from hailo-apps instead of system package:

# Activate hailo-apps venv
source ~/hailo-apps/venv_hailo_apps/bin/activate

# Run LLM server (has correct dependencies)
python -m hailo_apps.python.gen_ai_apps.simple_llm_chat.simple_llm_chat --mode server --port 8000

# In another terminal: Run Open WebUI
docker run -d --network host \
  -v open-webui:/app/backend/data \
  --name open-webui \
  ghcr.io/open-webui/open-webui:main

Result: Both services work correctly without package conflicts.


Requested Fix

Option A (Recommended): Update .deb package

  • Change Depends: hailort to Depends: h10-hailort (>= 5.2.0)
  • Add hardware detection to select correct dependency
  • Rebuild and publish corrected version

Option B (Alternative): Provide separate package

  • hailo-gen-ai-model-zoo-h10_5.3.0_arm64.deb (for Hailo-10H, requires h10-hailort)
  • hailo-gen-ai-model-zoo-8l_5.3.0_arm64.deb (for Hailo-8L, requires hailort)

Option C (Documentation): Update README

  • Document the dependency issue
  • Provide manual installation workarounds
  • Link to venv-based alternative

Additional Information

  • Package Date: April 4, 2026
  • Build Date: Published to Raspberry Pi repository (trixie/main)
  • Affected Versions: hailo-gen-ai-model-zoo 5.3.0 (at minimum)
  • Hardware: Hailo-10H (possibly also other H-series devices)

Files Affected

  • .deb file: hailo-gen-ai-model-zoo_5.3.0_arm64.deb
  • Binary: /usr/bin/hailo-ollama
  • Documentation: hailo_apps/python/gen_ai_apps/hailo_ollama/README.md

Reproducibility

:green_circle: Always reproducible on Raspberry Pi 5 + Hailo-10H with Debian 13


Contact Information

  • User: PromiseYouDE
  • Hardware: Hailo-10H on Raspberry Pi 5
  • Use Case: Robotics AI integration (Vision + LLM)

**Thank you for your attention to this issue. Happy to provide additional logs or testing if needed.
**
(The installation attempts were assisted by AI, specifically the LLM Claude Haiku 4.5 via Copilot (github.com).

Hi @Achim_Haber,

There are 2 separate parts to my answer:

  1. Last week there was an issue with the sudo apt install hailo-h10-all command - This was fixed ASAP as we noticed. However this installation currently carries the 5.1 suite.
  2. For the 5.3 bump - manual installation is required by downloading all necessary files from our developer zone. Please note, that for this direction - a complete uninstall of old artifact is required to start from fresh clean environment: Raspberry Trixie Error with Guide (Pi 5, AI Hat 2) - #18 by Michael

Thanks,

Dear Michael,

I hope this message finds you well. I’m writing to follow up on my recent bug report posted in the Hailo forum regarding the hailo-gen-ai-model-zoo 5.3.0 package being uninstalled on Raspberry Pi 5 with Hailo-10H due to dependency conflicts.

As mentioned in the report, I’ve successfully installed the full hailo-apps stack four times without issue. However, when attempting to run hailo-ollama (required for Open WebUI integration), the process fails due to a library version mismatch:

  • The .deb package incorrectly depends on the generic hailort (for Hailo-8L), but Hailo-10H requires the architecture-specific h10-hailort.
  • This forces APT to downgrade h10-hailort to hailort 4.23.0, causing runtime crashes (libhailort.so.5.3.0 missing).

In the hailo-apps repository, the python/gen_ai_apps README directs users to follow the Hailo Ollama integration guide for Open WebUI setup. However, following these instructions leads back to the same dependency conflict described in my bug report.

Key questions:

  1. Is there a workaround to use hailo-ollama with Hailo-10H without triggering the downgrade?
  2. Should the hailo-gen-ai-model-zoo package dependencies be updated to explicitly require h10-hailort for Hailo-10H systems?
  3. Are there plans to split the package into architecture-specific versions (as suggested in my report’s “Option B”)?

I’m happy to provide additional logs, system details, or test potential fixes. Thank you for your support in resolving this!

Best regards,
Achim Haber
(Erstellt mit Qwen VL 235b)

It’s usable on my pi 5 and hailo 10h with raspbian trixie.

Drop everything hailo related from pi so that it’s clean and then install 5.3.0 everything from software download center. Don’t touch apt versions at all - they have 5.1.0.

Note that hailo ollama 5.3.0 is broken right now and doesn’t escape characters correctly so prompts with “enter \n” are giving 500s

Hi @Spaier ,

You’re right and we are working to fix this.

Thanks,