我已将其添加squeeze-backports
到我的 apt sources.list 中并进行了更新。反向移植说明说,您可以使用 -t 开关安装软件包及其依赖项,以绕过默认固定:
$ sudo apt-get -t squeeze-backport install xen-linux-system-amd64
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:
xen-linux-system-amd64 : Depends: xen-linux-system-3.2.0-0.bpo.2-amd64 but it is not going to be installed
E: Broken packages
该包存在,那么为什么不将其作为依赖项安装?
$ apt-cache search xen-linux-system-3.2.0-0.bpo.2-amd64
xen-linux-system-3.2.0-0.bpo.2-amd64 - Xen system with Linux 3.2 on 64-bit PCs (meta-package)
我可以将其添加到安装列表中,但随后却发现下一个依赖项未安装。我该怎么做才能说“是的,继续,找到依赖项并安装它们”?
答案1
我确实使用交互式控制台程序aptitude
进行包管理。当 aptitude 发现问题时,它会提供搜索解决方案的功能。之后,您可以浏览找到的解决方案,检查它们,然后决定一个。也许这会有所帮助。
答案2
我已开始在 Xen 主机的新 Squeeze 安装中使用 3.2 内核。以下是我的 agis 集:
apt-get -t squeeze-backports install linux-image-3.2.0-0.bpo.4-amd64 firmware-linux-free
重启
apt-get install xen-hypervisor-amd64 xen-utils xen-tools xen-utils-common xen-docs-4.0