Correct and not :-) for me that is
Hi Gizmo1007!
The error is the way you stated 'Syntax error' also the expected result after change.
The problem was that: install of uclibc-opt first, then reinstall busybox and then do the edits per sollie's info did not work for me. Struggled for hours with it different solutions and that didn't work got the error everytime. Tried to downgrade to 1.5.1-1 didn't work either. The qualified path to the right busybox command 'head' in the 'update-alternatives' did it for me. The default 'head' command came from the wrong busybox (probably the one ASUS shipped it with)
Rejan.
Aha, get rid of syntax error from ipkg... that's it
Maybe superfluous, but the original title Sollie gave: Fix for the /opt/bin/update-alternatives problem!!!, did not tell me very much, when I first saw it. I really never had heard of update-alternatives. Hence, also not of any problem arising from it...
But, after installing a new package with ipkg these days, which I had not done for months, gave me all sorts of syntax errors and post-errors, as with so many people here.
But NOW I understand that's because the newer ipkg scripts in /opt/bin/update-alternatives use /bin/sh in stead of /opt/bin/bash. AHA.
I changed step 2 and 3 from Sollie in:
2: ln -s /opt/bin/busybox /opt/bin/sort
3: ln -s /opt/bin/busybox /opt/bin/dirname
and added:
3b: ln -s /opt/bin/busybox /opt/bin/head
Now ipkg does its job fine.
So I guess this is the final recipe (partly), let alone that if you run K.C.Furge's latest 1.0.7.8 firmware with KCSHELL set, this should not be needed anymore.:p
Marc
Ok...managed to completed screw up my postini script...
Can someone post their full, working copy?
Thanks!
Actually it's the update-alternatives config file I need.