wengi
22-03-2007, 11:00
hi all,
i want to upgrade the busybox.
oleg has 1.1.3 built in. This version e.g. does not know 'df -h'
Optware has 1.1.3-3. This version knows 'df -h'
I installed busybox-base via IPKG. So far so good. :)
Installing busybox-links results in
[admin@blechbuechse /]$ ipkg install busybox-links
Installing busybox-links (1.1.3-3) to /opt/...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/busybox-links_1.1.3-3_mipsel.ipk
An error ocurred, return value: 9.
Collected errors:
Package busybox-links wants to install file /opt/bin/cmp
But that file is already provided by package diffutils
Package busybox-links wants to install file /opt/bin/xargs
But that file is already provided by package findutils
Package busybox-links wants to install file /opt/bin/bzcat
But that file is already provided by package bzip2
Package busybox-links wants to install file /opt/bin/find
But that file is already provided by package findutils
Package busybox-links wants to install file /opt/bin/free
But that file is already provided by package procps
Package busybox-links wants to install file /opt/bin/reset
But that file is already provided by package ncurses
Package busybox-links wants to install file /opt/bin/clear
But that file is already provided by package ncurses
Package busybox-links wants to install file /opt/bin/top
But that file is already provided by package procps
Package busybox-links wants to install file /opt/bin/ps
But that file is already provided by package procps
[admin@blechbuechse /]$
Ok. there is a conflict with previous installed packages.
The manual way for df:
ln -s /opt/bin/busybox /opt/bin/df
This should work, because the path in /etc/profile is:
export PATH=/opt/sbin:/opt/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
But executing df -h still results in
[admin@blechbuechse /]$ df -h
df: illegal option -- h
BusyBox v1.1.3 (2006.06.29-17:07+0000) multi-call binary
Usage: df [-k] [FILESYSTEM ...]
While this works:
[admin@blechbuechse /]$ /opt/bin/df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 2.9M 2.9M 0 100% /
/dev/discs/disc0/part2 961.6M 125.7M 787.1M 14% /opt
/dev/discs/disc0/part3 72.0G 45.2G 23.1G 66% /tmp/harddisk
Question: What did i do wrong?
Thanks
wengi
PS: It should work regarding to http://www.nslu2-linux.org/wiki/Optware/BusyBox
i want to upgrade the busybox.
oleg has 1.1.3 built in. This version e.g. does not know 'df -h'
Optware has 1.1.3-3. This version knows 'df -h'
I installed busybox-base via IPKG. So far so good. :)
Installing busybox-links results in
[admin@blechbuechse /]$ ipkg install busybox-links
Installing busybox-links (1.1.3-3) to /opt/...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/busybox-links_1.1.3-3_mipsel.ipk
An error ocurred, return value: 9.
Collected errors:
Package busybox-links wants to install file /opt/bin/cmp
But that file is already provided by package diffutils
Package busybox-links wants to install file /opt/bin/xargs
But that file is already provided by package findutils
Package busybox-links wants to install file /opt/bin/bzcat
But that file is already provided by package bzip2
Package busybox-links wants to install file /opt/bin/find
But that file is already provided by package findutils
Package busybox-links wants to install file /opt/bin/free
But that file is already provided by package procps
Package busybox-links wants to install file /opt/bin/reset
But that file is already provided by package ncurses
Package busybox-links wants to install file /opt/bin/clear
But that file is already provided by package ncurses
Package busybox-links wants to install file /opt/bin/top
But that file is already provided by package procps
Package busybox-links wants to install file /opt/bin/ps
But that file is already provided by package procps
[admin@blechbuechse /]$
Ok. there is a conflict with previous installed packages.
The manual way for df:
ln -s /opt/bin/busybox /opt/bin/df
This should work, because the path in /etc/profile is:
export PATH=/opt/sbin:/opt/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
But executing df -h still results in
[admin@blechbuechse /]$ df -h
df: illegal option -- h
BusyBox v1.1.3 (2006.06.29-17:07+0000) multi-call binary
Usage: df [-k] [FILESYSTEM ...]
While this works:
[admin@blechbuechse /]$ /opt/bin/df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 2.9M 2.9M 0 100% /
/dev/discs/disc0/part2 961.6M 125.7M 787.1M 14% /opt
/dev/discs/disc0/part3 72.0G 45.2G 23.1G 66% /tmp/harddisk
Question: What did i do wrong?
Thanks
wengi
PS: It should work regarding to http://www.nslu2-linux.org/wiki/Optware/BusyBox