Log in

Bekijk de volledige versie : Ipkg failing wget



LinusW
11-10-2007, 12:00
I have a problem with ipkg. When trying to run ipkg update i get the following error


[admin@xxxxx /opt]$ ipkg update
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/Packages.gz
BusyBox v1.1.3 (2006.06.29-17:07+0000) multi-call binary

Usage: wget [-c|--continue] [-q|--quiet] [-O|--output-document file]
[--header 'header: value'] [-Y|--proxy on/off] [-P DIR] url

An error ocurred, return value: 1.
Collected errors:
ipkg_download: ERROR: Command failed with return value 1: `wget -q -P http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/Packages.gz'
WARNING: Unable to remove temporary directory: : No such file or directory


What could be the problem?

britnet
11-10-2007, 12:41
Hi,

just try it again, the server is not 100 % available.

LinusW
11-10-2007, 13:27
Tried again and again and again...
I am able to download the file (Packages.gz) manually via wget, i can ping the server, i can do a nslookup on the server. Does not seem to be connection problem.

britnet
11-10-2007, 17:16
Do you have a directory named /opt?

LinusW
11-10-2007, 17:28
rootfs 2.9M 2.9M 0 100% /
/dev/root 2.9M 2.9M 0 100% /
/dev/discs/disc0/part1
147G 74G 66G 53% /opt


drwxr-xr-x 20 admin root 4096 Oct 11 12:23 opt

zumike
05-12-2007, 08:14
hi!
can you help me?
i try this description http://wl500g.info/showthread.php?t=5909&page=3
my problem:
wget http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/ipkg-opt_0.99.163-9_mipsel.ipk
Connecting to ipkg.nslu2-linux.org[140.211.167.165]:80
wget: content-length 283 is garbage

mount ok!
/dev/root on / type squashfs (ro)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
ramfs on /tmp type ramfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/discs/disc0/part2 on /opt type ext3 (rw)

ok!
cd /opt/
mkdir /opt/tmp
mkdir /opt/tmp/ipkg

ok
ipkg.sh update
ipkg.sh install ipkg

zumike
08-12-2007, 14:17
wrog wget i reinstall wget and everything ok

Transalpler
03-11-2008, 08:17
Sorry for Lifting such an old Thread - but i have exactly the same problem (like zumike) with my wl-500w with Koppel 171. How did you sove it?
Reinstall wget? (It is part of Busybox binary...)

al37919
03-11-2008, 09:31
you can install it as a separate package too

ipkg list | grep wget