Results 1 to 3 of 3

Thread: installed packages not found

  1. #1

    installed packages not found

    I've encountered the problem that several optware packages appear to install normally but give a "not found" error when executed.
    Here is some output:
    [root@Irene root]$ ipkg install adduser
    Installing adduser (1.5.0-1) to root...
    Downloading http://ipkg.nslu2-linux.org/feeds/op...0-1_mipsel.ipk
    Configuring adduser
    update-alternatives: Linking //opt/bin/su to /opt/bin/adduser-su
    Successfully terminated.

    [root@Irene root]$ /opt/bin/adduser
    -sh: /opt/bin/adduser: not found

    [root@Irene root]$ ls -l /opt/bin/adduser
    -rwxr-xr-x 1 root root 131004 Mar 28 08:18 /opt/bin/adduser
    I have no clue why the shell doesn't find the installed package.
    If anyone could give me a hint how to proceed it would be very helpfull indeed.

    I'm using Oleg's 1.9.2.7-7g firmware on an Asus wl-500gP
    with the following file system:
    Filesystem 1k-blocks Used Available Use% Mounted on
    /dev/root 2880 2880 0 100% /
    /dev/discs/disc0/part5 480363760 41388616 414574020 9% /home
    /dev/discs/disc0/part1 318893 107925 194502 36% /opt

  2. #2
    Join Date
    Feb 2007
    Location
    Moscow, Russia
    Posts
    3,805
    Briefly:
    the content of /opt/etc/ipkg.conf should be:

    src/gz optware http://ipkg.nslu2-linux.org/feeds/op...g/cross/stable
    dest /opt/ /

    Afterwards reinstall all the packages installed, possibly, with -force-reinstall option. For long explanation search the forum.

  3. #3
    Yes! After changing the repository, installing ipkg-opt and uclibc-opt everything works just fine.
    Thank you so much.

Similar Threads

  1. Unslung/WL500g packages available for Oleg's firmware
    By rwhitby in forum WL-500g Custom Development
    Replies: 136
    Last Post: 24-04-2009, 15:54
  2. lighttp and php tutorial
    By theboy50 in forum WL-500g/WL-500gx Tutorials
    Replies: 29
    Last Post: 30-01-2008, 18:03
  3. Restarts every few minutes with 7f-pre4 and USB-Stick
    By marcnesium in forum WL-500gP Firmware Discussion
    Replies: 0
    Last Post: 12-07-2006, 12:20
  4. Installed lighttpd - missing library
    By zainka in forum WL-500g Q&A
    Replies: 0
    Last Post: 01-06-2006, 13:01
  5. Webtools - Configure installed Unslung and other packages
    By Styno in forum WL-500g Custom Development
    Replies: 22
    Last Post: 20-04-2005, 07:46

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •