#Packages not installing correctly because of dpkg
19 messages · Page 1 of 1 (latest)
i have never see a dpkg
what errors
Screenshot of the error please
dpkg = Debian Package
apt manages all the software by choosing the right packages. 🙂 under the hood, it uses dpkg.
E: Sub-process /usr/bin/dpkg returned an error code (1)
how are you installing mentioned packages?
this happens with several different commands, but since i was trying to install drivers for internet this i believe was sudo apt install firmware-b43-installer
i htought debian package was deb.. mb
the packages itself are called *.deb - the software which handle these packages is called dpkg. see man dpkg
oh
Can you show full text please?
this is after running sudo apt install firmware-b43-installer
The problem here is that the downloaded file https://www.lwfinger.com/b43-firmware/broadcom-wl-6.30.163.46.tar.bz2 does not match expected checksum, meaning its content is different.
You can get it using wget, but you'll get a 114 byte file that is actually a html file with redirect. If you try to paste this address in the browser, you'll get redirected to https://www.lwfinger.com/lander that is empty. So either the site this package depends on is down, or they have temporary outage.
Remove the package as it is currently half-installed
in terminal sudo sed -i 's,https://www.lwfinger.com/b43-firmware/${DOWNLOAD},https://github.com/minios-linux/b43-firmware/releases/download/b43-firmware/${DOWNLOAD},' /var/lib/dpkg/info/firmware-b43-installer.postinst
then try updating
seems to have worked, at least didnt throw any errors, im checking to see if i can connect to the wifi properly now
If you need the firmware you can't have brcmwl-kernel-source or any broadcom-sta installed as those packages blacklist the drivers you need