我尝试运行以下命令:
apt-get remove libtinfo5
我得到了这个输出:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libuuid1 : Depends: passwd
Recommends: uuid-runtime
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
请帮忙。我是 Ubuntu 新手。请解释一下我最初到底做错了什么,这到底是怎么回事?
答案1
libtinfo5
是一个重要的系统包,除非您真的知道自己在做什么,否则绝不能删除它,而这里显然不是这种情况。您现在可以重新安装系统了。