Доброго. Собираю питон 3.4, перед этим точно так же собрал питон2.7
./configure
make
sudo checkinstall -D
В настройках пакета меняю только имя [python3]
0 - Maintainer: [ root@localhost ]
1 - Summary: [ Package created with checkinstall 1.6.2 ]
2 - Name: [ python3 ]
3 - Version: [ 3.4.0 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ checkinstall ]
7 - Architecture: [ i386 ]
8 - Source location: [ Python-3.4.0 ]
9 - Alternate source location: [ ]
10 - Requires: [ ]
11 - Provides: [ python ]
12 - Conflicts: [ ]
13 - Replaces: [ ]
Copying files to the temporary directory...OK
Stripping ELF binaries and libraries...OK
Compressing man pages...OK
Building file list...OK
Building Debian package...OK
Installing Debian package... FAILED!
*** Failed to install the package
Do you want to see the log file? [y]:
(Reading database ... 226661 files and directories currently installed.)
Unpacking python3 (from .../python3_3.4.0-1_i386.deb) ...
dpkg: error processing /tmp/python/Python-3.4.0/python3_3.4.0-1_i386.deb (--install):
trying to overwrite '/usr/local/bin/2to3', which is also in package python 2.7.11-1
Processing triggers for man-db ...
Errors were encountered while processing:
/tmp/python/Python-3.4.0/python3_3.4.0-1_i386.deb