Ares-install error

hello,
I packaged js service and trying to install the package to raspberry pi but below error is occurred.
How can I fix the problem?

ares-install ERR! ares-install: Error: luna-send command failed (duplicate command while current command has not completed, ignoring)
ares-install verb Error: luna-send command failed (duplicate command while current command has not completed, ignoring)
at _onLine (C:\ares-cli\node_modules\ares-webos-sdk\lib\luna.js:74:12)
at Array.forEach (native)
at _onData (C:\ares-cli\node_modules\ares-webos-sdk\lib\luna.js:62:24)
at Channel. (C:\ares-cli\node_modules\ares-webos-sdk\lib\novacom.js:835:56)
at emitOne (events.js:96:13)
at Channel.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
at Channel.Readable.push (_stream_readable.js:134:10)
at SSH2Stream. (C:\ares-cli\node_modules\ares-webos-sdk\node_modules\ssh2\lib\Channel.js:166:15)
at emitOne (events.js:96:13)

Thanks,

It seems that the previous ares-install is on processing.

If you have the error with ares-install, please share ares-install log by adding "-v" option.

ares-install com.domain.app_0.0.1_all.ipk -d ose -v

You could use ares-cli for ipk file to raspberry pi and install via "opkg" commend in the shell alternatively.

> ares-push -d <DEVICE NAME> <PACKAGE FILENAME>.ipk /home/root   

> ares-shell -d <DEVICE NAME> 

#~> opkg install <PACKAGE FILENAME> 

if package is already installed you should use "opkg remove " and then install.

1 Like

It is recommended to install ipk, which is packaged by ares-package, with ares-install, because LS2 configuration files are created/installed through ares-install. Without the configuration files, the installed app/service can not use LS2-service.
If you are looking for a replacement for ares-install, please use the install method of the appinstall service.

If an ipk contains the required ls2 configuration files, you can install it with opkg install.