qtrpi icon indicating copy to clipboard operation
qtrpi copied to clipboard

deploy-qtrpi.sh "unable to locate libinput5"

Open traviezo opened this issue 7 years ago • 4 comments

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.

traviezo avatar Aug 29 '17 18:08 traviezo

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 avatar Sep 06 '17 09:09 franselectro

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

franselectro avatar Sep 06 '17 12:09 franselectro

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

Two solutions:

  • You can use a Raspbian Jessie version (https://downloads.raspberrypi.org/raspbian/images/raspbian-2017-07-05/) with QtRpi
  • You can help us to enhance and update QtRpi to support the new Raspbian Stretch version

GuillaumeLazar avatar Sep 08 '17 14:09 GuillaumeLazar

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.

Hoangvietcuong avatar May 22 '18 02:05 Hoangvietcuong