Я попытался установить python3.5
после этого инструкции.
$ auto-apt run ./configure
$ make
# checkinstall
На самом деле python3.5
работы хорошо. Но во время установки была заменена предыдущая версия.
# apt-get check
The following packages have unmet dependencies:
apt-xapian-index : Depends: python (< 2.8) but 3.5.0-1 is installed
Depends: python:any (>= 2.7.1-0ubuntu2)
cloud-image-utils : Depends: python:any
compizconfig-settings-manager : Depends: python (< 2.8) but 3.5.0-1 is installed
Depends: python:any (>= 2.7.1-0ubuntu2)
duplicity : Depends: python (< 2.8) but 3.5.0-1 is installed
Depends: python:any (>= 2.7.1-0ubuntu2)
euca2ools : Depends: python (< 2.8) but 3.5.0-1 is installed
Depends: python:any (>= 2.7.1-0ubuntu2)
gconf2 : Depends: python:any
gimp : Depends: python:any (>= 2.7.1-0ubuntu2)
hplip : Depends: python (< 2.8) but 3.5.0-1 is installed
hplip-data : Depends: python:any (>= 2.7.1-0ubuntu2)
ibus : Depends: python:any (>= 2.7.1-0ubuntu2)
ibus-pinyin : Depends: python:any (>= 2.7.1-0ubuntu2)
...
И партия больше.
# apt-get -f install
...
After this operation, 677 MB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'
?] _
У меня была подобная проблема, когда я попытался удалить Python вообще, я все еще не восстановил все удаленные пакеты, таким образом:
Ну, у меня есть сборка и установленный python2.7.6
но теперь у меня есть другая проблема
# apt-get upgrade | grep 'is installed'
python-all : Depends: python (= 2.7.5-5ubuntu3) but 2.7.6-1 is installed
python-all-dev : Depends: python (= 2.7.5-5ubuntu3) but 2.7.6-1 is installed
python-dev : Depends: python (= 2.7.5-5ubuntu3) but 2.7.6-1 is installed
E: Unmet dependencies. Try using -f.
Я загрузил *.deb
пакет для 2.7.5-5ubuntu3
и установил использование dpkg
вместо apt-get
$ sudo dpkg --install python_2.7.5-5ubuntu3_amd64.deb