attempt to reinstall emacs fails - byte compilation for emacs22 failed!
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
a2ps (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: emacs
I'm trying to completely remove my Emacs installation and rebuild it from scratch. However, I've purged the files but when I try and reinstall it I get the following error:
Setting up emacs22 (22.2-0ubuntu2) ...
Byte-compiling add-on packages, please wait... failed.
!! Byte-compilation for emacs22 failed!
!! This indicates a bug in one of the add-on packages
!! installed on your system, or a bug in Emacs itself.
!! Please file a bug report against emacs22
!! and attach the file /tmp/emacs22.ixkJgM
dpkg: error processing emacs22 (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
emacs22
E: Sub-process /usr/bin/dpkg returned an error code (1)
The version of Ubuntu I'm using:
Description: Ubuntu 9.04
Release: 9.04
I was hoping to end up with Emacs installed so I could then add AUCTeX, preview-latex and RefTeX all installed.
The error file that the message gave reads:
install/a2ps: Handling install for emacsen flavor emacs22
cd: 35: can't cd to /usr/share/
emacs-install: /usr/lib/
usr/lib/
Thanks in anticipation
Richard
ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/
NonfreeKernelMo
Package: gnome-terminal 2.26.0-0ubuntu2.1
ProcEnviron:
PATH=(custom, user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: gnome-terminal
Uname: Linux 2.6.28-15-generic i686
Changed in a2ps (Ubuntu): | |
status: | New → Incomplete |
I have fixed this issue after some experimenting. I'd tried various 'apt-get purge' and uninstall approaches, but whenever I tried the reinstall I got the above error message.
Eventually I tried a purge and then removed *all* mentions of emacs in /etc/ and /var/.
After this, I tried (one more time) and I now have a working Emacs, with AUCTeX installed properly, which is what I was after.