PDA

Bekijk de volledige versie : IPKG INSTALL ERRORS



Fullback
02-07-2009, 19:07
Hello, i am trying to install things into my router. when i try to run command ipkg install screen i am getting

"[root@WL700gE /]$ ipkg install screen
Installing screen (4.0.3-2) to /opt/...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/screen_4.0.3-2_mipsel.ipk
wget: missing URL
Usage: wget [OPTION]... [URL]...

Try `wget --help' for more options.
Nothing to be done
An error ocurred, return value: 22.
Collected errors:
ipkg_download: ERROR: Command failed with return value 1: `wget -q -P http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/screen_4.0.3-2_mipsel.ipk'
Failed to download screen. Perhaps you need to run 'ipkg update'?
WARNING: Unable to remove temporary directory: : No such file or directory
[root@WL700gE /]$
"

--is their any way i can just dowload the package and upload to my router and install myself? thanks

Fullback
05-07-2009, 14:46
hello, does anyone have a clue to why this is going on?

EdP
05-07-2009, 23:01
Can you check if there's a default route?
Happened to me too.

In other words, if you enter the route command, check that there is a line that reads something like:


Destination Gateway Genmask Flags Metric Ref Use Iface
default gw_ip_address 0.0.0.0 UG 0 0 0 br0

Fullback
06-07-2009, 10:13
I will check sometimes tomorrow about the route . if it is not present what should i do? were do i add that line if it does not exist ? because i formatted and flashed the router twice with no luck. but i will check that asap! thanks for getting back to me...seems no one was responding.

EdP
06-07-2009, 18:22
If the default route is missing, you need to add it:

route add default gw <gateway's IP address>

when things are working OK, save your changes:

flashfs save && flashfs commit && flashfs enable && reboot

Fullback
08-07-2009, 02:57
hey, this is what my route states

"default 76-206-252-1.li 0.0.0.0 UG 0 0 0 eth0 " thanks.

EdP
08-07-2009, 22:55
OK so you did actually 'ipkg update' right?

Fullback
09-07-2009, 17:20
yeah, but i am getting error, i an retry and post error later today.

Fullback
13-07-2009, 17:44
i am getting same error... :( i built and flashed my firmware so many times and even installed new harddrive and no luck same problem.. :(

EdP
13-07-2009, 18:49
Well, what can I say, follow the Wiki (http://webtools.wl500g.info/wiki/doku.php?id=docs:howtoipkgonasus) perhaps?
Did that myself and it works.