Não é possível instalar o pacote Python3 no Debian 7

2

Eu recebo erro ao instalar python3 no Debian 7 (eu tenho todas as atualizações instaladas):

root@nuclight:~# aptitude install python3
The following NEW packages will be installed:
  python3 python3.2{a} 
0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/2,621 kB of archives. After unpacking 8,991 kB will be used.
Do you want to continue? [Y/n/?] 
Selecting previously unselected package python3.2.
dpkg: warning: files list file for package 'python3.2-minimal' missing; assuming package has no files currently installed
(Reading database ... 101541 files and directories currently installed.)
Unpacking python3.2 (from .../python3.2_3.2.3-7_amd64.deb) ...
Selecting previously unselected package python3.
Unpacking python3 (from .../python3_3.2.3-6_all.deb) ...
Processing triggers for desktop-file-utils ...
Processing triggers for man-db ...
Setting up python3.2 (3.2.3-7) ...
/var/lib/dpkg/info/python3.2.postinst: 6: /var/lib/dpkg/info/python3.2.postinst: python3.2: not found
dpkg: error processing python3.2 (--configure):
 subprocess installed post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of python3:
 python3 depends on python3.2 (>= 3.2.3); however:
  Package python3.2 is not configured yet.

dpkg: error processing python3 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 python3.2
 python3
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up python3.2 (3.2.3-7) ...
/var/lib/dpkg/info/python3.2.postinst: 6: /var/lib/dpkg/info/python3.2.postinst: python3.2: not found
dpkg: error processing python3.2 (--configure):
 subprocess installed post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of python3:
 python3 depends on python3.2 (>= 3.2.3); however:
  Package python3.2 is not configured yet.

dpkg: error processing python3 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 python3.2
 python3

Você pode me ajudar?

    
por atomAltera 07.09.2014 / 07:20

1 resposta

5

O problema parece ser a seguinte linha:

dpkg: warning: files list file for package 'python3.2-minimal' missing; assuming package has no files currently installed

Você pode por favor executar o seguinte:

apt-get update
apt-get remove python3.*
apt-get install python3

Isso removerá todos os pacotes do Python 3 e, em seguida, instalará o Python 3 novamente. Parece que sua instalação atual está um pouco quebrada, já que o binário python3.2 que deveria estar no pacote (já instalado) python3.2-minimal não pode ser encontrado.

    
por 07.09.2014 / 08:38