我使用 Siduction,它是一个滚动发布的 Debian 发行版,运行于 sid 分支。
尝试更新我的系统,但我似乎无法安装 libghc-xmonad-dev 和 libghc-xmonad-contrib-dev。我需要这个来使用 xmonad。有什么建议么?
> apt-get install libghc-xmonad-dev libghc-xmonad-contrib-dev
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:
libghc-xmonad-contrib-dev : Depends: libghc-x11-dev-1.8-10997
Depends: libghc-x11-xft-dev-0.3.1-da3b1
libghc-xmonad-dev : Depends: libghc-x11-dev-1.8-10997
Depends: libghc-data-default-dev-0.7.1.1-bf135
E: Unable to correct problems, you have held broken packages.
答案1
这是使用基于 Sid 的滚动发布的陷阱之一。 Haskell 包正在经历一个重建,因此 Sid 中的包树相当损坏。
您必须等待 Sid 中的情况得到解决,或者使用巴斯特版本其所有依赖项都可用。后者是Siduction手册中有解释。