Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
$ sudo apt-get --reinstall install dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]?
Setting up dkms (2.1.0.1-0ubuntu1) ...
dpkg (subprocess): unable to execute installed post-installation script: Exec format error
dpkg: error processing dkms (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of bcmwl-kernel-source:
bcmwl-kernel-source depends on dkms; however:
Package dkms is not configured yet.
dpkg: error processing bcmwl-kernel-source (--configure):
dependency problems - leaving unconfigured
Setting up fakeroot (1.12.4ubuntu1) ...
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg (subprocess): unable to execute installed post-installation script: Exec format error
dpkg: error processing fakeroot (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
dkms
bcmwl-kernel-source
fakeroot
E: Sub-process /usr/bin/dpkg returned an error code (1)
$ sudo apt-get remove bcmwl-kernel-source
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
bcmwl-kernel-source
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 1,970kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 140807 files and directories currently installed.)
Removing bcmwl-kernel-source ...
dpkg (subprocess): unable to execute installed post-removal script: Exec format error
dpkg: error processing bcmwl-kernel-source (--remove):
subprocess installed post-removal script returned error exit status 2
Errors were encountered while processing:
bcmwl-kernel-source
E: Sub-process /usr/bin/dpkg returned an error code (1)
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment