Using a BCM4360 802.11ac on a MacBook Air (2013)
dpkg -i broadcom-sta-dkms_6.30.223.271-14~bpo10+1_all.deb
dpkg: warning: downgrading broadcom-sta-dkms from 6.30.223.271-14 to 6.30.223.271-14~bpo10+1
(Reading database ... 307010 files and directories currently installed.)
Preparing to unpack broadcom-sta-dkms_6.30.223.271-14~bpo10+1_all.deb ...
-------- Uninstall Beginning --------
Module: broadcom-sta
Version: 6.30.223.271
Kernel: 5.7.0-kali1-amd64 (x86_64)

Status: This module version was INACTIVE for this kernel.
depmod...
DKMS: uninstall completed.

Deleting module version: 6.30.223.271
completely from the DKMS tree.

Done.
Unpacking broadcom-sta-dkms (6.30.223.271-14~bpo10+1) over (6.30.223.271-14) ...
Setting up broadcom-sta-dkms (6.30.223.271-14~bpo10+1) ...
Loading new broadcom-sta-6.30.223.271 DKMS files...
Building for 5.7.0-kali1-amd64
Building initial module for 5.7.0-kali1-amd64
Done.
wl.ko:
Running module version sanity check.

  • Original module

- No original module exists within this kernel

  • Installation

- Installing to /lib/modules/5.7.0-kali1-amd64/updates/dkms/
depmod...
Backing up initrd.img-5.7.0-kali1-amd64 to /boot/initrd.img-5.7.0-kali1-amd64.old-dkms
Making new initrd.img-5.7.0-kali1-amd64
(If next boot fails, revert to initrd.img-5.7.0-kali1-amd64.old-dkms image)
update-initramfs......(bad exit status: 1)
-------- Uninstall Beginning --------
Module: broadcom-sta
Version: 6.30.223.271
Kernel: 5.7.0-kali1-amd64 (x86_64)

Status: Before uninstall, this module version was ACTIVE on this kernel.
wl.ko:

  • Uninstallation

- Deleting from: /lib/modules/5.7.0-kali1-amd64/updates/dkms/

  • Original module

- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod...
update-initramfs......(bad exit status: 1)
Warning: There was a problem remaking your initrd. You must manually remake it
before booting into this kernel.
DKMS: uninstall completed.
Error! Problems with mkinitrd detected. Automatically uninstalling this module.
DKMS: Install Failed (mkinitrd problems). Module rolled back to built state.
dpkg: error processing package broadcom-sta-dkms (--install):
installed broadcom-sta-dkms package post-installation script subprocess returned error exit status 7
Errors were encountered while processing:
broadcom-sta-dkms