I removed wget in order to install a newer version and reliazed that okpg uses wget to download packages. So I am trying to install wget manually by downloading using curl. However, I get an "invalid tar magic" error while untaring the wget tar file. Any pointers are welcome. Thanks in advance.
If you managed to place the .ipk file locally you can instruct opkg to install it (opkg install /tmp/wget_*.ipk
).
2 Likes
# opkg download wget
Downloading http://downloads.openwrt.org/releases/18.06.1/packages/x86_64/packages/wget_1.19.5-1_x86_64.ipk
Downloaded wget as ./wget_1.19.5-1_x86_64.ipk.
# opkg remove wget
Removing package wget from root...
# opkg install ./wget_1.19.5-1_x86_64.ipk
Installing wget (1.19.5-1) to root...
Configuring wget.
# opkg remove wget
Removing package wget from root...
# curl -o wget.ipk http://downloads.openwrt.org/releases/18.06.1/packages/x86_64/packages/wget_1.19.5-1_x86_64.ipk
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 210k 100 210k 0 0 656k 0 --:--:-- --:--:-- --:--:-- 658k
# opkg install ./wget.ipk
Installing wget (1.19.5-1) to root...
Configuring wget.
2 Likes
Thank you. I finally solved it. Figures out the right package. Wget is working now.
1 Like
Thanks for your reply @vgaetera. I am trying to fetch the right wget package for my version (barrier breaker). My opkg print architecture output is:
arch all 1
arch noarch 1
Arch ramips_24kec 10
Where can find the right wget package. Can't seem to find it. Thank you.
cat /etc/opkg/distfeeds.conf
On Barrier Breaker, wget is provided by busybox, so ln -s /bin/busybox /bin/wget
should work.