Fixed — opkg install node fails

I proceeded with the update of the as described at Upgrading the OpenWrt-Yun image on the Yún

Then I launched as described at TIME TO EXPAND YOUR YÚN DISK SPACE AND INSTALL NODE.JS but have those error messages:

root@myYun:~# opkg update
Downloading http://downloads.arduino.cc/openwrtyun/1/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/attitude_adjustment.
Downloading http://downloads.arduino.cc/openwrtyun/1/packages/Packages.sig.
Signature check passed.

root@myYun:~# opkg install node
Installing node (v0.10.28-1) to root...
Downloading http://downloads.arduino.cc/openwrtyun/1/packages/node_v0.10.28-1_ar71xx.ipk.
Installing uclibcxx (0.2.4-1) to root...
Downloading http://downloads.arduino.cc/openwrtyun/1/packages/uclibcxx_0.2.4-1_ar71xx.ipk.
Collected errors:
 * opkg_install_pkg: Package uclibcxx md5sum mismatch. Either the opkg or the package index are corrupt. Try 'opkg update'.
 * opkg_install_cmd: Cannot install package node.

root@myYun:~#

Any idea? Thank you!

Sorry, blogpost came an hour before upload of the updates was complete. Can you retry now?

Thanks! Installation succeeded.

Now, the example provided doesn't work even after fixing the ' and ":

 root@myYun:~# node -e "console.log('Hello Yun')"

[eval]:1
console.log('Hello
            ^^^^^^
SyntaxError: Unexpected token ILLEGAL
    at Object.<anonymous> ([eval]-wrapper:6:22)
    at Module._compile (module.js:456:26)
    at evalScript (node.js:536:25)
    at startup (node.js:80:7)
    at node.js:906:3

However, calling node then running the command go fine.

root@myYun:~# node
> console.log('Hello Yun')
Hello Yun
undefined
> 
(^C again to quit)
> 
root@myYun:~#

It looks like there is some spurious chars between... Can you try typing it by hand?

Your are right! Argh, why I don't try even the obvious things... It seems like the space is not well accepted by "ash", the minimal bash running on the yun
Anyway, fixed adding an underscore. I've also fixed quotes and double quotes
Thank you for the heads up

Thanks, it works now :slight_smile: