Skip to content

Instantly share code, notes, and snippets.

@pi3r
Created July 27, 2012 09:42
Show Gist options
  • Save pi3r/3187134 to your computer and use it in GitHub Desktop.
Save pi3r/3187134 to your computer and use it in GitHub Desktop.
Error when installing emacs snapshot
-> % sudo apt-get install emacs-snapshot-el emacs-snapshot-gtk emacs-snapshot
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
emacs-snapshot-bin-common emacs-snapshot-common
The following NEW packages will be installed:
emacs-snapshot emacs-snapshot-bin-common emacs-snapshot-common emacs-snapshot-el emacs-snapshot-gtk
0 upgraded, 5 newly installed, 0 to remove and 5 not upgraded.
Need to get 0 B/40.4 MB of archives.
After this operation, 105 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Selecting previously deselected package emacs-snapshot-common.
(Reading database ... 218355 files and directories currently installed.)
Unpacking emacs-snapshot-common (from .../emacs-snapshot-common_2%3a20120721-1~ppa2~oneiric1_all.deb) ...
Selecting previously deselected package emacs-snapshot-bin-common.
Unpacking emacs-snapshot-bin-common (from .../emacs-snapshot-bin-common_2%3a20120721-1~ppa2~oneiric1_amd64.deb) ...
Selecting previously deselected package emacs-snapshot.
Unpacking emacs-snapshot (from .../emacs-snapshot_2%3a20120721-1~ppa2~oneiric1_amd64.deb) ...
Selecting previously deselected package emacs-snapshot-el.
Unpacking emacs-snapshot-el (from .../emacs-snapshot-el_2%3a20120721-1~ppa2~oneiric1_all.deb) ...
Selecting previously deselected package emacs-snapshot-gtk.
Unpacking emacs-snapshot-gtk (from .../emacs-snapshot-gtk_2%3a20120721-1~ppa2~oneiric1_all.deb) ...
Processing triggers for man-db ...
Processing triggers for install-info ...
Setting up emacs-snapshot-common (2:20120721-1~ppa2~oneiric1) ...
Setting up emacs-snapshot-bin-common (2:20120721-1~ppa2~oneiric1) ...
update-alternatives: error: alternative path /usr/bin/ctags.emacs-snapshot doesn't exist.
dpkg: error processing emacs-snapshot-bin-common (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of emacs-snapshot:
emacs-snapshot depends on emacs-snapshot-bin-common (= 2:20120721-1~ppa2~oneiric1); however:
Package emacs-snapshot-bin-common is not configured yet.
dpkg: error processing emacs-snapshot (--configure):
dependency problems - leaving unconfigured
Setting up emacs-snapshot-el (2:20120721-1~ppa2~oneiric1) ...
No apport report written because the error message indicates its a followup error from a previous failure.
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
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
emacs-snapshot-bin-common
emacs-snapshot
emacs-snapshot-gtk
E: Sub-process /usr/bin/dpkg returned an error code (1)
@Anagba
Copy link

Anagba commented Oct 7, 2022

please am encountering the same issue too, please is there a solution to this issue
thank you as you come to my rescue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment