problem with installing optware packages
hello
i install K.Furge Custom Firmware on WL 700gE [v1.0.4.6]
then i upload the rc.local
now i can telnet to the router
as next spet i have try to Installing optware packages
http://wl700g.homelinux.net/portal/content/view/20/28/
Code:
wget http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/uclibc-opt_0.9.28-12_mipsel.ipk
tar xvzf uclibc-opt_0.9.28-12_mipsel.ipk; tar xvzf data.tar.gz
wget http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/busybox-base_1.8.1-1_mipsel.ipk
tar xvzf busybox-base_1.8.1-1_mipsel.ipk; tar xvzf data.tar.gz
wget http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/busybox-links_1.8.1-1_mipsel.ipk
tar xvzf busybox-links_1.8.1-1_mipsel.ipk; tar xvzf data.tar.gz
wget http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/busybox_1.8.1-1_mipsel.ipk
tar xvzf busybox_1.8.1-1_mipsel.ipk; tar xvzf data.tar.gz
wget http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/wget_1.10.2-4_mipsel.ipk
tar xvzf wget_1.10.2-4_mipsel.ipk; tar xvzf data.tar.gz
wget http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/ipkg-opt_0.99.163-9_mipsel.ipk
tar xvzf ipkg-opt_0.99.163-9_mipsel.ipk; tar xvzf data.tar.gz
rm -f *.ipk data.tar.gz debian-binary control.tar.gz
export PATH=/opt/bin:/opt/sbin:${PATH}
export LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}
but i get a error, and i dont now whats wrong
Code:
#
# rm -f *.ipk data.tar.gz debian-binary control.tar.gz
#
# export PATH=/opt/bin:${PATH}
#
# export LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}
#
# ipkg update
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/Packages.gz
Inflating http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/Packages.gz
Updated list of available packages in /opt/lib/ipkg/lists/optware
Successfully terminated.
#
# ipkg install uclibc-opt busybox ipkg-opt wget
Installing uclibc-opt (0.9.28-12) to /opt/...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/uclibc-opt_0.9.28-12_mipsel.ipk
package uclibc-opt suggests installing ipkg-opt
Installing busybox (1.8.1-1) to /opt/...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/busybox_1.8.1-1_mipsel.ipk
Installing busybox-base (1.8.1-1) to /opt/...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/busybox-base_1.8.1-1_mipsel.ipk
Installing busybox-links (1.8.1-1) to /opt/...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/busybox-links_1.8.1-1_mipsel.ipk
Installing ipkg-opt (0.99.163-9) to /opt/...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/ipkg-opt_0.99.163-9_mipsel.ipk
Installing wget (1.10.2-4) to /opt/...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/wget_1.10.2-4_mipsel.ipk
Configuring busybox
Configuring busybox-base
Configuring busybox-links
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
syntax error
postinst script returned status 255
ERROR: busybox-links.postinst returned 255
Configuring ipkg-opt
Configuring uclibc-opt
Updating /opt/etc/ld.so.cache
Configuring wget
Successfully terminated.
can somebody help ?
I think its the problem I had earlier...
See: http://wl500g.info/showthread.php?t=11398 for discussion or look at the solution below...
The update-alternatives defaults the "head" command to old busybox from /apps/bin hence the error:
head: error while loading shared libraries: head: symbol vprintf, version GLIBC_2.0 not defined in file libc.so.6 with link time reference update-alternatives: Error: cannot register alternative [ to /opt/bin/[ since it is already registered to
Workaround:
Edit row in /opt/bin/update-alternatives from:
local olink=`head -n 1 $ad/$name`
to:
local olink=`$IPKG_OFFLINE_ROOT/opt/bin/busybox head -n 1 $ad/$name`
And then run:
/opt/lib/ipkg/info/busybox-links.postinst
Rejan.