Estou tentando usar o apt-get para instalar o imagick. Deve ser bem simples. Este é o meu comando.
apt-get install imagemagick libmagickcore-dev libmagickwand-dev
No entanto, em vez de instalá-lo, ele volta com essa mensagem de erro
The following packages have unmet dependencies:
nginx-full: Depends: nginx-common (= 1.0.4-1ppa1~lucid) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Não se preocupe, então tento apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
nginx-common
The following NEW packages will be installed:
nginx-common
0 upgraded, 1 newly installed, 0 to remove and 38 not upgraded.
2 not fully installed or removed.
Need to get 0B/59.4kB of archives.
After this operation, 246kB of additional disk space will be used.
Do you want to continue [Y/n]?
Sim, vamos continuar com Y
Mas então isso me dá isso:
(Reading database ... 23160 files and directories currently installed.)
Unpacking nginx-common (from .../nginx-common_1.0.4-1ppa1~lucid_all.deb) ...
dpkg: error processing /var/cache/apt/archives/nginx-common_1.0.4-1ppa1~lucid_all.deb (--unpack):
trying to overwrite '/etc/ufw/applications.d/nginx', which is also in package nginx 0:1.0.0-0ppa1~lucid
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Errors were encountered while processing:
/var/cache/apt/archives/nginx-common_1.0.4-1ppa1~lucid_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Eu tentei parar o serviço nginx. Eu fiz uma atualização do apt-get, mas tudo sem sucesso: (
Qualquer ajuda seria muito apreciada.