E: Sub-process /usr/bin/dpkg returned an error code (1)

Errors were encountered while processing:
broadcom-sta-dkms
initramfs-tools
Scanning application launchers
Updating active launchers
Done
E: Sub-process /usr/bin/dpkg returned an error code (

Try to reconfigure your package data base by issue this command. Please be more descriptive with your questions, post screenshots. Tell us what you were doing when it happened. So you can get quality answers.

sudo dpkg --configure -a