Explicação:
Eu tenho um VPS que vem com o Ubuntu 10.10. Eu estou usando para um servidor que executa um monte de sites. Meu problema é que não posso atualizar a distribuição (o que eu realmente quero). Eu instalei o software necessário, mas em algum momento ele começou a me dar problemas.
Eu acho que é importante dizer que mudei para source.list de maverick para natty. Então, basicamente, eu apenas copio a lista de fontes de natty e coloco no lugar do maverick.
Então eu consegui instalar o apache, php e etc.
Agora, quando tento instalar algo, sempre me ocorre este erro:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
cpp-4.4 : Depends: libc6 (>= 2.14) but 2.13-0ubuntu13.2 is installed
g++-4.5 : Depends: gcc-4.5 (= 4.5.2-8ubuntu4) but 4.5.3-12ubuntu2 is installed
gcc-4.5 : Depends: gcc-4.5-base (= 4.5.3-12ubuntu2) but 4.5.2-8ubuntu4 is installed
Depends: cpp-4.5 (= 4.5.3-12ubuntu2) but 4.5.2-8ubuntu4 is installed
Depends: libgcc1 (>= 1:4.5.3-12ubuntu2) but 1:4.5.2-8ubuntu4 is installed
Depends: libc6 (>= 2.14) but 2.13-0ubuntu13.2 is installed
libc6 : Depends: libc-bin (= 2.13-0ubuntu13.2) but 2.15-0ubuntu10.3 is installed
libgomp1 : Depends: libc6 (>= 2.14) but 2.13-0ubuntu13.2 is installed
libmpfr4 : Depends: libc6 (>= 2.14) but 2.13-0ubuntu13.2 is installed
libnih-dbus1 : Depends: libnih1 (= 1.0.3-4ubuntu9.1) but 1.0.3-1ubuntu1 is installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
root@348588:/var/cache/apt/archives# apt-get -u dist-upgrade
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:
cpp-4.4 : Depends: libc6 (>= 2.14) but 2.13-0ubuntu13.2 is installed
g++-4.5 : Depends: gcc-4.5 (= 4.5.2-8ubuntu4) but 4.5.3-12ubuntu2 is installed
gcc-4.5 : Depends: gcc-4.5-base (= 4.5.3-12ubuntu2) but 4.5.2-8ubuntu4 is installed
Depends: cpp-4.5 (= 4.5.3-12ubuntu2) but 4.5.2-8ubuntu4 is installed
Depends: libgcc1 (>= 1:4.5.3-12ubuntu2) but 1:4.5.2-8ubuntu4 is installed
Depends: libc6 (>= 2.14) but 2.13-0ubuntu13.2 is installed
libc6 : Depends: libc-bin (= 2.13-0ubuntu13.2) but 2.15-0ubuntu10.3 is installed
libgomp1 : Depends: libc6 (>= 2.14) but 2.13-0ubuntu13.2 is installed
libmpfr4 : Depends: libc6 (>= 2.14) but 2.13-0ubuntu13.2 is installed
libnih-dbus1 : Depends: libnih1 (= 1.0.3-4ubuntu9.1) but 1.0.3-1ubuntu1 is installed
E: Unmet dependencies. Try using -f.
é um problema de dependência. Eu li um monte de artigos deste site, mas nenhum deles me ajuda.
Alguém tem uma solução para o problema?
Obrigado