user5@system:/var/lib/dpkg/info$ sudo apt-get install aptitude
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
aptitude-common libcwidget3v5
Suggested packages:
apt-xapian-index aptitude-doc-en | aptitude-doc debtags tasksel libcwidget-dev
The following NEW packages will be installed:
aptitude aptitude-common libcwidget3v5
0 upgraded, 3 newly installed, 0 to remove and 17 not upgraded.
Need to get 2,345 kB of archives.
After this operation, 9,865 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 aptitude-common all 0.7.4-2ubuntu2 [747 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libcwidget3v5 amd64 0.5.17-4ubuntu2 [292 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 aptitude amd64 0.7.4-2ubuntu2 [1,306 kB]
Fetched 2,345 kB in 6s (349 kB/s)
Selecting previously unselected package aptitude-common.
dpkg: warning: files list file for package 'emacsen-common' missing; assuming package has no files currently installed
(Reading database ... 335708 files and directories currently installed.)
Preparing to unpack .../aptitude-common_0.7.4-2ubuntu2_all.deb ...
Unpacking aptitude-common (0.7.4-2ubuntu2) ...
Selecting previously unselected package libcwidget3v5:amd64.
Preparing to unpack .../libcwidget3v5_0.5.17-4ubuntu2_amd64.deb ...
Unpacking libcwidget3v5:amd64 (0.5.17-4ubuntu2) ...
Selecting previously unselected package aptitude.
Preparing to unpack .../aptitude_0.7.4-2ubuntu2_amd64.deb ...
Unpacking aptitude (0.7.4-2ubuntu2) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Processing triggers for menu (2.1.47ubuntu1) ...
Setting up aptitude-common (0.7.4-2ubuntu2) ...
Setting up libcwidget3v5:amd64 (0.5.17-4ubuntu2) ...
Setting up aptitude (0.7.4-2ubuntu2) ...
update-alternatives: using /usr/bin/aptitude-curses to provide /usr/bin/aptitude (aptitude) in auto mode
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Processing triggers for menu (2.1.47ubuntu1) ...
user5@system:/var/lib/dpkg/info$ sudo aptitude install emacs24
The following NEW packages will be installed:
emacs24 emacs24-bin-common{a} emacs24-common{a} emacs24-common-non-dfsg{a} emacs24-el{a}
0 packages upgraded, 5 newly installed, 0 to remove and 17 not upgraded.
Need to get 0 B/36.0 MB of archives. After unpacking 104 MB will be used.
Do you want to continue? [Y/n/?] y
Selecting previously unselected package emacs24-common-non-dfsg.
dpkg: warning: files list file for package 'emacsen-common' missing; assuming package has no files currently installed
(Reading database ... 335837 files and directories currently installed.)
Preparing to unpack .../emacs24-common-non-dfsg_24.4+1-2_all.deb ...
Unpacking emacs24-common-non-dfsg (24.4+1-2) ...
Selecting previously unselected package emacs24-common.
Preparing to unpack .../emacs24-common_24.5+1-6ubuntu1.1_all.deb ...
Unpacking emacs24-common (24.5+1-6ubuntu1.1) ...
Selecting previously unselected package emacs24-bin-common.
Preparing to unpack .../emacs24-bin-common_24.5+1-6ubuntu1.1_amd64.deb ...
Unpacking emacs24-bin-common (24.5+1-6ubuntu1.1) ...
Selecting previously unselected package emacs24.
Preparing to unpack .../emacs24_24.5+1-6ubuntu1.1_amd64.deb ...
Unpacking emacs24 (24.5+1-6ubuntu1.1) ...
Selecting previously unselected package emacs24-el.
Preparing to unpack .../emacs24-el_24.5+1-6ubuntu1.1_all.deb ...
Unpacking emacs24-el (24.5+1-6ubuntu1.1) ...
Processing triggers for install-info (6.1.0.dfsg.1-5) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5.1) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Setting up emacs24-common-non-dfsg (24.4+1-2) ...
Setting up emacs24-common (24.5+1-6ubuntu1.1) ...
Setting up emacs24-bin-common (24.5+1-6ubuntu1.1) ...
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
Setting up emacs24-el (24.5+1-6ubuntu1.1) ...
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