Tente executar
sudo apt-get install -f
Eu estava enfrentando problema semelhante que alguns outros pacotes e funcionou. Espero que você já tenha executado este comando.
Não consigo instalar o python-dev no meu servidor. CPU - ARM64 OS - Ubuntu16.04.03
Falha devido a dependências não atendidas.
Já tentei atualizar, atualizar, forçar a instalação e segui-lo com vários links para resolver. Parece questão específica para ARM64 com ubuntu16.04.3 ...
# sudo apt policy python-dev
python-dev:
Installed: (none)
Candidate: 2.7.11-1
Version table:
2.7.11-1 500
500 http://us.ports.ubuntu.com/ubuntu-ports xenial/main arm64 Packages
Eu tentei instalar manualmente o python pkg dependente, mas não consegui resolver a dependência:
root@ubuntu:/home# sudo apt-get install python-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:
python-dev : Depends: libpython-dev (= 2.7.11-1) but it is not going to be installed
Depends: python2.7-dev (>= 2.7.11-1~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@ubuntu:/home# sudo apt-get install python2.7-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:
python2.7-dev : Depends: libpython2.7-dev (= 2.7.12-1ubuntu0~16.04.2) but it is not going to be installed
Depends: libpython2.7 (= 2.7.12-1ubuntu0~16.04.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@ubuntu:/home# sudo apt-get install libpython2.7
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:
libpython2.7 : Depends: libpython2.7-stdlib (= 2.7.12-1ubuntu0~16.04.1) but 2.7.12-1ubuntu0~16.04.2 is to be installed
E: Unable to correct problems, you have held broken packages.
root@ubuntu:/home# sudo apt-get install libpython2.7-stdlib
Reading package lists... Done
Building dependency tree
Reading state information... Done
libpython2.7-stdlib is already the newest version (2.7.12-1ubuntu0~16.04.2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@ubuntu:/home# sudo apt-get install libpython2.7
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:
libpython2.7 : Depends: libpython2.7-stdlib (= 2.7.12-1ubuntu0~16.04.1) but 2.7.12-1ubuntu0~16.04.2 is to be installed
E: Unable to correct problems, you have held broken packages.
O Plz me avisa se precisar compartilhar mais informações.
Obrigado
Tente executar
sudo apt-get install -f
Eu estava enfrentando problema semelhante que alguns outros pacotes e funcionou. Espero que você já tenha executado este comando.