我正在尝试按照以下命令安装和配置 libvirtd:
sudo apt-get install python-libvirt libvirt-bin libvirt0 python-imaging python-numpy virtinst virt-viewer virt-manager
在我运行之后,我得到了错误:
Package python-imaging is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
python-pil:i386 python-pil
E: Package 'python-imaging' has no installation candidate
我尝试按照这篇文章中的评论安装 python 成像库:
如:
sudo apt-get build-dep python-imaging
运行此命令后,我收到此消息:
Reading package lists... Done
E: You must put some 'source' URIs in your sources.list
有人在他的评论中说:
如果您收到错误“您必须在您的 sources.list 中放置一些 'source' URIs”,请确保您的 /etc/apt/sources.list 具有与您的 deb 条目匹配的 deb-src 条目。然后,您必须将文件从它们在服务器上的实际位置符号链接到 PIL 期望它们的位置。
这到底是什么意思?
从此错误消息声明:
看来您需要做的就是
python-pil
现在安装:整个命令将是: