problemas instalando o salto de movimento orion

1

Então, eu tenho alguns problemas ao instalar o Leap Motion Orion. Estou tentando instalá-lo da seguinte forma:

cd Downloads/
cd Leap_Motion_Installer_Packages_release_public_linux/
sudo dpkg --install Leap-2.3.1+31549-x64.deb 

Mensagem de erro:

dpkg --install Leap-2.3.1+31549-x64.deb 
(Reading database ... 280274 files and directories currently installed.)
Preparing to unpack Leap-2.3.1+31549-x64.deb ...
Failed to stop leapd.service: Unit leapd.service not loaded.
Unpacking leap (2.3.1+31549) over (2.3.1+31549) ...
removed '/etc/init.d/leapd'
Setting up leap (2.3.1+31549) ...
Leap Motion installed under /usr/bin and /usr/sbin
Failed to start leapd.service: Unit leapd.service not found.
dpkg: error processing package leap (--install):
subprocess installed post-installation script returned error exit status 5
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
leap
    
por Tristan Moorlag 23.02.2018 / 08:56

1 resposta

3

O Leap ainda está configurado para o upstart, e a mudança recente do upstart para o systemd faz com que alguns pacotes como o Leap não sejam instalados.

Siga os passos abaixo:

sudo nano /lib/systemd/system/leapd.service
sudo ln -s /lib/systemd/system/leapd.service /etc/systemd/system/leapd.service
sudo systemctl daemon-reload
sudo dpkg --install Leap-2.3.1+31549-x64.deb

arquivo leapd.service:

[Unit]
Description=LeapMotion Daemon
After=syslog.target

[Service]
Type=simple
ExecStart=/usr/sbin/leapd

[Install]
WantedBy=multi-user.target

Após a instalação, você pode ver:

Check Leap Motion daemon with: service leapd status 
Open the Leap Motion GUI with: LeapControlPanel 
See /usr/share/Leap/README.linux for more information

Fonte

    
por Eofla 24.02.2018 / 12:16