A better workaround solution to this problem is the systemd wpa_supplicant.service override.
This is better than messing with broken packages and versions.
Here is my systemd override.conf (you can apply it with `systemctl edit wpa_supplicant`):
<path_to_wpa_bundle_dir> is just a custom folder that consists of wpa_supplicant binary from package wpasupplicant_2.9-1ubuntu2_amd64.deb + libm-2.30.so from package libc6_2.30-0ubuntu2_amd64.deb and libm.so.6 which is a symlink to the libm-2.30.so in the same folder.
A better workaround solution to this problem is the systemd wpa_supplicant. service override.
This is better than messing with broken packages and versions.
Here is my systemd override.conf (you can apply it with `systemctl edit wpa_supplicant`):
[Service] "LD_PRELOAD= /path_to_ wpa_bundle_ dir/libm. so.6" /path_to_ wpa_bundle_ dir/wpa_ supplicant -u -s -O /run/wpa_supplicant
Environment=
ExecStart=
ExecStart=
<path_to_ wpa_bundle_ dir> is just a custom folder that consists of wpa_supplicant binary from package wpasupplicant_ 2.9-1ubuntu2_ amd64.deb + libm-2.30.so from package libc6_2. 30-0ubuntu2_ amd64.deb and libm.so.6 which is a symlink to the libm-2.30.so in the same folder.