
Quando tentei instalar o pacote liblog4cxx10-dev, ele relatou o erro da seguinte forma:
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:
liblog4cxx10-dev : Depends: libaprutil1-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Meu sistema é Ubuntu 12.04 LTS 64 bits. Eu pesquisei e verifiquei o
apt-cache policy libblog4cxx10-dev
**O resultado é:
liblog4cxx10-dev:
Installed: (none)
Candidate: 0.10.0-1.2ubuntu2
Version table:
0.10.0-1.2ubuntu2 0
500 http://us.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
Se eu usar o apt-get install para instalar o libaprutil1-dev, tenho os seguintes erros: Os seguintes pacotes possuem dependências não atendidas:
libaprutil1-dev : Depends: libsqlite3-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Alguém poderia ajudar me informando como resolver o problema? Por exemplo, quais ferramentas devo usar ou qual arquivo devo verificar?
Desde já, obrigado!**
Responder1
Primeiro execute apt-get autoremove
para remover os pacotes quebrados e apt-get update
atualizar. Finalmente, experimente o seu apt-get original.