Unable to update Broadcom STA

I am trying to update Parrot using the command:
apt full-upgrade

It goes on without any issue but there is this package that keeps getting uninstalled and installed every time. It is known as broadcom-sta
The new package doesn’t install as well. Any solutions to this? I have a tool that has to be downloaded and installed and it is just getting stuck on the broadcom-sta part.

Console output as follows:
The following packages have been kept back:
gnuradio gnuradio-dev phonon-backend-gstreamer-common
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up initramfs-tools (0.135) …
update-initramfs: deferring update (trigger activated)
Setting up broadcom-sta-dkms (6.30.223.271-11) …
Removing old broadcom-sta-6.30.223.271 DKMS files…

-------- Uninstall Beginning --------
Module: broadcom-sta
Version: 6.30.223.271
Kernel: 5.2.0-2parrot1-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.
Loading new broadcom-sta-6.30.223.271 DKMS files…
Building for 5.2.0-2parrot1-amd64
Building initial module for 5.2.0-2parrot1-amd64
Done.

wl.ko:
Running module version sanity check.

  • Original module
    • No original module exists within this kernel
  • Installation
    • Installing to /lib/modules/5.2.0-2parrot1-amd64/updates/dkms/

depmod…

Backing up initrd.img-5.2.0-2parrot1-amd64 to /boot/initrd.img-5.2.0-2parrot1-amd64.old-dkms
Making new initrd.img-5.2.0-2parrot1-amd64
(If next boot fails, revert to initrd.img-5.2.0-2parrot1-amd64.old-dkms image)
update-initramfs…(bad exit status: 1)

-------- Uninstall Beginning --------
Module: broadcom-sta
Version: 6.30.223.271
Kernel: 5.2.0-2parrot1-amd64 (x86_64)

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

wl.ko:

  • Uninstallation
    • Deleting from: /lib/modules/5.2.0-2parrot1-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 (–configure):
installed broadcom-sta-dkms package post-installation script subprocess returned error exit status 7
Processing triggers for initramfs-tools (0.135) …
update-initramfs: Generating /boot/initrd.img-5.2.0-2parrot1-amd64
W: Possible missing firmware /lib/firmware/i915/icl_dmc_ver1_07.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_huc_ver01_8_2893.bin for module i915
pigz: abort: write error on (No space left on device)
E: mkinitramfs failure cpio 141 pigz 28
update-initramfs: failed for /boot/initrd.img-5.2.0-2parrot1-amd64 with 1.
dpkg: error processing package initramfs-tools (–configure):
installed initramfs-tools package post-installation script subprocess returned error exit status 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 (1)

… No space left on device
Please learn to read error messages! :wink:

You have to cleanup your /boot!
How? :slight_smile:

How to clean /boot? Plus I have enough space on my laptop. I don’t know why that is coming.

sudo apt autoremove -y && sudo apt autoclean -y

The problem still persists. Console output as follows:

Setting up initramfs-tools (0.135) …
update-initramfs: deferring update (trigger activated)
Setting up broadcom-sta-dkms (6.30.223.271-11) …
Removing old broadcom-sta-6.30.223.271 DKMS files…

-------- Uninstall Beginning --------
Module: broadcom-sta
Version: 6.30.223.271
Kernel: 5.2.0-2parrot1-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.
Loading new broadcom-sta-6.30.223.271 DKMS files…
Building for 5.2.0-2parrot1-amd64
Building initial module for 5.2.0-2parrot1-amd64
Done.

wl.ko:
Running module version sanity check.

  • Original module
    • No original module exists within this kernel
  • Installation
    • Installing to /lib/modules/5.2.0-2parrot1-amd64/updates/dkms/

depmod…

Backing up initrd.img-5.2.0-2parrot1-amd64 to /boot/initrd.img-5.2.0-2parrot1-amd64.old-dkms
Making new initrd.img-5.2.0-2parrot1-amd64
(If next boot fails, revert to initrd.img-5.2.0-2parrot1-amd64.old-dkms image)
update-initramfs…(bad exit status: 1)

-------- Uninstall Beginning --------
Module: broadcom-sta
Version: 6.30.223.271
Kernel: 5.2.0-2parrot1-amd64 (x86_64)

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

wl.ko:

  • Uninstallation
    • Deleting from: /lib/modules/5.2.0-2parrot1-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 (–configure):
installed broadcom-sta-dkms package post-installation script subprocess returned error exit status 7

pls show the output from:

dpkg -l | grep linux-image

and

df -h /boot

#rowie was right but before this I did remove the old kernel 4.19 (or so) do
sudo ls /boot
apt remove ‘old_kernel’
#It gave me an error about /lib/modules/old_kerne/ not being empty so it couldn’t remove it
rm -rf /lib/modules/old_kernel
#after that followed rowie’s advise

sudo apt autoremove -y && sudo apt autoclean -y

systemctl reboot
sudo parrot-upgrade
#this time the error was gone. Thanks rowie & everyone in the communiity

dpkg --list | grep linux-image*

and then remove the old kernel with:

sudo apt purge linux-image(old kernel version)

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.