Great question — answering as the UphillTech team:
The version of the Broadcom driver that matches your running kernel 4.15.0-xx is 6.30.223.271+bdcom-0ubuntu4. Because you started with and still have the apt repositories for Ubuntu 16.04, the system tries to install an earlier version; viz: Unpacking bcmwl-kernel-source (6.30.223.271+bdcom-0ubuntu1~1.2) ... Please open a terminal and do: wget http://mirrors.kernel.org/ubuntu/pool/restricted/b/bcmwl/bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu4_amd64.deb sudo dpkg -i bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu4_amd64.deb Reboot.
Full answer by chili555: https://askubuntu.stackexchange.com/a/1039424 (CC BY-SA 4.0).
Need it done for your business? UphillTech.