Eu uso Ubuntu 14.04. E estou tentando instalardpkg-devo que requer alguns arquivos de dependência.
bin$ sudo apt-get install dpkg-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
dpkg-dev : Depends: libdpkg-perl (= 1.17.5ubuntu5) but 1.17.5ubuntu5.6 is to be installed
Recommends: build-essential but it is not going to be installed
Recommends: fakeroot
Recommends: libalgorithm-merge-perl but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Depois disso, estou fazendo o seguinte, que foi recomendado para instalar todas as dependências, sendo necessária a instalação anterior.
bin$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libsdl-image1.2 libtar0 libva-x11-1 libxcb-composite0 libxcb-xv0
vlc-plugin-notify vlc-plugin-pulse
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
que não consegue fazer o trabalho. Por favor, recomende uma maneira de superar esse obstáculo. Desde já, obrigado.
Responder1
Atualize a lista de pacotes, veja se isso resolve o problema.
Use outra ferramenta, como
aptitude
escolher versões manualmente e resolver o conflito. A UI precisa de algum tempo para se acostumar, mas é ótimo para resgatar dependências complicadas.