Unable to install emacs24 on Ubuntu 12.04 Precise
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Emacs-snapshot |
Invalid
|
High
|
Damien Cassou |
Bug Description
I've added the cassou ppa, but when I try to install emacs24 or emacs-snapshot, apt-get can't seem to find the right packages:
$ sudo add-apt-repository ppa:cassou/emacs
...
$ sudo apt-get update
...
$ sudo apt-get install emacs24 emacs24-el emacs24-
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package emacs24
E: Unable to locate package emacs24-el
E: Unable to locate package emacs24-
$ sudo apt-get install emacs-snapshot
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package emacs-snapshot is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'emacs-snapshot' has no installation candidate
I'm having problems with emacs-snapshot as well.
apt-get -f install 1~ppa1~ raring1) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up emacs-snapshot (2:20130821-
Byte-compiling add-on packages, please wait... failed.
!! Byte-compilation for emacs-snapshot failed! snapshot. ugqW4i
!! 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 emacs-snapshot
!! and attach the file /tmp/emacs-
dpkg: error processing emacs-snapshot (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of emacs-snapshot-gtk:
emacs-snapshot-gtk depends on emacs-snapshot; however:
Package emacs-snapshot is not configured yet.
dpkg: error processing emacs-snapshot-gtk (--configure):
Errors were encountered while processing:
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
emacs-snapshot
emacs-snapshot-gtk
E: Sub-process /usr/bin/dpkg returned an error code (1)
So I thought maybe there isn't anything installed yet that can byte compile elisp source, but apt/dpkg doesn't know that, so:
apt-get install emacs mirrors. liquidweb. com/ubuntu/ raring/main emacs all 45.0 [1,548 B] emacs_45. 0_all.deb) ... 1~ppa1~ raring1) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
emacs
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 1,548 B of archives.
After this operation, 25.6 kB of additional disk space will be used.
Get:1 http://
Fetched 1,548 B in 0s (5,599 B/s)
Selecting previously unselected package emacs.
(Reading database ... 318162 files and directories currently installed.)
Unpacking emacs (from .../archives/
Setting up emacs-snapshot (2:20130821-
Byte-compiling add-on packages, please wait... failed.
!! Byte-compilation for emacs-snapshot failed! snapshot. M9kdn2
!! 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 emacs-snapshot
!! and attach the file /tmp/emacs-
dpkg: error processing emacs-snapshot (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of emacs-snapshot-gtk:
emacs-snapshot-gtk depends on emacs-snapshot; however:
Package emacs-snapshot is not configured yet.
dpkg: error processing emacs-snapshot-gtk (--configure):
dependency problems - leaving unconfigured
Setting up emacs (45.0) ...No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
emacs-snapshot
emacs-snapshot-gtk
E: Sub-process /usr/bin/dpkg returned an error...