user5@system:/var/lib/dpkg/info$ sudo aptitude install -f
The following partially installed packages will be configured:
emacs24
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 17 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Setting up emacs24 (24.5+1-6ubuntu1.1) ...
/var/lib/dpkg/info/emacs24.postinst: 35: /var/lib/dpkg/info/emacs24.postinst: /usr/lib/emacsen-common/emacs-install: not found
dpkg: error processing package emacs24 (--configure):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
emacs24
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to perform requested operation on package. Trying to recover:
Setting up emacs24 (24.5+1-6ubuntu1.1) ...
/var/lib/dpkg/info/emacs24.postinst: 35: /var/lib/dpkg/info/emacs24.postinst: /usr/lib/emacsen-common/emacs-install: not found
dpkg: error processing package emacs24 (--configure):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
emacs24