1

我一直在尝试在 Ubuntu 17.10 上安装 python-minimal 但收到此错误。

sudo apt-get install python-minimal

Reading package lists... Done
Building dependency tree
Reading state information... Done
python-minimal is already the newest version (2.7.14-2ubuntu1).
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.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
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
Setting up libpython-stdlib:amd64 (2.7.14-2ubuntu1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Errors were encountered while processing:
 python-minimal
E: Sub-process /usr/bin/dpkg returned an error code (1)

我尝试使用 .deb 文件进行安装,但仍然没有运气。
请帮帮我。

4

1 回答 1

0

较旧的安装可能已损坏。所以尝试重新安装:

sudo apt-get install --reinstall python-minimal
sudo apt-get upgrade
于 2017-12-29T21:21:24.760 回答