Firmware-b43-installer

Briefly describe your issue below: Issue with a fresh installed Parrot OS, same with kali linux and normal debian.

What version of Parrot are you running? (include version (e.g. 4.6), edition(e.g. Home//KDE/OVA, etc.), and architecture (currently we only support amd64) KDE Security

What method did you use to install Parrot? (Debian Standard / Debian GTK / parrot-experimental) Standard i guess

Configured to multiboot with other systems? (yes / no) no

If there are any similar issues or solutions, link to them below: -

If there are any error messages or relevant logs, post them below:

└──╼ $sudo apt upgrade

apt upgrade is unsafe on rolling release distributions.

using apt full-upgrade instead

use apt upgrade --force to override

Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
The following packages have been kept back:
firmware-b43-installer python-pip-whl python3-argcomplete python3-pip
0 upgraded, 0 newly installed, 0 to remove and 4 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]
apt-listchanges: Can’t set locale; make sure $LC_* and $LANG are correct!
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = “”,
LC_ALL = (unset),
LANG = “us_US.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Setting up firmware-b43legacy-installer (1:019-5~kali1) …
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
No chroot environment found. Starting normal installation
–2020-04-20 04:11:30-- https://downloads.openwrt.org/sources/wl_apsta-3.130.20.0.o
Resolving downloads.openwrt.org (downloads.openwrt.org)… 176.9.48.73, 2a01:4f8:150:6449::2
Connecting to downloads.openwrt.org (downloads.openwrt.org)|176.9.48.73|:443… connected.
HTTP request sent, awaiting response… 301 Moved Permanently
Location: https://sources.openwrt.org/wl_apsta-3.130.20.0.o [following]
–2020-04-20 04:11:30-- https://sources.openwrt.org/wl_apsta-3.130.20.0.o
Resolving sources.openwrt.org (sources.openwrt.org)… 148.251.151.136, 2a01:4f8:210:5087::2
Connecting to sources.openwrt.org (sources.openwrt.org)|148.251.151.136|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 652866 (638K) [application/octet-stream]
Saving to: ‘wl_apsta-3.130.20.0.o’

wl_apsta-3.130.20.0.o 100%[=========================>] 637.56K 3.28MB/s in 0.2s

2020-04-20 04:11:31 (3.28 MB/s) - ‘wl_apsta-3.130.20.0.o’ saved [652866/652866]

wl_apsta-3.130.20.0.o: OK
/var/lib/dpkg/info/firmware-b43legacy-installer.postinst: Deleting old extracted firmware…
rm: cannot remove ‘/lib/firmware/b43legacy/ucode2.fw’: No such file or directory
rm: cannot remove ‘/lib/firmware/b43legacy/ucode4.fw’: No such file or directory
rm: cannot remove ‘/lib/firmware/b43legacy/ucode5.fw’: No such file or directory
rm: cannot remove ‘/lib/firmware/b43legacy/ucode11.fw’: No such file or directory
rm: cannot remove ‘/lib/firmware/b43legacy/pcm4.fw’: No such file or directory
rm: cannot remove ‘/lib/firmware/b43legacy/pcm5.fw’: No such file or directory
rm: cannot remove ‘/lib/firmware/b43legacy/a0g0bsinitvals2.fw’: No such file or directory
rm: cannot remove ‘/lib/firmware/b43legacy/b0g0bsinitvals5.fw’: No such file or directory
rm: cannot remove ‘/lib/firmware/b43legacy/a0g0initvals5.fw’: No such file or directory
rm: cannot remove ‘/lib/firmware/b43legacy/a0g1bsinitvals5.fw’: No such file or directory
rm: cannot remove ‘/lib/firmware/b43legacy/a0g0initvals2.fw’: No such file or directory
rm: cannot remove ‘/lib/firmware/b43legacy/a0g1initvals5.fw’: No such file or directory
rm: cannot remove ‘/lib/firmware/b43legacy/b0g0bsinitvals2.fw’: No such file or directory
rm: cannot remove ‘/lib/firmware/b43legacy/b0g0initvals5.fw’: No such file or directory
rm: cannot remove ‘/lib/firmware/b43legacy/b0g0initvals2.fw’: No such file or directory
rm: cannot remove ‘/lib/firmware/b43legacy/a0g0bsinitvals5.fw’: No such file or directory
dpkg: error processing package firmware-b43legacy-installer (–configure):
installed firmware-b43legacy-installer package post-installation script subprocess returned error exit status 123
Errors were encountered while processing:
firmware-b43legacy-installer
Scanning application launchers
Launchers are updated
E: Sub-process /usr/bin/dpkg returned an error code (1)

ok if i remember after upgrading yesterday mine got installed using python dependencies if am correct.
try
sudo apt update --fix-missing && sudo parrot upgrade

Why do you have openwrt repository? Just download from parrot-sec repository and it works just fine.

1 Like

This was selected as default

Not working

my workaround:
sudo apt-mark hold firmware-b43legacy-installer
sudo apt-mark hold firmware-b43-installer

try uninstalling it and re-installing it again
sudo apt-get remove firmware-b43-installer -y && sudo apt-get install firmware-b43-installer --fix-missing
also change the repo as @newbietech told you

Sorry but apt-get is Not Recommended on Parrot OS

apt upgrade is Unsafe on rolling release distributions

try installing it manually
Download the package from Here
locate the package then right click on it and select Open with GDebi Package installer then click on install
this can also be done from terminal using sudo gdebi <path_to_deb_file>

(if your system does not have GDebi then you can install it using sudo apt install gdebi)

Hi,

the solution does not work!! I have installed:
Linux parrot 5.5.0-1parrot1-amd64 #1 SMP Parrot 5.5.17-1parrot1 (2020-04-25) x86_64 GNU/Linux

$sudo parrot-upgrade

dpkg: error processing package firmware-b43legacy-installer (–configure):
the thread installed package firmware-b43legacy-installer script post-instal
lation returned the exit code of error 123
Processing triggers for desktop-file-utils (0.24-1) …
Processing triggers for mime-support (3.64) …
Processing triggers for hicolor-icon-theme (0.17-2) …
Processing triggers for bamfdaemon (0.5.4-2) …
Rebuilding /usr/share/applications/bamf-2.index …
Errors encountered while processing:
firmware-b43-installer
firmware-b43legacy-installer
Scanning application launchers
Removing duplicate launchers from Debian
Launchers are updated
E: Sub-process / usr / bin / dpkg returned an error code (1)

could you provide the firmware-b43legacy-installer.postinst script located at /var/lib/dpkg/info/

(rename the script .postinst to .log to upload it here)

@I_Have_Treasure,

I send the requested files.
Thank you
firmware-b43-installer.log (4.7 KB) firmware-b43legacy-installer.log (3.9 KB)

The scrips seem to be correct
After some more Research i have found that Error code 123 refers to No medium found

try:
sudo apt remove --purge firmware-b43legacy-installer

about the command sudo apt remove --purge
This will remove about everything regarding the package “Package_Name”, but not the dependencies installed with it on installation.

then re-install it using sudo apt install firmware-b43legacy-installer

trying to run the recommended commands i got the following

└──╼ #sudo apt remove --purge firmware-b43legacy-installer
Reading package list … Done
Creating dependency tree
Reading status information … Done
The packages listed below were installed automatically and are no longer required.
libbind9-161 libcodec2-0.8.1 libcomedi0 libcpupower2 libdns-export1109
libdns1110 libgnuradio-atsc3.7.13 libgnuradio-channels3.7.13
libgnuradio-comedi3.7.13 libgnuradio-dtv3.7.13 libgnuradio-fcd3.7.13
libgnuradio-fec3.7.13 libgnuradio-noaa3.7.13 libgnuradio-pager3.7.13
libgnuradio-qtgui3.7.13 libgnuradio-trellis3.7.13 libgnuradio-uhd3.7.13
libgnuradio-video-sdl3.7.13 libgnuradio-vocoder3.7.13
libgnuradio-wavelet3.7.13 libgnuradio-wxgui3.7.13 libgnuradio-zeromq3.7.13
libirs161 libisc1105 libisccc161 libisccfg163 liblwres161 libqpdf26
libruby2.5 libuhd3.13.1 python-bson python-bson-ext python-cheetah
python-entrypoints python-gridfs python-keyring python-keyrings.alt
python-pymongo python-pymongo-ext python-pyqt5 python-wheel python-xdg
python-zmq ruby2.5 ruby2.5-dev ruby2.5-doc
Use “sudo apt autoremove” to remove them.
The following packages will be REMOVED:
firmware-b43legacy-installer *
0 updated, 0 new will be installed, 1 to remove and 1 not updated.
2 not fully installed or removed.
28.7 kB will be released after this operation.
do you wish to continue? [Y / n] s
(Reading the database … 577425 files or directories currently installed
tea.)
Uninstalling firmware-b43legacy-installer (1: 019-5) …
/var/lib/dpkg/info/firmware-b43legacy-installer.prerm: Deleting installed firmwa
re…
rm: cannot delete ‘/lib/firmware/b43legacy/ucode2.fw.’: The file does not exist
or or the directory
rm: cannot delete ‘/lib/firmware/b43legacy/ucode4.fw.’: The file does not exist
or or the directory
rm: cannot delete ‘/lib/firmware/b43legacy/ucode5.fw.’: The file does not exist
or or the directory
rm: cannot delete ‘/lib/firmware/b43legacy/ucode11.fw.’: File does not exist
ro or the directory
rm: cannot delete ‘/lib/firmware/b43legacy/pcm4.fw.’: File does not exist
or the directory
rm: cannot delete ‘/lib/firmware/b43legacy/pcm5.fw.’: File does not exist
or the directory
rm: cannot delete ‘/lib/firmware/b43legacy/a0g0bsinitvals2.fw.’: Does not exist
the file or directory
rm: cannot delete ‘/lib/firmware/b43legacy/b0g0bsinitvals5.fw.’: Does not exist
the file or directory
rm: cannot delete ‘/lib/firmware/b43legacy/a0g0initvals5.fw.’: The
file or directory
rm: cannot delete ‘/lib/firmware/b43legacy/a0g1bsinitvals5.fw.’: Does not exist
the file or directory
rm: cannot delete ‘/lib/firmware/b43legacy/a0g0initvals2.fw.’: The
file or directory
rm: cannot delete ‘/lib/firmware/b43legacy/a0g1initvals5.fw.’: The
file or directory
rm: cannot delete ‘/lib/firmware/b43legacy/b0g0bsinitvals2.fw.’: Does not exist
the file or directory
rm: cannot delete ‘/lib/firmware/b43legacy/b0g0initvals5.fw.’: The
file or directory
rm: cannot delete ‘/lib/firmware/b43legacy/b0g0initvals2.fw.’: The
file or directory
rm: cannot delete ‘/lib/firmware/b43legacy/a0g0bsinitvals5.fw.’: Does not exist
the file or directory
dpkg: error processing firmware-b43legacy-installer (–remove) package:
the thread installed package firmware-b43legacy-installer script pre-removal
returned the exit code of error 123
dpkg: too many errors, stopping
No chroot environment found. Starting normal installation
–2020-05-04 15: 07: 33-- https://downloads.openwrt.org/sources/wl_apsta-3.130.20
.0.o
Solving downloads.openwrt.org (downloads.openwrt.org) … 176.9.48.73, 2a01: 4
f8: 150: 6449 :: 2
Connecting to downloads.openwrt.org (downloads.openwrt.org) [176.9.48.73]: 443 …
connected.
HTTP request sent, waiting for response … 301 Moved Permanently
Location: https://sources.openwrt.org/wl_apsta-3.130.20.0.o [following]
–2020-05-04 15: 07: 34-- https://sources.openwrt.org/wl_apsta-3.130.20.0.o
Solving sources.openwrt.org (sources.openwrt.org) … 148.251.151.136, 2a01: 4
f8: 210: 5087 :: 2
Connecting to sources.openwrt.org (sources.openwrt.org) [148.251.151.136]: 443 …
connected.
HTTP request sent, waiting for response … 200 OK
Length: 652866 (638K) [application / octet-stream]
Recording to: “wl_apsta-3.130.20.0.o”
wl_apsta-3.130.20.0 100% [===================>] 637.56K 801KB / s in 0.8s
2020-05-04 15:07:36 (801 KB / s) - “wl_apsta-3.130.20.0.o” saved [652866/652866
]
wl_apsta-3.130.20.0.o: The sum matches
/var/lib/dpkg/info/firmware-b43legacy-installer.postinst: Deleting old extracted
firmware …
rm: cannot delete ‘/lib/firmware/b43legacy/ucode2.fw.’: The file does not exist
or or the directory
rm: cannot delete ‘/lib/firmware/b43legacy/ucode4.fw.’: The file does not exist
or or the directory
rm: cannot delete ‘/lib/firmware/b43legacy/ucode5.fw.’: The file does not exist
or or the directory
rm: cannot delete ‘/lib/firmware/b43legacy/ucode11.fw.’: File does not exist
ro or the directory
rm: cannot delete ‘/lib/firmware/b43legacy/pcm4.fw.’: File does not exist
or the directory
rm: cannot delete ‘/lib/firmware/b43legacy/pcm5.fw.’: File does not exist
or the directory
rm: cannot delete ‘/lib/firmware/b43legacy/a0g0bsinitvals2.fw.’: Does not exist
the file or directory
rm: cannot delete ‘/lib/firmware/b43legacy/b0g0bsinitvals5.fw.’: Does not exist
the file or directory
rm: cannot delete ‘/lib/firmware/b43legacy/a0g0initvals5.fw.’: The
file or directory
rm: cannot delete ‘/lib/firmware/b43legacy/a0g1bsinitvals5.fw.’: Does not exist
the file or directory
rm: cannot delete ‘/lib/firmware/b43legacy/a0g0initvals2.fw.’: The
file or directory
rm: cannot delete ‘/lib/firmware/b43legacy/a0g1initvals5.fw.’: The
file or directory
rm: cannot delete ‘/lib/firmware/b43legacy/b0g0bsinitvals2.fw.’: Does not exist
the file or directory
rm: cannot delete ‘/lib/firmware/b43legacy/b0g0initvals5.fw.’: The
file or directory
rm: cannot delete ‘/lib/firmware/b43legacy/b0g0initvals2.fw.’: The
file or directory
rm: cannot delete ‘/lib/firmware/b43legacy/a0g0bsinitvals5.fw.’: Does not exist
the file or directory
dpkg: error cleaning:
the thread installed package firmware-b43legacy-installer script post-instal
lation returned the exit code of error 123
Errors encountered while processing:
firmware-b43legacy-installer
Process stopped due to too many errors.
Scanning application launchers
Removing duplicate launchers from Debian
Launchers are updated
E: Sub-process / usr / bin / dpkg returned an error code (1)

:thinking: hmm
Try: sudo apt purge firmware-b43*
then report back

this shows:
$sudo apt purge firmware-b43 *
Reading package list … Done
Creating dependency tree
Reading the status information … Done
E: Locate firmware-b43 package was not found *

$sudo apt purge | grep firmware-

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Configuring firmware-b43-installer (1: 019-5) …
/var/lib/dpkg/info/firmware-b43-installer.postinst: Deleting old extracted firmware …
dpkg: error processing firmware-b43-installer (–configure) package:
the thread installed package firmware-b43-installer script post-installation returned the exit code of error 123
Configuring firmware-b43legacy-installer (1: 019-5) …
/var/lib/dpkg/info/firmware-b43legacy-installer.postinst: Deleting old extracted firmware …
dpkg: error processing package firmware-b43legacy-installer (–configure):
installed thread firmware-b43legacy-installer post-installation script returned error exit code 123

Consider these hardware features:
System: Host: parrot Kernel: 5.5.0-1parrot1-amd64 x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: MATE 1.24.0
Distro: Parrot GNU/Linux 4.9 base: Debian parrot
Machine: Type: Desktop System: LENOVO product: 30A6A59500 v: ThinkStation P500 serial: <superuser/root required>
Mobo: LENOVO model: N/A v: SDK0J40705 WIN 3425050431236 serial: <superuser/root required> UEFI [Legacy]: LENOVO
v: A4KT80AUS date: 09/23/2015
CPU: Topology: Quad Core model: Intel Xeon E5-1620 v3 bits: 64 type: MT MCP arch: Haswell rev: 2 L2 cache: 10.0 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 55869
Speed: 1197 MHz min/max: 1200/3600 MHz Core speeds (MHz): 1: 1197 2: 1197 3: 1197 4: 1197 5: 1198 6: 1198 7: 1198
8: 1200

I apologize :pensive:, but i could not find any other solution

Last things maybe you can try

  1. Reinstall
  2. Completely remove b43-fwcutter

Recommended you use Synaptic Package Manager

1 Like

Hi everyone,
the solution is:
Rm -r /lib/firmware/b43legacy/*
Rm -r /lib/firmware/b43/*
Apt parrot-upgrade

And it’s solved

case closed

1 Like

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