Unable to locate package deconz

I just got a ConBee II. I have no past experience with this device.
I can detect it using lsusb:

root@ubuntu:~# lsusb -d 1cf1:0030
Bus 001 Device 084: ID 1cf1:0030 Dresden Elektronik

But I’m not able to install deconz:

root@ubuntu:~# grep PRETTY_NAME /etc/os-release 
PRETTY_NAME="Ubuntu 20.04.3 LTS"
root@ubuntu:~# cat /etc/apt/sources.list.d/deconz.list
deb [arch=amd64] http://phoscon.de/apt/deconz             focal main
root@ubuntu:~# sudo apt install deconz
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package deconz

Will the above install https://github.com/dresden-elektronik/deconz-rest-plugin.git or is will it install a closed source driver used by the rest-plugin?

This is on Raspberry Pi3.

You probably need to do a apt upgrade first

Thanks. But I’ve done multiple apt update and apt upgrade without any luck.

root@ubuntu:/var/log# apt upgrade ; apt install deconz
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  linux-headers-5.4.0-1046-raspi linux-image-5.4.0-1046-raspi linux-modules-5.4.0-1046-raspi
  linux-raspi-headers-5.4.0-1046
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package deconz

I am not sure on this one.

@de_employees

Thanks for the quick feedback.
Is it possible to build deconz from source?

There’s a problem as I copied the Ubuntu instructions from
https://phoscon.de/en/conbee/install#ubuntu

Which is for AMD64, but changing to aarch64 does not seem to help:

root@ubuntu:/var/log# uname -m
aarch64
root@ubuntu:/var/log# cat /etc/apt/sources.list.d/deconz.list
deb [arch=aarch64] http://phoscon.de/apt/deconz             focal main
root@ubuntu:/var/log# apt upgrade ; apt install deconz
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package deconz

Is it possible to install this package from source, if yes what is the URL to the git repository?

Is this the solution?:

No it did not help.

I tried to build https://github.com/dresden-elektronik/deconz-rest-plugin.git assuming it’s the source of deconz which turned into a chicken and egg problem.

de_web_plugin.h:16:10: fatal error: deconz.h: No such file or directory
   16 | #include <deconz.h>
      |          ^~~~~~~~~~
alarm_system.cpp:13:10: fatal error: deconz/timeref.h: No such file or directory
   13 | #include <deconz/timeref.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
compilation terminated.
make[1]: *** [Makefile.Release:906: release/air_quality.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile.Release:921: release/alarm_system.o] Error 1
make[1]: Leaving directory '/home/petter/projects/zigbee/deconz-rest-plugin.git'
make: *** [Makefile:42: release] Error 2
: ubuntu ~/projects/zigbee/deconz-rest-plugin.git@master; find . -name deconz.h
: ubuntu ~/projects/zigbee/deconz-rest-plugin.git@master; locate !$
locate deconz.h

I googled this and one suggestion was to install deconz-dev

root@ubuntu:~# apt install deconz-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package deconz-dev

It appears that there is no repo for aarch64 Ubuntu 20.04.3?

How can the GitHub - dresden-elektronik/deconz-rest-plugin: deCONZ REST-API plugin to control ZigBee devices build be bootstrapped?

Is GitHub - dresden-elektronik/deconz-rest-plugin: deCONZ REST-API plugin to control ZigBee devices the source for the deconz package?