Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
emacs-bin-common emacs-common emacs-el emacs-gtk
Suggested packages:
mailutils emacs-common-non-dfsg
The following NEW packages will be installed:
emacs emacs-bin-common emacs-common emacs-el emacs-gtk
0 upgraded, 5 newly installed, 0 to remove and 17 not upgraded.
Need to get 0 B/33.4 MB of archives.
After this operation, 108 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Selecting previously unselected package emacs-common.
(Reading database ... 386741 files and directories currently installed.)
Preparing to unpack .../emacs-common_1%3a27.1+1-3ubuntu3_all.deb ...
Unpacking emacs-common (1:27.1+1-3ubuntu3) ...
Selecting previously unselected package emacs-bin-common..............................................................................................
Preparing to unpack .../emacs-bin-common_1%3a27.1+1-3ubuntu3_amd64.deb ...
Unpacking emacs-bin-common (1:27.1+1-3ubuntu3) ...
Selecting previously unselected package emacs-gtk.
Preparing to unpack .../emacs-gtk_1%3a27.1+1-3ubuntu3_amd64.deb ...
Unpacking emacs-gtk (1:27.1+1-3ubuntu3) ...
Selecting previously unselected package emacs.
Preparing to unpack .../emacs_1%3a27.1+1-3ubuntu3_all.deb ...
Unpacking emacs (1:27.1+1-3ubuntu3) ...
Selecting previously unselected package emacs-el.
Preparing to unpack .../emacs-el_1%3a27.1+1-3ubuntu3_all.deb ...
Unpacking emacs-el (1:27.1+1-3ubuntu3) ...
Setting up emacs-common (1:27.1+1-3ubuntu3) ...
Setting up emacs-el (1:27.1+1-3ubuntu3) ...
Setting up emacs-bin-common (1:27.1+1-3ubuntu3) ...
update-alternatives: using /usr/bin/ctags.emacs to provide /usr/bin/ctags (ctags) in auto mode
update-alternatives: using /usr/bin/ebrowse.emacs to provide /usr/bin/ebrowse (ebrowse) in auto mode
update-alternatives: using /usr/bin/emacsclient.emacs to provide /usr/bin/emacsclient (emacsclient) in auto mode
update-alternatives: using /usr/bin/etags.emacs to provide /usr/bin/etags (etags) in auto mode
Setting up emacs-gtk (1:27.1+1-3ubuntu3) ...
update-alternatives: using /usr/bin/emacs-gtk to provide /usr/bin/emacs (emacs) in auto mode
Install emacsen-common for emacs
emacsen-common: Handling install of emacsen flavor emacs
emacs: error while loading shared libraries: libotf.so.0: cannot open shared object file: No such file or directory
ERROR: install script from emacsen-common package failed
dpkg: error processing package emacs-gtk (--configure):
installed emacs-gtk package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of emacs:
emacs depends on emacs-gtk (>= 1:27.1) | emacs-lucid (>= 1:27.1) | emacs-nox (>= 1:27.1); however:
Package emacs-gtk is not configured yet.
Package emacs-lucid is not installed.
Package emacs-nox is not installed.
dpkg: error processing package emacs (--configure):
dependency problems - leaving unconfigured
Processing triggers for hicolor-icon-theme (0.17-2) ...
No apport report written because the error message indicates its a followup error from a previous failure.
Processing triggers for gnome-menus (3.36.0-
1ubuntu1) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for install-info (6.7.0.dfsg.2-6) ...
Processing triggers for mailcap (3.69ubuntu1) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu2) ...
Errors were encountered while processing:
emacs-gtk
emacs
E: Sub-process /usr/bin/dpkg returned an error code (1)