|
Стаж: 13 лет
Сообщений: 187
Благодарностей: 106
Полезность: 632
|
Всем привет, нужна помощь. Вообщем взял тестовый сервер, ОС debian 6. Стоит питон 2.6, мне нужен 3. Ставлю 3: # aptitude install python3 No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B of archives. After unpacking 0 B will be used.
Наверное из за того что я уже не раз запускал эту установку, ок, удаляю. И в ТП еще сказали удалить 2.6, ок, удалю.
# aptitude purge python2.6 No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B of archives. After unpacking 0 B will be used. (вроде как понял что он не установлен).
Удаляю питон3: # aptitude purge python3 The following packages will be REMOVED: libdb5.1{u} libffi5{u} libssl1.0.0{u} python3{p} python3-minimal{u} python3.2{u} python3.2-minimal{u} 0 packages upgraded, 0 newly installed, 7 to remove and 0 not upgraded. Need to get 0 B of archives. After unpacking 23.5 MB will be freed. Do you want to continue? [Y/n/?] y (Reading database ... 26044 files and directories currently installed.) Removing python3 ... Purging configuration files for python3 ... Processing triggers for man-db ... (Reading database ... 26007 files and directories currently installed.) Removing python3.2 ... Removing libdb5.1 ... Removing libffi5 ... Removing libssl1.0.0 ... Removing python3-minimal ... Removing python3.2-minimal ... Unlinking and removing bytecode for runtime python3.2 Processing triggers for man-db ...
Проверяю версию: # python --version Python 2.6.6
Ставлю снова 3: # aptitude install python3 The following NEW packages will be installed: python3 python3-minimal{a} 0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/52.8 kB of archives. After unpacking 365 kB will be used. Do you want to continue? [Y/n/?] y Selecting previously deselected package python3-minimal. (Reading database ... 25189 files and directories currently installed.) Unpacking python3-minimal (from .../python3-minimal_3.1.3-12+squeeze1_all.deb) ... Selecting previously deselected package python3. Unpacking python3 (from .../python3_3.1.3-12+squeeze1_all.deb) ... Processing triggers for man-db ... Setting up python3-minimal (3.1.3-12+squeeze1) ... Setting up python3 (3.1.3-12+squeeze1) ...
Проверяю версию: # python --version Python 2.6.6
Уже и не знаю как установить этот питон. ТП пол дня молчит...
|