NSLU2-Linux
view · edit · print · history

If you upgrade BusyBox then /opt/bin/wget will point to /opt/bin/busybox. This means "ipkg install wget" (to install GNU wget) will fail, as wget will want to install into /opt/bin/wget too. However, if you move (or remove) the link to wget, then ipkg operations will fail ...

So try this:

mkdir /opt/bin/busybox-old
rm /opt/bin/wget
ln -s /opt/bin/busybox /opt/bin/busybox-old
PATH=/opt/bin:/opt/bin/busybox-old:$PATH
ipkg update
ipkg install wget


That should sort you out

Comments

I had the same the same problem trying to install 'less' after upgrading busybox.
It tried to install 'ncurses' as well, but it failed:

 
# ipkg install less
Installing less (381-1) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/unslung/unstable/less_381-1_armeb.
ipk
Installing ncurses (5.4-2) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/unslung/unstable/ncurses_5.4-2_arm
eb.ipk
Package ncurses wants to install file /opt/bin/clear
        But that file is already provided by package busybox
Package ncurses wants to install file /opt/bin/reset
        But that file is already provided by package busybox
An error ocurred, return value: 2.

I will try the same advice as given above and see if it works Update - It worked!

*** Where is Wget for Unslung 6.x? ***

--- menachem

You just need to do 'ipkg install wget-ssl' instead. Easy!

view · edit · print · history · Last edited by Hutchyweb.
Based on work by Hutchyweb, Lurch, Mo, tman, menachem, and DaveHooper.
Originally by DaveHooper.
Page last modified on September 21, 2006, at 07:50 AM