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

deploy-qtrpi.sh "unable to locate libinput5" #69

Open
traviezo opened this issue Aug 29, 2017 · 4 comments
Open

deploy-qtrpi.sh "unable to locate libinput5" #69

traviezo opened this issue Aug 29, 2017 · 4 comments
Labels

Comments

@traviezo
Copy link

Good afternoon,
I'm trying to run the deploy-qtrpi.sh but I get the error "unable to locate libinput5". I looked into the script and it is basically the following command line that causes the error:
ssh $TARGET_HOST 'sudo apt-get install -y libts-0.0-0 libinput5 fontconfig'
I was looking to download manually the libinput5 library to the raspian Jessie version I have but it seems that since it depends on other packages the manual installation is halted due to these dependencies missing. Would you please tell me if there is anything I may have overlooked while running this script. Any help would be greatly appreciated. Thank you.

@franselectro
Copy link

franselectro commented Sep 6, 2017

Hello,
got same problem on brand new install stretch raspbian

Raspbian Stretch with desktop
with desktop based on Debian Stretch
Version: August 2017
Release date: 2017-08-16
Kernel version: 4.9

E: Unable to locate package libinput5
rm: cannot remove '/usr/lib/arm-linux-gnueabihf/libEGL.so.1.0.0': No such file or directory
rm: cannot remove '/usr/lib/arm-linux-gnueabihf/libGLESv2.so.2.0.0': No such file or directory

I'm trying again with ./init-qtrpi-full.sh

EDIT: Full init doesn't work either :(

Best regards,

@franselectro
Copy link

franselectro commented Sep 6, 2017

Don't know if it could solve traviezo problem also, but I manage to fix the missing library by doing following steps (should no be accurate as I tried so many things...):
apt-get install libx11-dev
apt-get remove libgles2-mesa --purge (without removing dependencies)
sudo apt-get install libgles2-mesa libgles2-mesa-dev

@GuillaumeLazar
Copy link
Member

QtRpi expect a "Raspbian Jessie" version. Since august 2017, Raspbian switched from Debian Jessie to Debian Stretch.

Two solutions:

@Hoangvietcuong
Copy link

Hoangvietcuong commented May 22, 2018

thanks GuillaumeLazar for your cmt, I'm using Raspbian stretch version and I got same problem on brand new install stretch raspbian.E: Unable to locate package libinput5 rm: cannot remove '/usr/lib/arm-linux-gnueabihf/libGLESv2.so.2.0.0': No such file or directory

Edit:
I seached libinput in https://packages.ubuntu.com/search?suite=all&section=all&arch=any&keywords=libinput5&searchon=all
and the result was no package name libinput 5, now it was libinput10.
Then I fixed the script in deploy-qtrpi.sh :
ssh $TARGET_HOST 'sudo apt-get install -y libts-0.0-0 libinput5 fontconfig' to ssh $TARGET_HOST 'sudo apt-get install -y libinput10 fontconfig' and it worked.
Hope it help.

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

No branches or pull requests

4 participants