Having trouble updating

Everytime i update im getting this error

Failed to emerge net-wireless/broadcom-sta-
update failed

here is the log

 Applying broadcom-sta- ...
[ ok ]
* Applying broadcom-sta- ...
[ ok ]
* Applying broadcom-sta- ...
[ ok ]
* Applying broadcom-sta- ...
[ ok ]
>>> Source prepared.
>>> Configuring source in /var/calculate/tmp/portage/net-wireless/broadcom-sta- ...
>>> Source configured.
>>> Compiling source in /var/calculate/tmp/portage/net-wireless/broadcom-sta- ...
ln: failed to create symbolic link 'Module.symvers': File exists
* Preparing wl module
make -j5 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' -C /usr/src/linux M=/var/calculate/tmp/portage/net-wireless/broadcom-sta- wl.ko 
make: Entering directory '/usr/src/linux-4.15.4-calculate'
Makefile:661: scripts/Makefile.kcov: No such file or directory
make: *** No rule to make target 'scripts/Makefile.kcov'. Stop.
make: Leaving directory '/usr/src/linux-4.15.4-calculate'
* ERROR: net-wireless/broadcom-sta- failed (compile phase):
* emake failed
* If you need support, post the output of `emerge --info '=net-wireless/broadcom-sta-'`,
* the complete build log and the output of `emerge -pqv '=net-wireless/broadcom-sta-'`.
* The complete build log is located at '/var/calculate/tmp/portage/net-wireless/broadcom-sta-'.
* The ebuild environment file is located at '/var/calculate/tmp/portage/net-wireless/broadcom-sta-'.
* Working directory: '/var/calculate/tmp/portage/net-wireless/broadcom-sta-'
* S: '/var/calculate/tmp/portage/net-wireless/broadcom-sta-'

Do you have a Wireless card Broadcom ?
If not, you can uninstall the broadcom-sta package.

I see you use the 4.15.4 kernel. It’s available but not stable. Maybe the broadcom package can’t compile with this kernel yet.


  • Try to remove broadcom package if you don’t use a broadcom Wireless card
  • Try to use the 4.14.x kernel.


removing Broadcom-sta worked, im on a desktop so no need for wireless. i cant use 4.14.x kernels as i get kernel panic and cant boot past grub. thats why im on 4.15.x so i dont have to be on 4.9.x kernels.

Okay :slight_smile:
So if you don’t need wifi, the better way is to uninstall broadcom.
Indeed, Calculate have multiple drivers installed by default to run on several computers :slight_smile: