I had previously installed and used Emacs 25.2.2 and ESS 17.11 on Ubuntu 18.04 (Bionic Beaver). While attempting to update to the latest version of ESS, the ESS install script appears to have failed (see terminal output below).
I tried removing (with --purge
) and then re-installing both ESS and Emacs 25, but this did not solve the problem.
Does anyone have a solution to this problem?
dorazio@toucan:~$ sudo apt install ess
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
xlispstat pspp jags julia
The following NEW packages will be installed:
ess
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1,341 kB of archives.
After this operation, 5,776 kB of additional disk space will be used.
Selecting previously unselected package ess.
(Reading database ... 376257 files and directories currently installed.)
Preparing to unpack .../ess_17.11-3bionic0_all.deb ...
Unpacking ess (17.11-3bionic0) ...
Processing triggers for install-info (6.5.0.dfsg.1-2) ...
Setting up ess (17.11-3bionic0) ...
Install emacsen-common for emacs25
emacsen-common: Handling install of emacsen flavor emacs25
Install ess for emacs25
install/ess: Handling install for emacsen flavor emacs25
ERROR: install script from ess package failed
dpkg: error processing package ess (--configure):
installed ess package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
ess
E: Sub-process /usr/bin/dpkg returned an error code (1)
M-x package-install ess
? That will install it from the official Emacs (M)ELPA repos. Then doM-: (require 'ess)
to enable it. Then doM-x ess
to start it. (I'm going from memory on how to enable/start it, so YMMV). – Lorem Ipsum Nov 21 '18 at 18:22