Results 1 to 15 of 29

Thread: Fix for the /opt/bin/update-alternatives problem!!!

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Fix for the /opt/bin/update-alternatives problem!!!

    0a: ipkg-opt install uclibc-opt

    0b: ipkg-opt install busybox-links

    1: change first line (/opt/bin/update-alternatives):
    - nano /opt/bin/update-alternatives
    - #!/bin/sh ---> #!/opt/bin/bash

    2: ln -s /opt/bin/busybox sort /opt/bin/sort

    3: ln -s /opt/bin/busybox dirname /opt/bin/dirname

    4: /opt/lib/ipkg/info/busybox-links.postinst

    When you get this error:
    head: error while loading shared libraries: head: symbol vprintf, version GLIBC_2.0 not defined in file libc.so.6 with link time reference update-alternatives: Error: cannot register alternative [ to /opt/bin/[ since it is already registered to
    Do this: nano /opt/bin/update-alternatives and change tho folowing line:

    local olink=`head -n 1 $ad/$name` ---> local olink=`$IPKG_OFFLINE_ROOT/opt/bin/busybox head -n 1 $ad/$name`


    Sollie.
    Last edited by sollie; 09-11-2007 at 07:52.

Similar Threads

  1. Problem with OpenWrt FW (Kami 7.07/9)
    By bado in forum WL-700g Firmware Discussion
    Replies: 5
    Last Post: 22-10-2007, 20:43
  2. WL-500gP and Asus support experience
    By Blezi in forum WL-500gP Q&A
    Replies: 6
    Last Post: 03-12-2006, 12:59
  3. complete changelog up to 1.8.2.1
    By Antiloop in forum WL-500g Firmware Releases
    Replies: 0
    Last Post: 27-10-2004, 09:27
  4. Problem with dieing AIR-connection
    By BòóN in forum WL-500g Q&A
    Replies: 7
    Last Post: 26-10-2004, 12:04

Posting Permissions

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