直接使用 opk install tcpdump,报下面的错:
Collected errors:
* check_data_file_clashes: Package libpcap1 wants to install file /usr/lib/libpcap.so.1
But that file is already provided by package * libpcap
* opkg_install_cmd: Cannot install package tcpdump.
后来找到一个命令,完美解决
opkg --nodeps install tcpdump
root@OpenWrt:~# opkg --nodeps install tcpdump
Installing tcpdump (4.9.3-3) to root...
Downloading https://openwrt.proxy.ustclug.org/snapshots/packages/mipsel_24kc/base/tcpdump_4.9.3-3_mipsel_24kc.ipk
Configuring tcpdump.