首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >卸载软件包时出现问题

卸载软件包时出现问题
EN

Ask Ubuntu用户
提问于 2018-07-26 21:29:24
回答 1查看 255关注 0票数 0
代码语言:javascript
复制
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: ~ #
EN

回答 1

Ask Ubuntu用户

发布于 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静悄悄地消除了你的疑虑。感谢你,请澄清.

Si el paquete paquete

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,但这些信息仍然非常有用。

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1059843

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档