adxl345spi icon indicating copy to clipboard operation
adxl345spi copied to clipboard

Package 'pigpio' has no installation candidate

Open Deneteus opened this issue 3 years ago • 5 comments

I have PIGPIOD installed but it's giving an error about no installation candidate.

image

I am trying to get this setup on an RPI3.

Deneteus avatar Apr 25 '21 01:04 Deneteus

After much wrangling I was able to get it to work after a reboot. image

Deneteus avatar Apr 25 '21 02:04 Deneteus

This looks like an apt issue to me. Unfortunately I am not familiar with the octopi and its tweaks and differences from raspbian.

nagimov avatar Apr 28 '21 06:04 nagimov

This looks like an apt issue to me. Unfortunately I am not familiar with the octopi and its tweaks and differences from raspbian.

That is Raspbian.

image

Deneteus avatar Apr 28 '21 15:04 Deneteus

Yes octopi is based on raspbian, but it's tweaked and repackaged via CustomPiOS. Sorry I don't have the resources to test against multiple distributions. If you have issues with adxl on octopi, I would recommend running octoprint on standard raspbian, e.g. via docker (there are octpprint images compiled for arm).

nagimov avatar Apr 29 '21 04:04 nagimov

I am way ahead of you. I already setup a PI with the stock Raspbian image to test it there when I made the post. I'll let you know if I find a solution. It looks like it may be an environment path issue to me but I haven't had time to test further.

Deneteus avatar Apr 29 '21 14:04 Deneteus

Yes octopi is based on raspbian, but it's tweaked and repackaged via CustomPiOS. Sorry I don't have the resources to test against multiple distributions. If you have issues with adxl on octopi, I would recommend running octoprint on standard raspbian, e.g. via docker (there are octpprint images compiled for arm).

Same issue with Armbian Ubuntu.

Solution:

git clone https://github.com/joan2937/pigpio.git && cd pigpio
sudo make install

But there's other bugs with adxl345spi, it needs an update too.

dxl345spi.c: In function ‘printUsage’:
adxl345spi.c:28:34: warning: ‘%s’ directive argument is not a nul-terminated string [-Wformat-overflow=]
+---------------------------------------------------------+
|Sorry, this system does not appear to be a raspberry pi. |
|aborting.                                                |
+---------------------------------------------------------+

Seriously.. that's why we have WiringPI for our various boards.

Turbine1991 avatar Nov 06 '22 14:11 Turbine1991