Backport to Focal (20.04)

Asked by Tat-Chee Wan

Are there any plans to backport lg-gpio to Focal?

I'm interested in using this package on Focal since pigpio local libraries (not pigpiod) are not available on Focal and pigpio is also deprecated going forward.

I'm interested in the arm64 port primarily.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu lg-gpio Edit question
Assignee:
No assignee Edit question
Solved by:
Tat-Chee Wan
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

I doubt that there is any plan for such backport, unless somebody creates a request to do this.
Please see https://wiki.ubuntu.com/UbuntuBackports for the process of backporting the newest version that is available in the development version of Ubuntu to an older release.

A possible workaround could be to manually install the packages for hirsute or impish (e.g. http://launchpadlibrarian.net/529590908/liblgpio1_0.1.6.1-0ubuntu2_arm64.deb ) on your focal system.
I do not see any unsatisfiable dependency.

Another possibility is creating a PPA with such version.

Revision history for this message
Tat-Chee Wan (tcwan) said :
#2

@m-hampl Thanks!

The packages (liblgpio1 and liblgpio-dev) seem to install fine on Focal, though I haven't tried compiling applications to link against it yet.

I am not familiar with the backport request process as I'm pretty new to Ubuntu.

Revision history for this message
Tat-Chee Wan (tcwan) said :
#3

I've tried installing the rest of the packages from lg-gpio on Focal (20.04), and found that rgpiod and python3-lgpio and python3-rgpio needs to be recompiled due to incompatible glibc and python3 versions.

So the packages are not all installable without a backport.

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

If the packages cannot be installed because of certain unsatisfiable dependencies (e.g. rgpiod in hirsute needs libc >=2.33, but Ubuntu focal has only 2.31-*), then they usually need functions that are not available in the older Ubuntu release. In such case a backport will not be possible.

Revision history for this message
Tat-Chee Wan (tcwan) said :
#5

I see.

Currently I'm fine with the packages from Hirsute that can be installed since I'm interested in local access provided by the liblgpio1 library.