Wpad-openssl won't install, can't find conflict

The device is a Netgear R8000, the system is 18.06.2. Any ideas what I'm missing?

~# opkg update    [succeeds]
~# opkg install -V2 wpad-openssl
opkg_conf_parse_file: Loading conf file /etc/opkg.conf.
opkg_conf_parse_file: Loading conf file /etc/opkg/customfeeds.conf.
opkg_conf_parse_file: Loading conf file /etc/opkg/distfeeds.conf.
pkg_hash_load_feeds:
pkg_hash_load_feeds:
pkg_hash_load_feeds:
pkg_hash_load_feeds:
pkg_hash_load_status_files:
pkg_info_preinstall_check: Updating file owner list.
Installing wpad-openssl (2018-05-21-62566bc2-5) to root...
opkg_configure_packages: Configuring unpacked packages.
opkg_configure_packages: Reordering packages before configuring them...
Collected errors:
 * check_conflicts_for: The following packages conflict with wpad-openssl:
 * check_conflicts_for:         wpad *
 * opkg_install_cmd: Cannot install package wpad-openssl.

But nothing that appears to conflict is installed...

~# opkg list-installed | grep -iE '(wpa|hostap|ssl)'
hostapd-common - 2018-05-21-62566bc2-5
hostapd-utils - 2018-05-21-62566bc2-5
libopenssl - 1.0.2q-1
libustream-openssl - 2018-07-30-23a3f283-1
luci-ssl-openssl - git-19.034.35162-a0ae6c9-1
openssl-util - 1.0.2q-1

and even running on verbose level 5 doesn't seem to suggest a reason (although the output is long, so maybe I'm not seeing it)

 ~# opkg install -V5 wpad-openssl   [LAST LINES]
opkg_recurse_pkgs_in_order: Descending on pkg libc.
opkg_recurse_pkgs_in_order: pkg libc already visited, skipping.
opkg_recurse_pkgs_in_order: Descending on pkg libpcap.
opkg_recurse_pkgs_in_order: pkg libpcap already visited, skipping.
write_status_files_if_changed: Nothing to be done.
hash_table: pkg-hash, 12288 bytes
        n_buckets=1024, n_elements=1874, n_collisions=1015
        max_bucket_len=7, n_used_buckets=859, ave_bucket_len=2.18
        n_hits=71022, n_misses=18796
hash_table: file-hash, 12288 bytes
        n_buckets=1024, n_elements=1124, n_collisions=429
        max_bucket_len=5, n_used_buckets=695, ave_bucket_len=1.62
        n_hits=0, n_misses=1124
hash_table: obs-file-hash, 768 bytes
        n_buckets=64, n_elements=0, n_collisions=0
        max_bucket_len=0, n_used_buckets=0, ave_bucket_len=0.00
        n_hits=0, n_misses=0
Collected errors:
 * check_conflicts_for: The following packages conflict with wpad-openssl:
 * check_conflicts_for:         wpad *
 * opkg_install_cmd: Cannot install package wpad-openssl.

[2]+  Done(255)                  opkg install -V5 wpad-openssl

Any ideas?

check for conflicts with

opkg info wpad-openssl

1 Like

It worked - but the followup suggests the error was spurious - what do you make of the output?

~# opkg info wpad-openssl
Package: wpad-openssl
Version: 2018-05-21-62566bc2-5
Depends: libc, libnl-tiny, hostapd-common, libubus, libopenssl
Provides: hostapd, wpa-supplicant
Conflicts: hostapd, hostapd-mini, hostapd-openssl, hostapd-wolfssl, wpad, wpad-mesh-openssl, wpad-mesh-wolfssl, wpad-mini, wpad, wpad-mesh-openssl, wpad-mesh-wolfssl, wpad-mini
Status: unknown ok not-installed
Filename: wpad-openssl_2018-05-21-62566bc2-5_arm_cortex-a9.ipk

Okay, let's go check 'em...

~# opkg list-installed | grep -E '(hostapd|hostapd-mini|hostapd-openssl|hostapd-wolfssl|wpad|wpad-mesh-openssl|wpad-mesh-wolfssl|wpad-mini|wpad|wpad-mesh-openssl|wpad-mesh-wolfssl|wpad-mini)'
hostapd-common - 2018-05-21-62566bc2-5
hostapd-utils - 2018-05-21-62566bc2-5

Culprits! Remove them and install wpad!

~# opkg remove hostapd-common hostapd-utils
Removing package hostapd-common from root...
Removing package hostapd-utils from root...

~# opkg install wpad-openssl
Installing wpad-openssl (2018-05-21-62566bc2-5) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/arm_cortex-a9/base/wpad-openssl_2018-05-21-62566bc2-5_arm_cortex-a9.ipk
Installing hostapd-common (2018-05-21-62566bc2-5) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/arm_cortex-a9/base/hostapd-common_2018-05-21-62566bc2-5_arm_cortex-a9.ipk
Configuring hostapd-common.
Configuring wpad-openssl.

But wait a moment. hostapd-common isn't in conflict after all? Let's try hostapd-utils...

~# opkg install hostapd-utils
Installing hostapd-utils (2018-05-21-62566bc2-5) to root...
Downloading http://downloads.openwrt.org/releases/18.06.2/packages/arm_cortex-a9/base/hostapd-utils_2018-05-21-62566bc2-5_arm_cortex-a9.ipk
Configuring hostapd-utils.

That one's not in conflict either. Let's check what's finally installed

~# opkg list-installed | grep -E '(hostapd|hostapd-mini|hostapd-openssl|hostapd-wolfssl|wpad|wpad-mesh-openssl|wpad-mesh-wolfssl|wpad-mini|wpad|wpad-mesh-openssl|wpad-mesh-wolfssl|wpad-mini)'
hostapd-common - 2018-05-21-62566bc2-5
hostapd-utils - 2018-05-21-62566bc2-5
wpad-openssl - 2018-05-21-62566bc2-5

All three are now co-existing. The outcome isn't very surprising since wpad is basically hostapd + a supplicant.

But why have those two packages been set up to be a package conflict with wpad, since they clearly aren't? And why couldn't opkg report what the conflicting packages were?

are you trying to install wpad or wpad-openssl

Openssl - and thanks for the catch. It now works, the conflict list is different for the openssl version

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