0

I'm unable to use apt-get due to unmet dependencies in emacs24. I'm not sure what happened, but I'm unable to apt anything.

Here is the output:

user5@system:/var/cache/apt/archives$ sudo apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
emacs24 : Depends: emacs24-bin-common (= 24.5+1-6ubuntu1) but 24.5+1-6ubuntu1.1 is installed
E: Unmet dependencies. Try using -f.
  • Can't remove emacs24!
  • Can't reinstall emacs24
  • Can't apt-get install -f

All result in "unmet dependencies errors" for emacs 24.

The issue seems to be that emacs24 depends on 24.5+1-6ubuntu1 and my system insists on installing 24.5+1-6ubuntu1.1

Ideas?

SeaDude
  • 127

1 Answers1

1

The good people on the #ubuntu Freenode IRC channel helped a LOT. Here is what we found:

  1. Need to follow these instructions to get apt to a steady state.
  2. Install Emacs25 using these instructions.

Took about 2 hours to debug! Wish I could share all the pastebin.ubuntu links, but my rep is too light!

SeaDude
  • 127