Não é possível instalar o python-minimal no Ubuntu 17.10

1

Eu tenho tentado instalar o python-minimal no Ubuntu 17.10, mas recebendo este erro.

sudo apt-get install python-minimal
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  libpython-stdlib python python2.7 python2.7-minimal
Suggested packages:
  python-doc python-tk python2.7-doc
The following NEW packages will be installed:
  libpython-stdlib python python-minimal python2.7 python2.7-minimal
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1,695 kB of archives.
After this operation, 4,951 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Selecting previously unselected package python2.7-minimal.
(Reading database ... 303638 files and directories currently installed.)
Preparing to unpack .../python2.7-minimal_2.7.14-2ubuntu2_amd64.deb ...
Unpacking python2.7-minimal (2.7.14-2ubuntu2) ...
Selecting previously unselected package python-minimal.
Preparing to unpack .../python-minimal_2.7.14-2ubuntu1_amd64.deb ...
Unpacking python-minimal (2.7.14-2ubuntu1) ...
Selecting previously unselected package python2.7.
Preparing to unpack .../python2.7_2.7.14-2ubuntu2_amd64.deb ...
Unpacking python2.7 (2.7.14-2ubuntu2) ...
Selecting previously unselected package libpython-stdlib:amd64.
Preparing to unpack .../libpython-stdlib_2.7.14-2ubuntu1_amd64.deb ...
Unpacking libpython-stdlib:amd64 (2.7.14-2ubuntu1) ...
Setting up python2.7-minimal (2.7.14-2ubuntu2) ...
Linking and byte-compiling packages for runtime python2.7...
Setting up python-minimal (2.7.14-2ubuntu1) ...
dpkg: error processing package python-minimal (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 python-minimal
E: Sub-process /usr/bin/dpkg returned an error code (1)

Eu tentei instalar usando o arquivo .deb, mas ainda sem sorte.
Gentilmente me ajude.

Atualização 1
Saída de sudo apt -f install

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  libpython-stdlib
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3) ...
Setting up python2.7 (2.7.14-2ubuntu2) ...
Setting up python-minimal (2.7.14-2ubuntu1) ...
dpkg: error processing package python-minimal (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for bamfdaemon (0.5.3+17.10.20170810-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Setting up libpython-stdlib:amd64 (2.7.14-2ubuntu1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu5) ...
Errors were encountered while processing:
 python-minimal
E: Sub-process /usr/bin/dpkg returned an error code (1)

Atualização 2

sudo apt install --reinstall python-minimal

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  libpython-stdlib
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
E: Internal Error, No file name for python-minimal:amd64
    
por k3rn3l 29.12.2017 / 23:05

1 resposta

0

Ok, por favor, execute os seguintes comandos para corrigir o problema e por favor poste qualquer erro, obrigado:

sudo apt update
mkdir PYTHON; cd PYTHON 
apt-get download python-minimal
sudo dpkg -i python*deb
    
por mchid 30.12.2017 / 13:58