PDA

Bekijk de volledige versie : ipkg.sh install problem



Pirat
21-06-2005, 20:56
Hi!

I got this:

[admin@Router /opt]$ ipkg.sh install sane-backends
/usr/bin/ipkg.sh: 1182: wc: not found
[: -ne: argument expected

Downloading http://ipkg.nslu2-linux.org/feeds/unslung/wl500g//sane-backends_1.0.15-1_mipsel.ipk ...
Connecting to ipkg.nslu2-linux.org[66.35.250.210]:80
sane-backends_1.0.15 100% |*****************************| 1869 KB 00:00 ETA
Done.

Unpacking sane-backends...tar: Cannot create directory `./opt': No such file or directory
tar: Cannot create directory `./opt/': No such file or directory
tar: Cannot create directory `./opt/': No such file or directory
tar: ./opt/include/sane/sane.h: No such file or directory
ipkg_install_file: ERROR unpacking data.tar.gz from //opt/tmp/ipkg/sane-backends_1.0.15-1_mipsel.ipk
ipkg_get_install: ERROR: Failed to install //opt/tmp/ipkg/sane-backends_1.0.15-1_mipsel.ipk
ipkg_get_install: I'll leave it there for you to try a manual installation
[admin@Router /opt]$

whats wrong??

I use 1.9.2.7-6 OLEG and have other pkgs running!

Styno
21-06-2005, 21:08
Seems to me like an error in the config script for WL-500g: './opt/' should be '/opt' afaik. Contact the package maintainer or Jean-Fabrice (he's the repository manager for WL-500g).

Edit: you might try to execute the ipkg install command from the root directory (/), that could work. Also use the 'ipkg' command instead of the 'ipkg.sh' command.

Pirat
21-06-2005, 21:38
Hi!
[admin@Router root]$ ipkg install sane-backends
-sh: ipkg: not found
???
And from / it looks good! Thx!

Jean-Fabrice
22-06-2005, 10:33
do not use ipkg.sh to install package.
ipkg.sh is use only once to install ipkg package : ipkg.sh install ipkg
then 'ipkg update' and 'ipkg install sane-backends'


JF

Pirat
22-06-2005, 10:37
OK, will test it. But from / it works!