Experimente sudo apt-get install --fix-broken && sudo apt-get autoremove && sudo apt-get update
.
Por favor, deixe-me saber se isso não resolve o problema para você.
Depois de tentar instalar o python2.7.13, perdi a capacidade de usar o meu Ubuntu.
Eu tentei sudo apt-cache policy python2.7 python2.7-dev
, o que me deu:
python2.7:
Installed: 2.7.6-8ubuntu0.3
Candidate: 2.7.6-8ubuntu0.3
Version table:
*** 2.7.6-8ubuntu0.3 0
500 http: // ca.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
500 http: // security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
100 /var/lib/dpkg/status
2.7.6-8 0
500 http: // ca.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
python2.7-dev:
Installed: 2.7.6-8ubuntu0.3
Candidate: 2.7.6-8ubuntu0.3
Version table:
*** 2.7.6-8ubuntu0.3 0
500 http: // ca.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
500 http: // security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
100 /var/lib/dpkg/status
2.7.6-8 0
500 http: // ca.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
e sudo apt-cache policy python
:
python:
Installed: 2.7.13-1
Candidate: 2.7.13-1
Version table:
*** 2.7.13-1 0
100 /var/lib/dpkg/status
2.7.5-5ubuntu3 0
500 http: // ca.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
quais são versões diferentes ... Eu tentei apt-get -f install
que me deu:
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
e sudo apt-get install ubuntu-desktop
me deram:
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution)
Eu não tenho ideia do que fazer ...
Experimente sudo apt-get install --fix-broken && sudo apt-get autoremove && sudo apt-get update
.
Por favor, deixe-me saber se isso não resolve o problema para você.