# Unable to locate package deconz

**URL:** <https://forum.phoscon.de/t/unable-to-locate-package-deconz/1301>\
**Category:** Setup Support\
**Created:** [January 6, 2022, 4:08pm UTC](https://forum.phoscon.de/t/unable-to-locate-package-deconz/1301 "2022-01-06T16:08:50Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![zener](https://forum.phoscon.de/letter_avatar_proxy/v4/letter/z/ed8c4c/32.png) [@zener](https://forum.phoscon.de/u/zener)\
**Post date:** [January 6, 2022, 4:08pm UTC](https://forum.phoscon.de/t/unable-to-locate-package-deconz/1301/1 "2022-01-06T16:08:50Z")

</div>

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

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

```

But I’m not able to install deconz:

```auto
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.

---

<div class="post-metadata">

**Author:** ![Mimiix](https://forum.phoscon.de/user_avatar/forum.phoscon.de/mimiix/32/10_2.png) [@Mimiix](https://forum.phoscon.de/u/Mimiix)\
**Post date:** [January 6, 2022, 4:13pm UTC](https://forum.phoscon.de/t/unable-to-locate-package-deconz/1301/2 "2022-01-06T16:13:35Z")

</div>

You probably need to do a apt upgrade first

---

<div class="post-metadata">

**Author:** ![zener](https://forum.phoscon.de/letter_avatar_proxy/v4/letter/z/ed8c4c/32.png) [@zener](https://forum.phoscon.de/u/zener)\
**Post date:** [January 6, 2022, 4:18pm UTC](https://forum.phoscon.de/t/unable-to-locate-package-deconz/1301/3 "2022-01-06T16:18:12Z")

</div>

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

```auto
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

```

---

<div class="post-metadata">

**Author:** ![Mimiix](https://forum.phoscon.de/user_avatar/forum.phoscon.de/mimiix/32/10_2.png) [@Mimiix](https://forum.phoscon.de/u/Mimiix)\
**Post date:** [January 6, 2022, 4:22pm UTC](https://forum.phoscon.de/t/unable-to-locate-package-deconz/1301/4 "2022-01-06T16:22:00Z")

</div>

I am not sure on this one.

[@de\_employees](https://forum.phoscon.de/groups/de_employees)

---

<div class="post-metadata">

**Author:** ![zener](https://forum.phoscon.de/letter_avatar_proxy/v4/letter/z/ed8c4c/32.png) [@zener](https://forum.phoscon.de/u/zener)\
**Post date:** [January 6, 2022, 4:24pm UTC](https://forum.phoscon.de/t/unable-to-locate-package-deconz/1301/5 "2022-01-06T16:24:38Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![zener](https://forum.phoscon.de/letter_avatar_proxy/v4/letter/z/ed8c4c/32.png) [@zener](https://forum.phoscon.de/u/zener)\
**Post date:** [January 6, 2022, 5:06pm UTC](https://forum.phoscon.de/t/unable-to-locate-package-deconz/1301/6 "2022-01-06T17:06:14Z")

</div>

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

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

```auto
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

```

---

<div class="post-metadata">

**Author:** ![zener](https://forum.phoscon.de/letter_avatar_proxy/v4/letter/z/ed8c4c/32.png) [@zener](https://forum.phoscon.de/u/zener)\
**Post date:** [January 6, 2022, 5:09pm UTC](https://forum.phoscon.de/t/unable-to-locate-package-deconz/1301/7 "2022-01-06T17:09:57Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ich](https://forum.phoscon.de/user_avatar/forum.phoscon.de/ich/32/19_2.png) [@ich](https://forum.phoscon.de/u/ich)\
**Post date:** [January 6, 2022, 6:37pm UTC](https://forum.phoscon.de/t/unable-to-locate-package-deconz/1301/8 "2022-01-06T18:37:44Z")

</div>

Is [this](https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/deCONZ-on-Arm64-aarch64-Ubuntu-Focal,-Debian-Stretch.) the solution?:

---

<div class="post-metadata">

**Author:** ![zener](https://forum.phoscon.de/letter_avatar_proxy/v4/letter/z/ed8c4c/32.png) [@zener](https://forum.phoscon.de/u/zener)\
**Post date:** [January 6, 2022, 7:34pm UTC](https://forum.phoscon.de/t/unable-to-locate-package-deconz/1301/9 "2022-01-06T19:34:10Z")

</div>

No it did not help.

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

```auto
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

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

```

---

<div class="post-metadata">

**Author:** ![zener](https://forum.phoscon.de/letter_avatar_proxy/v4/letter/z/ed8c4c/32.png) [@zener](https://forum.phoscon.de/u/zener)\
**Post date:** [January 6, 2022, 7:54pm UTC](https://forum.phoscon.de/t/unable-to-locate-package-deconz/1301/10 "2022-01-06T19:54:18Z")

</div>

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](https://github.com/dresden-elektronik/deconz-rest-plugin.git) build be bootstrapped?

Is [GitHub - dresden-elektronik/deconz-rest-plugin: deCONZ REST-API plugin to control ZigBee devices](https://github.com/dresden-elektronik/deconz-rest-plugin.git) the source for the deconz package?
