PDA

Bekijk de volledige versie : ipkg fails



MHz
08-05-2006, 15:35
hello,

I following the webserver tutorial from macsat now, but when I do this:


[admin@WareHouse root]$ /opt/bin/ipkg update

I get an error:

-sh: ipkg: not found


I already followed the ipkg tutorial

SuperB
08-05-2006, 19:26
Check if the file ipkg is in that location:
ls /opt/bin
If it is, make it executable:
chmod 755 /opt/bin/ipkg
Otherwise, something probably went wrong during the ipkg tutorial (http://www.macsat.com/macsat/content/view/22/29/).

MHz
08-05-2006, 19:41
Thanks, but I only got a bin directory. In ther, there's a ipkg file. Maybe it is just better to reset the router? Do I have to reconfigure SAMBA etc, etc then?

MHz
08-05-2006, 19:47
I just tried this:


[admin@WareHouse root]$ ipkg.sh install php-thhtpd

But then I get an error message:


ipkg_get_install: ERROR: Cannot find package php-thhtpd in /opt/lib/ipkg/lists
ipkg_get_install: Check the spelling and maybe run `ipkg update'.


So I ran the ipkg update program. The ipkg list is updated sucessfully, but i still get the same error. :(

Oleg
08-05-2006, 20:20
You've to read tutorials and to install ipkg first! ipkg.sh SHOULD NOT be used for installing packages other than ipkg.