Skip to content

Debian Bookworm dependency conflict #1098

Open
@maxsitt

Description

@maxsitt

Hi,

when trying to run the install_dependencies.sh script on a Raspberry Pi Zero 2 W with the latest RPi OS based on Debian 12 Bookworm installed, the following error is thrown:

The following packages have unmet dependencies:
 libimath-dev : Conflicts: libilmbase-dev
 libopenexr-dev : Breaks: libilmbase-dev (< 2.5.7-3~)
E: Unable to correct problems, you have held broken packages.

Failed installing dependencies. Could be a bug in the installer or unsupported platform. Open a bug report over at https://github.com/luxonis/depthai - exitedom/luxonis/depthai - exited with status 100 at line 206

It seems like libilmbase-dev is now part of libimath-dev, see also here.

I would suggest to remove libilmbase-dev (line 82) and libopenexr-dev (line 83) from the debian_arm_pkgs list and add:

  • libilmbase-dev and libopenexr-dev to debian_pkgs_pre22_04 (line 87) - for Debian 11 Bullseye
  • libimath-dev and libopenexr-dev to debian_pkgs_post22_04 (line 93) - for Debian 12 Bookworm

With this change the installation works without problems, also on Debian 12 Bookworm.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions