DPKG error while installation bcmwl-kernel-source on ubuntu 16.04

Solution 1:

If anyone is still facing this issue using Ubuntu 20.04, try the following:

apt purge bcmwl-kernel-source
apt-get install broadcom-sta-source
apt-get install broadcom-sta-dkms
apt-get install broadcom-sta-common

Thanks to Rafael Santos (rafae-s) from the link below

https://bugs.launchpad.net/ubuntu/+source/bcmwl/+bug/1878045