Currently running mycroft-msm install pandora fails on my Debian Stretch install with the following output:
INFO - Best match (0.9): mycroft-pandora by MycroftAI
INFO - Downloading skill: https://github.com/MycroftAI/pianobar-skill
Command failed: Option 'pianobar' is not supported
Could not find pianobar! Please install with your package manager.
ERROR - Requirements.sh failed with error code: 1
INFO - Problem performing action. Restoring skill to previous state...
SystemRequirementsException: 1
If pkcon is found it assigns pm to be pkcon which makes sense if pm is just the "package manager" however this variable seems to really be the "package manager installation command".
Currently this results in the script attempting to run pkcon pianobar instead of pkcon install pianobar. Hence needs to at least have the install command added. To be consistent with the pacman, apt and zypper versions I also added a -y flag.
To test:
ensure you are on a system with pkcon
uninstall pianobar
run the old requirements.sh - installation should fail
run the new script - pianobar should successfully install
Currently running
mycroft-msm install pandora
fails on my Debian Stretch install with the following output:If
pkcon
is found it assignspm
to bepkcon
which makes sense ifpm
is just the "package manager" however this variable seems to really be the "package manager installation command".Currently this results in the script attempting to run
pkcon pianobar
instead ofpkcon install pianobar
. Hence needs to at least have the install command added. To be consistent with the pacman, apt and zypper versions I also added a-y
flag.To test: