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.

I tried installing beanstalkd with sudo apt-get install beanstalkd (also with -f option) and I get the following error:

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:
  beanstalkd: Depends: libevent-1.4-2 (>= 1.4.13-stable) but it is not going to be installed
  mysql-server-5.1: Depends: mysql-client-5.1 (>= 5.1.62-0ubuntu0.10.04.1) but it is not going to be installed
                    Depends: libmysqlclient16 (>= 5.1.21-1) but it is not going to be installed
                    Depends: mysql-server-core-5.1 (>= 5.1.62-0ubuntu0.10.04.1) but it is not going to be installed
                    PreDepends: mysql-common (>= 5.1.62-0ubuntu0.10.04.1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
share|improve this question
open synaptic and then look for those required things then install them from there . –  Raja May 21 '12 at 14:25
askubuntu.com/questions/140246/… –  Raja May 21 '12 at 14:42
how do i do it from command-line –  aWebDeveloper May 21 '12 at 14:50
Did you do 'apt-get -f install' separately first, and then try to install beanstalkd? –  Hydrangea May 21 '12 at 15:01
@WebDeveloper he has given the commands to open them , what Ubuntu you got (server/GUI)? –  Raja May 21 '12 at 15:11

3 Answers 3

First download the deb package from repository

apt-get download <package_name>

Install the deb file ( it should be in current folder )

sudo dpkg -i <downloaded_package_deb_file>
share|improve this answer
Why was this downvoted? This has fixed my problem with installing fake-pae ( launchpad.net/~prof7bit/+archive/fake-pae ) after I had upgraded to Ubuntu 12.10. Thank you so much! –  Ads20000 Oct 19 '13 at 8:23

try running sudo apt-get --fix-missing install

share|improve this answer


sudo apt-get install -f

with no package in terminal.

If this still gives the error of the dependencies then you will have to issue

sudo apt-get remove beanstalkd

then try

sudo apt-get install mysql-server beanstalkd

That should install the mysql dependencies and beanstalk.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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