Quote:
Originally Posted by razar51
Code:
C:\Users\Team1288\Desktop\robotpy-2017.0.6>py installer.py download-opkg mjpg-streamer
works now.
Code:
C:\Users\Team1288\Desktop\robotpy-2017.0.6>py installer.py install-opkg mjpg-streamer
does not. media-ctl depends on libv4l and libv4l depends on media-ctl.
Code:
C:\Users\Team1288\Desktop\robotpy-2017.0.6>py installer.py install-opkg mjpg-streamer
Copying over the opkg cache...
Looking up hostname roborio-1288-frc.local ...
Connecting to robot via SSH at roborio-1288-frc.local
Using username "admin".
NI Linux Real-Time (run mode)
Log in with your NI-Auth credentials.
Remote working directory is /home/admin
local:C:\Users\Team1288\Desktop\robotpy-2017.0.6\opkg_cache\install_opkg.sh => remote:/home/admin/opkg_cache/install_opkg.sh
libjpeg8 - 8d-r1.20
libjpeg8 already installed, continuing...
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for media-ctl:
* libv4l (>= 1.6.2) *
* opkg_install_cmd: Cannot install package media-ctl.
Installing media-ctl (1.6.2-r0.3) on root.
Command '['C:\\Users\\Team1288\\Desktop\\robotpy-2017.0.6\\win32\\plink.exe', '-pw', '', 'admin@roborio-1288-frc.local', 'bash opkg_cache/install_opkg.sh']' returned non-zero exit status 255.
|
Odd, it worked for me, but the problem is that the installer script installs each package separately... so it can't find the one that has the dependency cycle.
I would recommend just ssh'ing into the robot and installing the packages present in /home/admin/opkg_cache manually. Just run 'opkg install FOO.ipk'... you will probably have to specify libv4l and media-ctl at the same time.