attempt to reinstall emacs fails - byte compilation for emacs22 failed!

Bug #427460 reported by fieldri1
8
This bug affects 1 person
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/site-lisp/a2ps
emacs-install: /usr/lib/emacsen-common/packages/install/a2ps emacs22 failed at /
usr/lib/emacsen-common/emacs-install line 28, <TSORT> line 3.

Thanks in anticipation

Richard

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/gnome-terminal
NonfreeKernelModules: nvidia
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

Revision history for this message
fieldri1 (r-fieldsend) wrote :
Revision history for this message
fieldri1 (r-fieldsend) wrote :

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.

Revision history for this message
era (era) wrote :

This hints at a problem in the a2ps package. Reassigning accordingly.

affects: emacs22 (Ubuntu) → a2ps (Ubuntu)
Changed in a2ps (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for a2ps (Ubuntu) because there has been no activity for 60 days.]

Changed in a2ps (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.