Primeiro baixe o pacote deb do repositório
apt-get download <package_name>
Instale o arquivo deb (ele deve estar na pasta atual)
sudo dpkg -i <downloaded_package_deb_file>
Eu tentei instalar o beanstalkd com sudo apt-get install beanstalkd
(também com a opção -f
) e recebo o seguinte erro:
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).
Primeiro baixe o pacote deb do repositório
apt-get download <package_name>
Instale o arquivo deb (ele deve estar na pasta atual)
sudo dpkg -i <downloaded_package_deb_file>
tente executar sudo apt-get --fix-missing install
Tente
sudo apt-get install -f
sem pacote no terminal.
Se isso ainda fornecer o erro das dependências, você terá que emitir
sudo apt-get remove beanstalkd
tente
sudo apt-get install mysql-server beanstalkd
Isso deve instalar as dependências mysql e o beanstalk.
Executar
apt --fix-broken install
sem pacotes. E tente instalar os pacotes novamente.
Tags apt 10.04 installation