2

I've tried to install emacs on Ubuntu server 64bit 11.04, but it's complaining about emacs23-common. If I do:

sudo apt-get -f install

I still see the same problem:

Errors were encountered while processing:
 /var/cache/apt/archives/emacs23-common_23.2+1-7ubuntu2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

How can I solve this situation?

2
  • 5
    The actual error message from dpkg should be a few lines above the "Errors were encountered ..." line. Can you please post it? It will help figuring out what's actually wrong. Commented Jun 29, 2011 at 12:49
  • It would also help to post the output of apt-cache policy packagenames where packagenames are the relevent packages (target/dependencies etc). Commented Jun 29, 2011 at 14:20

2 Answers 2

1

try a

sudo apt-get clean

your local repository may be out of date

0

As has been stated in the comments, more information is needed to accurately diagnose your problem.

I may be misinformed, but my understanding is that aptitude has better dependency resolution than regular old apt-get. You could try aptitude?

1
  • 2
    The error message refers to something that dpkg didn't like during the installation of package emacs23-common. So it's not dependency resolution that is failing, it's the actual installation of the package. Commented Jun 30, 2011 at 7:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .