2013-05-15 87 views
1

我试图在我的机器上安装libmysql ++ - dev软件包,但以下错误失败。我已经在机器上完成了apt-get update和apt-get update。无法在debian上安装libmysql ++ - dev

22:28:[email protected]> apt-get install libmysql++-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: 
initscripts : Breaks: console-setup (< 1.74) but 1.68+squeeze2 is to be installed 
       Breaks: initramfs-tools (< 0.104) but 0.98.8 is to be installed 
       Breaks: nfs-common (< 1:1.2.5-3) but 1:1.2.2-4squeeze2 is to be installed 
keyboard-configuration : Breaks: console-setup (< 1.71) but 1.68+squeeze2 is to be installed 
klibc-utils : Breaks: initramfs-tools (< 0.103) but 0.98.8 is to be installed 
libgnome-keyring0 : Breaks: gnome-keyring (< 3.0) but 2.30.3-5 is to be installed 
E: Broken packages 
+0

您的系统在版本之间进行了不完整的升级。修复。 – duskwuff

回答

1

我通过安装使用aptitude而不是apt-get来解决问题。