Libubox Upgrade

I am installing the adblock service via SSH when I put this code from the openwrt adblock website excluding the LUCI interface. I get this. Please HeLp

root@OpenWrt:~# opkg install libustream-mbedtls
Installing libustream-mbedtls20150806 (2019-11-05-c9b66682-1) to root...
Downloading http://downloads.openwrt.org/snapshots/packages/mips_24kc/base/libus          tream-mbedtls20150806_2019-11-05-c9b66682-1_mips_24kc.ipk
Installing libubox20191228 (2019-12-28-cd75136b-1) to root...
Downloading http://downloads.openwrt.org/snapshots/packages/mips_24kc/base/libub          ox20191228_2019-12-28-cd75136b-1_mips_24kc.ipk
Collected errors:
 * check_data_file_clashes: Package libubox20191228 wants to install file /lib/l          ibubox.so
        But that file is already provided by package  * libubox20170601
 * opkg_install_cmd: Cannot install package libustream-mbedtls.

There are problems with versions libubox libubox20170601 and libubox20191228. What version of OpenWRT are you using?

The OP's using a snapshot.

@Devesh, welcome to the community!

  • Upgrade your snapshot, first
  • Then opkg update and opkg install install all needed packages immediately

Its the Snapshot build https://downloads.openwrt.org/snapshots/targets/ar71xx/tiny/openwrt-ar71xx-tiny-tl-wr841-v9-squashfs-factory.bin but it hasn't been upgraded since Jun 17.

Does the same happen with the more up to date ath79 target?
http://downloads.openwrt.org/snapshots/targets/ath79/tiny/openwrt-ath79-tiny-tplink_tl-wr841-v9-squashfs-factory.bin

Well, you are trying to install new packages that require that also the underlying core packages are matching. Your ancient firmware from June contains much older packages.

Like lleachii already said, upgrade your firmware (=flash a new firmware) and then install matching new packages.

If you want to update only rarely, your should likely use the 19.07 stable branch. Note that the final 19.07.0 was tagger a few hours ago and will be release in a few days.

Thanks, I was using ar71xx i didn't know anything about the ath79. I saw that ath79 is being updated regularly.

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