Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
$ sudo apt-get install xfonts-terminus
Reading package lists... Done
Building dependency tree
Reading state information... Done
xfonts-terminus is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
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
Setting up fakeroot (1.12.4ubuntu1) ...
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
fakeroot
E: Sub-process /usr/bin/dpkg returned an error code (1)
$ sudo apt-get remove dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
dkms
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 393kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 140759 files and directories currently installed.)
Removing dkms ...
dpkg (subprocess): unable to execute installed pre-removal script: Exec format error
dpkg: error processing dkms (--remove):
subprocess installed pre-removal script returned error exit status 2
dpkg (subprocess): unable to execute installed post-installation script: Exec format error
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
dkms
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