This fixes this error:

root@6470028f4363:~# opkg install iputils-arping_20101006-1_ar71xx.ipk
Installing iputils-arping (20101006-1) to root...
Installing libsysfs (2.1.0-2) to root...
Configuring libsysfs.
Collected errors:
* check_data_file_clashes: Package iputils-arping wants to install file /usr/bin/arping
        But that file is already provided by package  * busybox
 * opkg_install_cmd: Cannot install package iputils-arping.


And in addition smooths out the install of ping/ping6, which currently give no errors, but /bin/ping6 is preferred by $PATH, so this patch disables that feature-less busybox version right away, giving a streamlined experience (?) like the following:

root@6470028f4363:~# ping6
BusyBox v1.19.4 (2013-03-30 05:23:56 ART) multi-call binary.

Usage: ping6 [OPTIONS] HOST

Send ICMP ECHO_REQUEST packets to network hosts

        -c CNT          Send only CNT pings
        -s SIZE         Send SIZE data bytes in packets (default:56)
        -I IFACE/IP     Use interface or IP address as source
        -q              Quiet, only displays output at start
                        and when finished

root@6470028f4363:~# opkg install iputils-ping6_20101006-2_ar71xx.ipk
Installing iputils-ping6 (20101006-2) to root...
Configuring iputils-ping6.
Removing /bin/ping6 symlink for busybox
root@6470028f4363:~# ping6
Usage: ping6 [-LUdfnqrvVaAD] [-c count] [-i interval] [-w deadline]
             [-p pattern] [-s packetsize] [-t ttl] [-I interface]
             [-M pmtudisc-hint] [-S sndbuf] [-F flowlabel] [-Q tclass]
             [hop1 ...] destination

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to