Libubox conflict when setting up a fresh 19.07-rc.2

Hi,

I'm running this on a TP-Link Archer C7v2 OpenWrt 19.07-rc.2 device, freshly imaged.

opkg update
#
echo [INFO] Removing packages ...
opkg remove wpad-basic
#
echo [INFO] Installing packages ...
opkg install curl
opkg install htop
opkg install luci-app-openvpn
opkg install nano
opkg install openvpn-easy-rsa
opkg install openvpn-openssl
opkg install wget
opkg install wpad-mesh
#
# Restart WiFi
wifi

The package installation fails with:

Installing curl (7.66.0-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.0-rc2/packages/mips_24kc/base/curl_7.66.0-1_mips_24kc.ipk
Installing libmbedtls12 (2.16.3-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.0-rc2/packages/mips_24kc/base/libmbedtls12_2.16.3-1_mips_24kc.ipk
Installing ca-bundle (20190110-2) to root...
Downloading http://downloads.openwrt.org/releases/19.07.0-rc2/packages/mips_24kc/base/ca-bundle_20190110-2_all.ipk
Installing libcurl4 (7.66.0-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.0-rc2/packages/mips_24kc/base/libcurl4_7.66.0-1_mips_24kc.ipk
Configuring libmbedtls12.
Configuring ca-bundle.
Configuring libcurl4.
Configuring curl.
Installing htop (2.2.0-2) to root...
Downloading http://downloads.openwrt.org/releases/19.07.0-rc2/packages/mips_24kc/packages/htop_2.2.0-2_mips_24kc.ipk
Installing terminfo (6.1-5) to root...
Downloading http://downloads.openwrt.org/releases/19.07.0-rc2/packages/mips_24kc/base/terminfo_6.1-5_mips_24kc.ipk
Installing libncurses6 (6.1-5) to root...
Downloading http://downloads.openwrt.org/releases/19.07.0-rc2/packages/mips_24kc/base/libncurses6_6.1-5_mips_24kc.ipk
Configuring terminfo.
Configuring libncurses6.
Configuring htop.
Installing luci-app-openvpn (git-20.006.26738-35aa527-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.0-rc2/packages/mips_24kc/luci/luci-app-openvpn_git-20.006.26738-35aa527-1_all.ipk
Installing luci-compat (git-20.006.26738-35aa527-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.0-rc2/packages/mips_24kc/luci/luci-compat_git-20.006.26738-35aa527-1_all.ipk
Configuring luci-compat.
Configuring luci-app-openvpn.
Installing nano (4.7-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.0-rc2/packages/mips_24kc/packages/nano_4.7-1_mips_24kc.ipk
Configuring nano.
Installing openvpn-easy-rsa (3.0.4-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.0-rc2/packages/mips_24kc/base/openvpn-easy-rsa_3.0.4-1_mips_24kc.ipk
Installing libopenssl1.1 (1.1.1d-2) to root...
Downloading http://downloads.openwrt.org/releases/19.07.0-rc2/packages/mips_24kc/base/libopenssl1.1_1.1.1d-2_mips_24kc.ipk
Installing libopenssl-conf (1.1.1d-2) to root...
Downloading http://downloads.openwrt.org/releases/19.07.0-rc2/packages/mips_24kc/base/libopenssl-conf_1.1.1d-2_mips_24kc.ipk
Installing openssl-util (1.1.1d-2) to root...
Downloading http://downloads.openwrt.org/releases/19.07.0-rc2/packages/mips_24kc/base/openssl-util_1.1.1d-2_mips_24kc.ipk
Configuring libopenssl1.1.
Configuring libopenssl-conf.
Configuring openssl-util.
Configuring openvpn-easy-rsa.
Installing openvpn-openssl (2.4.7-2) to root...
Downloading http://downloads.openwrt.org/releases/19.07.0-rc2/packages/mips_24kc/base/openvpn-openssl_2.4.7-2_mips_24kc.ipk
Installing kmod-tun (4.14.156-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.0-rc2/targets/ath79/generic/kmods/4.14.156-1-b84a5a29b1d5ae1dc33ccf9ba292ca1d/kmod-tun_4.14.156-1_mips_24kc.ipk
Installing liblzo2 (2.10-2) to root...
Downloading http://downloads.openwrt.org/releases/19.07.0-rc2/packages/mips_24kc/base/liblzo2_2.10-2_mips_24kc.ipk
Configuring kmod-tun.
Configuring liblzo2.
Configuring openvpn-openssl.
Collected errors:
 * resolve_conffiles: Existing conffile /etc/config/openvpn is different from the conffile in the new package. The new conffile will be placed at /etc/config/openvpn-opkg.
Installing wget (1.20.3-2) to root...
Downloading http://downloads.openwrt.org/releases/19.07.0-rc2/packages/mips_24kc/packages/wget_1.20.3-2_mips_24kc.ipk
Installing libpcre (8.43-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.0-rc2/packages/mips_24kc/packages/libpcre_8.43-1_mips_24kc.ipk
Installing zlib (1.2.11-3) to root...
Downloading http://downloads.openwrt.org/releases/19.07.0-rc2/packages/mips_24kc/base/zlib_1.2.11-3_mips_24kc.ipk
Installing librt (1.1.24-2) to root...
Downloading http://downloads.openwrt.org/releases/19.07.0-rc2/targets/ath79/generic/packages/librt_1.1.24-2_mips_24kc.ipk
Configuring libpcre.
Configuring zlib.
Configuring librt.
Configuring wget.
Installing wpad-mesh-openssl (2019-08-08-ca8c2bd2-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.0-rc2/packages/mips_24kc/base/wpad-mesh-openssl_2019-08-08-ca8c2bd2-1_mips_24kc.ipk
Installing libubox20191228 (2019-12-28-cd75136b-1) to root...
Downloading http://downloads.openwrt.org/releases/19.07.0-rc2/packages/mips_24kc/base/libubox20191228_2019-12-28-cd75136b-1_mips_24kc.ipk
Collected errors:
 * check_data_file_clashes: Package libubox20191228 wants to install file /lib/libubox.so
        But that file is already provided by package  * libubox20170601
 * opkg_install_cmd: Cannot install package wpad-mesh.

I bet this worked some days before(?). Because I switched a previously (some time before) set-up 19.07-rc.2 device (also Archer C7v2) from wpad to wpad-mesh and had no conflicts reported by opkg.

Can you help, please?

Is it correct to force-overwrite the dependent packages?

opkg install libubox20191228 libubus20191227 --force-overwrite

There is a release already and packages are not compatible with rc2. Install the release.

Ok, I'll wait for the build to complete.
I think you meant: https://downloads.openwrt.org/releases/19.07.0/targets/ath79/

:+1:

Exactly. Wait for the build, or build yourself.

2 Likes

This problem is gone on Archer C7v2/5 since 19.07.0 installation.
Was able to setup my encrypted mesh and AP SSID on radio0 (see Archer C7 v2/5: Cannot setup mesh beside AP SSIDs with wpad-mesh )

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.