Setting my mother's 2GB RAM computer with Lubuntu and have tried unsuccessfully to install Broadcom wireless drivers
https://askubuntu.com/questions/1565118/setting-my-mothers-2gb-ram-computer-with-lubuntu-and-have-tried-unsuccessfully
My mother's computer is a 2GB RAM HP Steam, and as you can imagine it has been unused for a while. I am trying to give it a new life using Lubuntu. Everything is alright except for the Wi-Fi connection to the internet. It is my first time using a terminal and I have already tried multiple ways to update the drivers and none of them have worked.
I started here: Installing Broadcom Wireless Drivers and have been trying to fix the errors that appeared along the way until getting to this tutorial: https://forums.linuxmint.com/viewtopic.php?p=2749276#p2749276. And it still doesn't work.
Here is my terminal output.
cristina@cristina-computador:~$ sudo apt update
[sudo] password for cristina:
Hit:1 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease
Hit:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
3 packages can be upgraded. Run 'apt list --upgradable' to see them.
cristina@cristina-computador:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
vlc-plugin-qt libvlc5 qt5-qmake-bin libmagickcore-6.q16-7t64 libzvbi-common
qtbase5-dev-tools vlc-data libqt5xml5t64 libvlccore9 qt5-gtk-platformtheme
vlc imagemagick libqt5sql5t64 vlc-bin libmagickcore-6.q16-7-extra
libqt5test5t64 vlc-l10n libcjson1 libpostproc57 vlc-plugin-samba
libqt5gui5t64 libavcodec60 libzvbi0t64 libqt5printsupport5t64
vlc-plugin-notify qtbase5-dev libqt5concurrent5t64 libavutil58
libqt5widgets5t64 imagemagick-6.q16 libswscale7 libqt5dbus5t64
vlc-plugin-access-extra libqt5network5t64 vlc-plugin-skins2 vlc-plugin-svg
libqt5opengl5-dev libqt5opengl5t64 vlc-plugin-video-splitter libswresample4
imagemagick-6-common vlc-plugin-video-output libqt5sql5-sqlite 7zip
qt5-qmake libavformat60 libvlc-bin libqt5core5t64 vlc-plugin-base
vlc-plugin-visualization libavfilter9 libmagickwand-6.q16-7t64
Learn more about Ubuntu Pro at https://ubuntu.com/pro
The following upgrades have been deferred due to phasing:
alsa-ucm-conf libigdgmm12 ubuntu-drivers-common
0 packages upgraded, 0 new packages installed, 0 to remove and 3 not upgraded.
2 packages 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
Installing broadcom-sta-dkms (6.30.223.271-23ubuntu1.1) ...
Removing old broadcom-sta-6.30.223.271 DKMS files...
Deleting module broadcom-sta-6.30.223.271 completely from the DKMS tree.
Loading new broadcom-sta-6.30.223.271 DKMS files...
Building for 6.17.0-19-generic
Building initial module for 6.17.0-19-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/broadcom-sta-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.17.0-19-generic (x86_64)
Consult /var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log for more information.
dpkg: error processing package broadcom-sta-dkms (--configure):
installed broadcom-sta-dkms package post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of bcmwl-kernel-source:
bcmwl-kernel-source depends on broadcom-sta-dkms (= 6.30.223.271-23ubuntu1.1); however:
Package broadcom-sta-dkms is not configured yet.
dpkg: error processing package bcmwl-kernel-source (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates it's a follow-up error from a previous failure.
Errors were encountered while processing:
broadcom-sta-dkms
bcmwl-kernel-source
E: Sub-process /usr/bin/dpkg returned an error code (1)
cristina@cristina-computador:~$ sudo dpkg --configure -a
Installing broadcom-sta-dkms (6.30.223.271-23ubuntu1.1) ...
Removing old broadcom-sta-6.30.223.271 DKMS files...
Deleting module broadcom-sta-6.30.223.271 completely from the DKMS tree.
Loading new broadcom-sta-6.30.223.271 DKMS files...
Building for 6.17.0-19-generic
Building initial module for 6.17.0-19-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/broadcom-sta-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.17.0-19-generic (x86_64)
Consult /var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log for more information.
dpkg: error processing package broadcom-sta-dkms (--configure):
installed broadcom-sta-dkms package post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of bcmwl-kernel-source:
bcmwl-kernel-source depends on broadcom-sta-dkms (= 6.30.223.271-23ubuntu1.1); however:
Package broadcom-sta-dkms is not configured yet.
dpkg: error processing package bcmwl-kernel-source (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
broadcom-sta-dkms
bcmwl-kernel-source
cristina@cristina-computador:~$ sudo apt install -f
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 packages upgraded, 0 new packages installed, 0 to remove and 3 not upgraded.
2 packages not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Installing broadcom-sta-dkms (6.30.223.271-23ubuntu1.1) ...
Removing old broadcom-sta-6.30.223.271 DKMS files...
Deleting module broadcom-sta-6.30.223.271 completely from the DKMS tree.
Loading new broadcom-sta-6.30.223.271 DKMS files...
Building for 6.17.0-19-generic
Building initial module for 6.17.0-19-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/broadcom-sta-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.17.0-19-generic (x86_64)
Consult /var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log for more information.
dpkg: error processing package broadcom-sta-dkms (--configure):
installed broadcom-sta-dkms package post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of bcmwl-kernel-source:
bcmwl-kernel-source depends on broadcom-sta-dkms (= 6.30.223.271-23ubuntu1.1); however:
Package broadcom-sta-dkms is not configured yet.
dpkg: error processing package bcmwl-kernel-source (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates it's a follow-up error from a previous failure.
Errors were encountered while processing:
broadcom-sta-dkms
bcmwl-kernel-source
E: Sub-process /usr/bin/dpkg returned an error code (1)
cristina@cristina-computador:~$ sudo apt remove --purge bcmwl-kernel-source
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
bcmwl-kernel-source*
0 packages upgraded, 0 new packages installed, 1 to remove and 3 not upgraded.
2 packages not fully installed or removed.
After this operation, 22.5 kB of disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 326848 files and directories currently installed.)
Removing bcmwl-kernel-source (6.30.223.271+bdcom-23ubuntu1.1) ...
Installing broadcom-sta-dkms (6.30.223.271-23ubuntu1.1) ...
Removing old broadcom-sta-6.30.223.271 DKMS files...
Deleting module broadcom-sta-6.30.223.271 completely from the DKMS tree.
Loading new broadcom-sta-6.30.223.271 DKMS files...
Building for 6.17.0-19-generic
Building initial module for 6.17.0-19-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/broadcom-sta-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.17.0-19-generic (x86_64)
Consult /var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log for more information.
dpkg: error processing package broadcom-sta-dkms (--configure):
installed broadcom-sta-dkms package post-installation script returned error exit status 10
Errors were encountered while processing:
broadcom-sta-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
cristina@cristina-computador:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 packages upgraded, 0 new packages installed, 0 to remove and 3 not upgraded.
1 packages not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Installing broadcom-sta-dkms (6.30.223.271-23ubuntu1.1) ...
Removing old broadcom-sta-6.30.223.271 DKMS files...
Deleting module broadcom-sta-6.30.223.271 completely from the DKMS tree.
Loading new broadcom-sta-6.30.223.271 DKMS files...
Building for 6.17.0-19-generic
Building initial module for 6.17.0-19-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/broadcom-sta-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.17.0-19-generic (x86_64)
Consult /var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log for more information.
dpkg: error processing package broadcom-sta-dkms (--configure):
installed broadcom-sta-dkms package post-installation script returned error exit status 10
Errors were encountered while processing:
broadcom-sta-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
cristina@cristina-computador:~$ sudo apt clean
cristina@cristina-computador:~$ sudo apt remove --purge broadcom-sta-dkms
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
dkms
Use 'sudo apt autoremove' to remove it.
The following packages will be REMOVED:
broadcom-sta-dkms*
0 packages upgraded, 0 new packages installed, 1 to remove and 3 not upgraded.
1 packages not fully installed or removed.
After this operation, 14.5 MB of disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 326845 files and directories currently installed.)
Removing broadcom-sta-dkms (6.30.223.271-23ubuntu1.1) ...
Deleting module broadcom-sta-6.30.223.271 completely from the DKMS tree.
(Reading database ... 326780 files and directories currently installed.)
Purging configuration files for broadcom-sta-dkms (6.30.223.271-23ubuntu1.1) ...
cristina@cristina-computador:~$ sudo apt update
Hit:1 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease
Hit:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
3 packages can be upgraded. Run 'apt list --upgradable' to see them.
cristina@cristina-computador:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
dkms
Use 'sudo apt autoremove' to remove it.
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
vlc-plugin-qt libvlc5 qt5-qmake-bin libmagickcore-6.q16-7t64 libzvbi-common
qtbase5-dev-tools vlc-data libqt5xml5t64 libvlccore9 qt5-gtk-platformtheme
vlc imagemagick libqt5sql5t64 vlc-bin libmagickcore-6.q16-7-extra
libqt5test5t64 vlc-l10n libcjson1 libpostproc57 vlc-plugin-samba
libqt5gui5t64 libavcodec60 libzvbi0t64 libqt5printsupport5t64
vlc-plugin-notify qtbase5-dev libqt5concurrent5t64 libavutil58
libqt5widgets5t64 imagemagick-6.q16 libswscale7 libqt5dbus5t64
vlc-plugin-access-extra libqt5network5t64 vlc-plugin-skins2 vlc-plugin-svg
libqt5opengl5-dev libqt5opengl5t64 vlc-plugin-video-splitter libswresample4
imagemagick-6-common vlc-plugin-video-output libqt5sql5-sqlite 7zip
qt5-qmake libavformat60 libvlc-bin libqt5core5t64 vlc-plugin-base
vlc-plugin-visualization libavfilter9 libmagickwand-6.q16-7t64
Learn more about Ubuntu Pro at https://ubuntu.com/pro
The following upgrades have been deferred due to phasing:
alsa-ucm-conf libigdgmm12 ubuntu-drivers-common
0 packages upgraded, 0 new packages installed, 0 to remove and 3 not upgraded.
cristina@cristina-computador:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
dkms
0 packages upgraded, 0 new packages installed, 1 to remove and 3 not upgraded.
After this operation, 196 kB of disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 326779 files and directories currently installed.)
Removing dkms (3.0.11-1ubuntu13) ...
Processing triggers for man-db (2.12.0-4build2) ...
cristina@cristina-computador:~$ sudo apt install bcmwl-kernel-source
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
broadcom-sta-dkms dkms
Suggested packages:
menu
The following NEW packages will be installed:
bcmwl-kernel-source broadcom-sta-dkms dkms
0 packages upgraded, 3 new packages installed, 0 to remove and 3 not upgraded.
Need to get 2542 kB of archives.
After this operation, 14.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu noble/main amd64 dkms all 3.0.11-1ubuntu13 [51.5 kB]
Get:2 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 broadcom-sta-dkms all 6.30.223.271-23ubuntu1.1 [2482 kB]
Get:3 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 bcmwl-kernel-source amd64 6.30.223.271+bdcom-23ubuntu1.1 [8516 B]
Fetched 2542 kB in 2s (1345 kB/s)
Selecting previously unselected package dkms.
(Reading database ... 326764 files and directories currently installed.)
Preparing to unpack .../dkms_3.0.11-1ubuntu13_all.deb ...
Unpacking dkms (3.0.11-1ubuntu13) ...
Selecting previously unselected package broadcom-sta-dkms.
Preparing to unpack .../broadcom-sta-dkms_6.30.223.271-23ubuntu1.1_all.deb ...
Unpacking broadcom-sta-dkms (6.30.223.271-23ubuntu1.1) ...
Selecting previously unselected package bcmwl-kernel-source.
Preparing to unpack .../bcmwl-kernel-source_6.30.223.271+bdcom-23ubuntu1.1_amd64.deb ...
Unpacking bcmwl-kernel-source (6.30.223.271+bdcom-23ubuntu1.1) ...
Installing dkms (3.0.11-1ubuntu13) ...
Installing broadcom-sta-dkms (6.30.223.271-23ubuntu1.1) ...
Loading new broadcom-sta-6.30.223.271 DKMS files...
Building for 6.17.0-19-generic
Building initial module for 6.17.0-19-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/broadcom-sta-dkms.0.crash'
Error! Bad return status for module build on kernel: 6.17.0-19-generic (x86_64)
Consult /var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log for more information.
dpkg: error processing package broadcom-sta-dkms (--configure):
installed broadcom-sta-dkms package post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of bcmwl-kernel-source:
bcmwl-kernel-source depends on broadcom-sta-dkms (= 6.30.223.271-23ubuntu1.1); however:
Package broadcom-sta-dkms is not configured yet.
dpkg: error processing package bcmwl-kernel-source (--configure):
dependency problems - leaving unconfigured
Processing triggers for man-db (2.12.0-4build2) ...
No apport report written because the error message indicates it's a follow-up error from a previous failure.
Errors were encountered while processing:
broadcom-sta-dkms
bcmwl-kernel-source
E: Sub-process /usr/bin/dpkg returned an error code (1)
cristina@cristina-computador:~$ wget http://archive.ubuntu.com/ubuntu/pool/restricted/b/broadcom-sta/broadcom-sta-dkms_6.30.223.271-23ubuntu1.2_all.deb
--2026-03-24 10:03:01-- http://archive.ubuntu.com/ubuntu/pool/restricted/b/broadcom-sta/broadcom-sta-dkms_6.30.223.271-23ubuntu1.2_all.deb
Resolving archive.ubuntu.com (archive.ubuntu.com)... 2620:2d:4002:1::102, 2620:2d:4000:1::101, 2620:2d:4000:1::102, ...
Connecting to archive.ubuntu.com (archive.ubuntu.com)|2620:2d:4002:1::102|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2482710 (2.4M) [application/vnd.debian.binary-package]
Saving to: ‘broadcom-sta-dkms_6.30.223.271-23ubuntu1.2_all.deb.1’
broadcom-sta-dkms_6.30.223.271 100%[=================================================>] 2.37M 566KB/s in 15s
2026-03-24 10:03:19 (162 KB/s) - ‘broadcom-sta-dkms_6.30.223.271-23ubuntu1.2_all.deb.1’ saved [2482710/2482710]
cristina@cristina-computador:~$ sudo apt install ./broadcom-sta-dkms_6.30.223.271-23ubuntu1.2_all.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'broadcom-sta-dkms' instead of './broadcom-sta-dkms_6.30.223.271-23ubuntu1.2_all.deb'
The following packages will be REMOVED:
bcmwl-kernel-source
The following packages will be upgraded:
broadcom-sta-dkms
1 upgraded, 0 newly installed, 1 to remove and 3 not upgraded.
2 packages not fully installed or removed.
Need to get 0 B/2483 kB of archives.
After this operation, 20.5 kB of disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 /home/cristina/broadcom-sta-dkms_6.30.223.271-23ubuntu1.2_all.deb broadcom-sta-dkms all 6.30.223.271-23ubuntu1.2 [2483 kB]
(Reading database ... 326848 files and directories currently installed.)
Removing bcmwl-kernel-source (6.30.223.271+bdcom-23ubuntu1.1) ...
(Reading database ... 326845 files and directories currently installed.)
Preparing to unpack .../broadcom-sta-dkms_6.30.223.271-23ubuntu1.2_all.deb ...
Deleting module broadcom-sta-6.30.223.271 completely from the DKMS tree.
Unpacking broadcom-sta-dkms (6.30.223.271-23ubuntu1.2) over (6.30.223.271-23ubuntu1.1) ...
Installing broadcom-sta-dkms (6.30.223.271-23ubuntu1.2) ...
Loading new broadcom-sta-6.30.223.271 DKMS files...
Building for 6.17.0-19-generic
Building initial module for 6.17.0-19-generic
Done.
wl.ko.zst:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/6.17.0-19-generic/updates/dkms/
depmod........
N: Download is performed unsandboxed as root as file '/home/cristina/broadcom-sta-dkms_6.30.223.271-23ubuntu1.2_all.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
cristina@cristina-computador:~$ sudo apt install /tmp/./broadcom-sta-dkms_6.30.223.271-23ubuntu1.2_all.deb
Reading package lists... Done
E: Unsupported file /tmp/./broadcom-sta-dkms_6.30.223.271-23ubuntu1.2_all.deb given on command line
cristina@cristina-computador:~$ sudo apt install /tmp/broadcom-sta-dkms_6.30.223.271-23ubuntu1.2_all.deb
Reading package lists... Done
E: Unsupported file /tmp/broadcom-sta-dkms_6.30.223.271-23ubuntu1.2_all.deb given on command line
cristina@cristina-computador:~$ sudo apt-get --download install ./broadcom-sta-dkms_6.30.223.271-23ubuntu1.2_all.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'broadcom-sta-dkms' instead of './broadcom-sta-dkms_6.30.223.271-23ubuntu1.2_all.deb'
broadcom-sta-dkms is already the newest version (6.30.223.271-23ubuntu1.2).
broadcom-sta-dkms set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
cristina@cristina-computador:~$
I have been at it since yesterday and am currently losing my mind. Does anyone know what is going on? Also please explain in a very simple way. I am a first time terminal user and am in way over my head.
cristina@cristina-computador:~$ /var/lib/dkms/broadcom-sta/6.30.233.271/build/make.log
bash: /var/lib/dkms/broadcom-sta/6.30.233.271/build/make.log: Ficheiro ou pasta inexistente
cristina@cristina-computador:~$ cat /var/lib/dkms/broadcom-sta/6.30.233.271/build/make.log
cat: /var/lib/dkms/broadcom-sta/6.30.233.271/build/make.log: Ficheiro ou pasta inexistente