I saw this bug when I was trying to update my kernetl to v4.8.1 This is all the output I got, 3 errors at all.
$ sudo dpkg -i linux-headers-4.8.1*.deb linux-image-4.8.1*.deb Selecting previously unselected package linux-headers-4.8.1-040801. (Reading database ... 276032 files and directories currently installed.) Preparing to unpack linux-headers-4.8.1-040801_4.8.1-040801.201610071031_all.deb ... Unpacking linux-headers-4.8.1-040801 (4.8.1-040801.201610071031) ... Selecting previously unselected package linux-headers-4.8.1-040801-generic. Preparing to unpack linux-headers-4.8.1-040801-generic_4.8.1-040801.201610071031_amd64.deb ... Unpacking linux-headers-4.8.1-040801-generic (4.8.1-040801.201610071031) ... Selecting previously unselected package linux-image-4.8.1-040801-generic. Preparing to unpack linux-image-4.8.1-040801-generic_4.8.1-040801.201610071031_amd64.deb ... Examining /etc/kernel/preinst.d/ run-parts: executing /etc/kernel/preinst.d/intel-microcode 4.8.1-040801-generic /boot/vmlinuz-4.8.1-040801-generic Done. Unpacking linux-image-4.8.1-040801-generic (4.8.1-040801.201610071031) ... Setting up linux-headers-4.8.1-040801 (4.8.1-040801.201610071031) ... Setting up linux-headers-4.8.1-040801-generic (4.8.1-040801.201610071031) ... Examining /etc/kernel/header_postinst.d. run-parts: executing /etc/kernel/header_postinst.d/dkms 4.8.1-040801-generic /boot/vmlinuz-4.8.1-040801-generic Error! Bad return status for module build on kernel: 4.8.1-040801-generic (x86_64) Consult /var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/make.log for more information. Error! Bad return status for module build on kernel: 4.8.1-040801-generic (x86_64) Consult /var/lib/dkms/virtualbox/5.0.24/build/make.log for more information. Setting up linux-image-4.8.1-040801-generic (4.8.1-040801.201610071031) ... Running depmod. update-initramfs: deferring update (hook will be called later) Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.8.1-040801-generic /boot/vmlinuz-4.8.1-040801-generic run-parts: executing /etc/kernel/postinst.d/dkms 4.8.1-040801-generic /boot/vmlinuz-4.8.1-040801-generic ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/bcmwl-kernel-source.0.crash' Error! Bad return status for module build on kernel: 4.8.1-040801-generic (x86_64) Consult /var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/make.log for more information. ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/virtualbox-dkms.0.crash' Error! Bad return status for module build on kernel: 4.8.1-040801-generic (x86_64) Consult /var/lib/dkms/virtualbox/5.0.24/build/make.log for more information. run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.8.1-040801-generic /boot/vmlinuz-4.8.1-040801-generic update-initramfs: Generating /boot/initrd.img-4.8.1-040801-generic W: Possible missing firmware /lib/firmware/i915/kbl_dmc_ver1_01.bin for module i915 W: Possible missing firmware /lib/firmware/i915/kbl_guc_ver9_14.bin for module i915 W: Possible missing firmware /lib/firmware/i915/bxt_guc_ver8_7.bin for module i915 W: Possible missing firmware /lib/firmware/i915/skl_guc_ver6_1.bin for module i915 run-parts: executing /etc/kernel/postinst.d/pm-utils 4.8.1-040801-generic /boot/vmlinuz-4.8.1-040801-generic run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 4.8.1-040801-generic /boot/vmlinuz-4.8.1-040801-generic run-parts: executing /etc/kernel/postinst.d/update-notifier 4.8.1-040801-generic /boot/vmlinuz-4.8.1-040801-generic run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.8.1-040801-generic /boot/vmlinuz-4.8.1-040801-generic Generating grub configuration file ... Found linux image: /boot/vmlinuz-4.8.1-040801-generic Found initrd image: /boot/initrd.img-4.8.1-040801-generic Found linux image: /boot/vmlinuz-4.4.0-42-generic Found initrd image: /boot/initrd.img-4.4.0-42-generic Found linux image: /boot/vmlinuz-4.4.0-38-generic Found initrd image: /boot/initrd.img-4.4.0-38-generic Found linux image: /boot/vmlinuz-4.4.0-36-generic Found initrd image: /boot/initrd.img-4.4.0-36-generic Found memtest86+ image: /boot/memtest86+.elf Found memtest86+ image: /boot/memtest86+.bin Found Windows 7 (loader) on /dev/sda1 done This is the SMBIOS of my computer Getting SMBIOS data from sysfs. SMBIOS 2.6 present. Handle 0x0005, DMI type 4, 42 bytes Processor Information Socket Designation: U2E1 Type: Central Processor Family: Core i7 Manufacturer: Intel ID: 55 06 02 00 FF FB EB BF Signature: Type 0, Family 6, Model 37, Stepping 5 Flags: FPU (Floating-point unit on-chip) VME (Virtual mode extension) DE (Debugging extension) PSE (Page size extension) TSC (Time stamp counter) MSR (Model specific registers) PAE (Physical address extension) MCE (Machine check exception) CX8 (CMPXCHG8 instruction supported) APIC (On-chip APIC hardware supported) SEP (Fast system call) MTRR (Memory type range registers) PGE (Page global enable) MCA (Machine check architecture) CMOV (Conditional move instruction supported) PAT (Page attribute table) PSE-36 (36-bit page size extension) CLFSH (CLFLUSH instruction supported) DS (Debug store) ACPI (ACPI supported) MMX (MMX technology supported) FXSR (FXSAVE and FXSTOR instructions supported) SSE (Streaming SIMD extensions) SSE2 (Streaming SIMD extensions 2) SS (Self-snoop) HTT (Multi-threading) TM (Thermal monitor supported) PBE (Pending break enabled) Version: CPU Version Voltage: 3.3 V External Clock: 133 MHz Max Speed: 4096 MHz Current Speed: 2260 MHz Status: Populated, Enabled Upgrade: ZIF Socket L1 Cache Handle: 0x0006 L2 Cache Handle: 0x0007 L3 Cache Handle: 0x0008 Serial Number: Not Specified Asset Tag: Not Specified Part Number: Not Specified Core Count: 2 Core Enabled: 2 Thread Count: 4 Characteristics: 64-bit capable -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to bcmwl in Ubuntu. https://bugs.launchpad.net/bugs/1595765 Title: Wifi drivers all fail to build [error: ‘IEEE80211_BAND_2GHZ’ undeclared here] Status in bcmwl package in Ubuntu: Confirmed Status in broadcom-sta package in Ubuntu: Confirmed Status in rtl8812au package in Ubuntu: Confirmed Bug description: error update for kernel 4.7 RC 3 ProblemType: Package DistroRelease: elementary 0.4 Package: bcmwl-kernel-source 6.30.223.248+bdcom-0ubuntu8 [origin: Ubuntu] Uname: Linux 4.6.2-040602-generic x86_64 NonfreeKernelModules: wl ApportVersion: 2.20.1-0ubuntu2.1 Architecture: amd64 DKMSKernelVersion: 4.7.0-040700rc3-generic Date: Thu Jun 23 22:03:59 2016 DuplicateSignature: dkms:bcmwl-kernel-source:6.30.223.248+bdcom-0ubuntu8:/var/lib/dkms/bcmwl/6.30.223.248+bdcom/build/src/wl/sys/wl_cfg80211_hybrid.c:237:12: error: ‘IEEE80211_BAND_2GHZ’ undeclared here (not in a function) InstallationDate: Installed on 2016-06-14 (9 days ago) InstallationMedia: elementary OS 0.4 "Loki" - Daily amd64 (20160613) PackageVersion: 6.30.223.248+bdcom-0ubuntu8 RelatedPackageVersions: dpkg 1.18.4ubuntu1.1 apt 1.2.12~ubuntu16.04.1 SourcePackage: bcmwl Title: bcmwl-kernel-source 6.30.223.248+bdcom-0ubuntu8: bcmwl kernel module failed to build UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bcmwl/+bug/1595765/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp