如何在 12.04 中安装 libcairo2 (>= 1.12.0)?

如何在 12.04 中安装 libcairo2 (>= 1.12.0)?

我想libcairo2在我的 上安装 (>= 1.12.0) 12.04 LTS。我需要这个包monodevelop。有什么想法吗?

 rafael@rafael-note:~/Downloads/cairo-1.12.0$ sudo apt-get install
 monodevelop 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:  monodevelop :
 Depends: libcairo2 (>= 1.12.0) but 1.10.2-6.1ubuntu3 is to be
 installed E: Unable to correct problems, you have held broken
 packages.

答案1

monodevelop软件包依赖于libcairo2版本1.12.0或更高版本,但Ubuntu 12.041.10.2-6版本(你可以看到这里)所以你必须手动下载并安装这里或者这里

  wget http://archive.ubuntu.com/ubuntu/pool/main/c/cairo/libcairo2_1.14.2-1ubuntu1_amd64.deb
  sudo dpkg -i libcairo2_1.14.2-1ubuntu1_amd64.deb

根据您的系统配置下载版本(64bit32bit)如果它仍然显示任何依赖关系,则尝试命令:

sudo apt-get install -f 

相关内容