Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This question already has an answer here:

I am trying to install some applications but some of them fail to install. The three applications I tried are Vim, Emacs and GNOME-Do. I am using Ubuntu 10.10 installed as a guest OS in VirtualBox. The kernel version installed is 2.6.35-26.

The error I got is :

alvinsim@ubuntu:/etc/apt$ sudo apt-get install emacs
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
emacs : Depends: emacs23 or emacs23-lucid but it is not going to be installed
emacs23-nox but it is not going to be installed E: Broken packages

What is wrong and how do I fix this?

Thanks.

share|improve this question

marked as duplicate by Eliah Kagan, Jorge Castro, Warren Hill, Eric Carvalho, Stephen Myall Jul 18 '13 at 10:32

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1  
Can you dump the apt sources using find /etc/apt/ -name '*.list' -ls -exec cat {} \; on paste.ubuntu.com? This problem is likely caused by third party repositories. –  Lekensteyn Feb 12 '11 at 9:36
    
The command output is at paste.ubuntu.com/566513 –  Alvin Sim Feb 13 '11 at 2:20

1 Answer 1

up vote 2 down vote accepted

I fixed the packages by following the steps provided by the ubuntu package manager trouble shooting procedure. I believed the previous packages were somehow broken.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.