Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to locate package deconz-dev #2811

Closed
olicooper opened this issue May 25, 2020 · 8 comments
Closed

Unable to locate package deconz-dev #2811

olicooper opened this issue May 25, 2020 · 8 comments

Comments

@olicooper
Copy link
Contributor

I am on a Raspberry Pi 1B+ (armhf) running raspbian buster.

I would like to compile my own version of the application, so I tried following the official install guide but I get the error Unable to locate package deconz-dev.

I tried installing the ubuntu version found here but that complained it was for x64 architecture so I have run out of ideas how to get the package. Does anyone know how to fix this?

@olicooper
Copy link
Contributor Author

olicooper commented May 25, 2020

Okay, so I spent hours trying to get it to work, and shortly after posting this issue I managed to acquire the package. I think the dev package is just not visible on here.

This pointed me in the right direction - #2674 (comment). I had to run the following:

wget -O - http://phoscon.de/apt/deconz.pub.key | sudo apt-key add -
sudo sh -c "echo 'deb http://phoscon.de/apt/deconz (cat /etc/os-release | grep -oP '(?<=VERSION_CODENAME\=).*')-beta main' > /etc/apt/sources.list.d/deconz.list"
sudo apt update
sudo apt upgrade
sudo apt install deconz-dev

@Mimiix
Copy link
Collaborator

Mimiix commented Jun 6, 2020

It seems this issue is resolved or otherwise inactive. If it is not, please re-open!

@Oderik
Copy link

Oderik commented Nov 24, 2020

Observed the same issue, solved it based on #2811 (comment)

@doit4fun
Copy link

I've tried it but I get this...
sh: 1: Syntax error: "(" unexpected

is the command not good or something is wrong?

@Smanar
Copy link
Collaborator

Smanar commented Sep 21, 2021

@doit4fun
Copy link

doit4fun commented Sep 21, 2021

I've managed to install it on Odroid XU4. I run Ubuntu on XU4 and the installation instruction form the website don't work because Odroid XU4 is using arm based linux not Ubuntu x64 versions so the package manager doesn't know to lookup for the right package as described in the main website.
So, to bypass this you must install the package manually

  1. get the latest version localy with
    wget https://deconz.dresden-elektronik.de/raspbian/deconz-latest.deb
    ....yes the right package is the raspian .deb version since it's working with ARM architecture
  2. install the deb package
    sudo dpkg -i deconz-latest.deb
  3. install missing dependencies
    sudo apt update
    sudo apt install –f

for me worked fixing the dependencies with
apt --fix-broken install

  1. after reinstalling dependencies I successfully installed the package
    sudo dpkg -i deconz-latest.deb
    and after the installation process finishes without error

  2. next try to launch the Phoscon gateway software from VNC or RemoteDesktop and launch the desktop app... you will find the icon in the menu

@P2W2
Copy link

P2W2 commented Nov 15, 2021

I have the same issue. I tried to install it on a raspberry arm & an Intel processor.
None of the solutions above helped me.
I get the same sh: 1: Syntax error: "(" unexpected error or de_web_plugin.h:16:10: fatal error: deconz.h: No such file or directory 16 | #include <deconz.h> | ^~~~~~~~~~ Error if I try to compile the project with the solution from @doit4fun.

@Smanar
Copy link
Collaborator

Smanar commented Nov 15, 2021

pi@raspberrypi:~ $ sudo apt install deconz-dev
deconz-dev est déjà la version la plus récente (2.13.01-raspbian-buster-beta).

wich one version you have ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants