Drivers – How to Install bcmwl-kernel-source with dpkg

dpkgdriverskernelsoftware installationwireless

Apparently, Canonical rolled out a HWE kernel and forget to upgrade bcmwl-kernel-source in the repos. This has caused my wifi adapter to go missing from my computer.

This solution recommends the following:

Install bcmwl-kernel-source from eoan repos. You can find it e.g. here. http://mirrors.kernel.org/ubuntu/pool/restricted/b/bcmwl/bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu4_amd64.deb It will compile with the 5.8 kernel.

My implementation of these instructions looks like this:

sudo apt-get purge bcmwl-kernel-source
sudo apt autoremove
sudo dpkg -i bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu4_amd64.deb

But it doesn't work and I get an error:

ERROR: Cannot create report: [Errno 17] File exists: 
'/var/crash/bcmwl-kernel-source.0.crash'
Error! Bad return status for module build on kernel: 
5.8.0-34-generic (x86_64)
...
Consult /var/lib/dkms/bcmwl/6.30.223.271+bdcom/build/make.log
for more information.

I imagine I'm not installing bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu4_amd64.deb in the correct manner. How do I do it right?

Best Answer

As we see, bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu4 doesn't compile correctly for your system. On my system, using the exact same kernel version, bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu7 installs correctly. I therefore suggest:

mkdir bcmwl && cd bcmwl
wget http://mirrors.kernel.org/ubuntu/pool/restricted/b/bcmwl/bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu7_amd64.deb
sudo dpkg -i bcmwl*.deb

Is there any improvement?

Related Question