我之前问过这个问题使用什么 apt 命令来检查安装的健全性或配置是否错误?尽管答案是正确的apt check
,但当我尝试时它并没有解决我的问题,如下面引用的文本所示。
apt install
所以问题是,在命令通知您之前,如何分析包裹的状况以确保一切都很好?
我运行了一个 dist-upgrade,它破坏了 sid 上的 kde 5,直到我重新启动并尝试再次登录桌面时才意识到这一点。所以我尝试了 apt-get Plasma-desktop,并在这个 Pastebin 中列出了一大堆错误,Pastebin.com/njJVrdWR。我如何知道 apt 软件包配置处于这种状态而不尝试安装某些东西
这是尝试重新安装等离子桌面的输出。
vfclists@hp01:~$ sudo apt-get install plasma-desktop
[sudo] password for vfclists:
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:
plasma-desktop : Depends: breeze but it is not going to be installed
Depends: kactivitymanagerd but it is not going to be installed
Depends: kde-cli-tools but it is not going to be installed
Depends: oxygen-sounds but it is not going to be installed
Depends: plasma-integration but it is not going to be installed
Depends: plasma-workspace but it is not going to be installed
Depends: polkit-kde-agent-1 but it is not going to be installed
Depends: libkworkspace5-5 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
更新:我想指出的是,我目前正在运行具有以下输出的前沿配置uname
。问题更关心的是了解 apt 如何检测和通知错误配置,而不是实际解决我的问题,这在 Siduction 论坛中得到了更好的处理。
Linux hp01 4.8.0-towo.1-siduction-amd64 #1 SMP PREEMPT siduction 4.8-1 (2016-10-04) x86_64 GNU/Linux