root @ OF01-LT-IT-2026: ~ # sudo apt remove
Reading list of packages ... Done
Creating dependency tree
Reading the status information ... Done
The following packages will be DELETED:
mysql-connector-python
0 updated, 0 new will be installed, 1 to delete and 143 not updated.
1 not installed at all or deleted.
638 kB will be released after this operation.
do you wish to continue? [S / n] s
(Reading the database ... 185416 files or directories currently installed.)
Uninstalling mysql-connector-python (2.1.4-1ubuntu12.04) ...
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'distutils.sysconfig'
dpkg: error processing the mysql-connector-python (--remove) package:
installed mysql-connector-python package post-removal script the thread returned an error with exit status 1
Errors were encountered while processing:
mysql-connector-python
E: Sub-process / usr / bin / dpkg returned an error code (1)
root @ OF01-LT-IT-2026: ~ #发布于 2018-07-26 22:35:25
Algo que vi que tal vez te ayude que entraste sudo apt remove sin dar el nombre del paquete/programacion/牧羊犬安静清除器。关于胡斯的建议?美国,sudo apt autoremove,Si静悄悄地消除了你的疑虑。感谢你,请澄清.
Hay un articulo aqui que se trata de o o reparar o o rotos aqui:如何使用apt删除不完整的包?[封闭]。. trata =‘trata 1’> apt-get en vez de apt,la informacion se puede .
我看到的是,您输入sudo apt remove时没有给出要删除的包/程序/库的名称。你到底想在这里完成什么?如果要删除不再工作的包,请使用sudo apt autoremove。请澄清情况。
如果包损坏,则为
这里有一篇关于修复或删除破损包的文章:如何使用apt删除不完整的包?[封闭]。尽管它使用apt-get而不是apt,但这些信息仍然非常有用。
https://askubuntu.com/questions/1059843
复制相似问题