Skip to content

Missing dependency: dpkg-checkbuilddeps: error: unmet build dependencies: dh-dkms #1

Description

@dan-s-github

First of all, big thanks to providing this script to simplify installation

After struggling to install the coral tpu using the getting started instructions I landed here.

Steps executed:
Copied the script to my frigate box

chmod +x install_coral_tpu.sh
sudo ./install_coral_tpu.sh --install

install failed to compile as dh-dkms was missing

Switched to branch 'pr-50'
dpkg-buildpackage -us -uc -ui -tc -b
dpkg-buildpackage: info: source package gasket-dkms
dpkg-buildpackage: info: source version 1.0-18.4
dpkg-buildpackage: info: source distribution noble
dpkg-buildpackage: info: source changed by Nicola Ferralis <feranick@hotmail.com>
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
dpkg-checkbuilddeps: error: unmet build dependencies: dh-dkms
dpkg-buildpackage: error: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: hint: satisfy build dependencies with your package manager frontend
debuild: fatal error at line 1185:
dpkg-buildpackage -us -uc -ui -tc -b failed
Error: Failed to build gasket-dkms

after installing the missing dependency everything worked fine

sudo apt install dh-dkms
sudo ./install_coral_tpu.sh --install
...
sudo ./install_coral_tpu.sh --status
Coral TPU PCIe hardware detected:
05:00.0 System peripheral [0880]: Global Unichip Corp. Coral Edge TPU [1ac1:089a]
06:00.0 System peripheral [0880]: Global Unichip Corp. Coral Edge TPU [1ac1:089a]

Apex devices installed: 
/dev/apex_0
/dev/apex_1

DKMS Gasket module: gasket/1.0, 6.12.38+deb13-amd64, x86_64: installed
gasket/1.0, 6.12.41+deb13-amd64, x86_64: installed
Apex module version: 1.2
libedgetpu1-std version: 16.0

Non-root access:
Udev rule for non-root access: not present.
Apex group for non-root access: not present.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions