i changed the first line of the script from #!/bin/sh to #!/opt/bin/bash
(busybox-links.postinst,/opt/bin/update-alternatives)
now i get a new error
Code:
# ipkg install sudo bash
Package sudo (1.6.9p8-1) installed in /opt/ is up to date.
Package bash (3.2.17-1) installed in /opt/ is up to date.
Configuring busybox-links
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
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
...
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 chattr to /opt/bin/chattr since it is already registered to
postinst script returned status 255
ERROR: busybox-links.postinst returned 255
Configuring e2fsprogs
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 chattr to /opt/bin/chattr since it is already registered to
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 lsattr to /opt/bin/lsattr since it is already registered to
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 fsck to /opt/sbin/fsck since it is already registered to
postinst script returned status 1
ERROR: e2fsprogs.postinst returned 1
Configuring ncurses
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 clear to /opt/bin/clear since it is already registered to
postinst script returned status 1
ERROR: ncurses.postinst returned 1
Nothing to be done
Successfully terminated.
#