LInux错误:未满足的依赖关系

时间:2016-09-15 06:09:10

标签: linux python-3.x ubuntu

安装ipython时出错:

string path1 = @"C:\Users\test\AppData\Local\Temp\XXXXX";
                var paths = Directory.GetFiles(path1)
            .OrderBy(path =>
                Convert.ToInt32(
                    String.Concat(
                        path.Split('-', '.')
                            .Skip(3)
                            .Take(1)
                            //.Select(num => num.PadLeft(2, '0'))
                            .ToArray())
                )
            );

执行以下命令时遇到问题:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 libnss3 : Breaks: libnss3:i386 (!= 2:3.19.2.1-0ubuntu0.14.04.2) but 2:3.23-0ubuntu0.16.04.1 is installed
 libnss3:i386 : Breaks: libnss3 (!= 2:3.23-0ubuntu0.16.04.1) but 2:3.19.2.1-0ubuntu0.14.04.2 is installed
 libnss3-nssdb : Depends: libnss3 (= 2:3.23-0ubuntu0.16.04.1) but 2:3.19.2.1-0ubuntu0.14.04.2 is installed
E: Unmet dependencies. Try using -f.

sudo apt-get upgrade

任何帮助都是可行的

1 个答案:

答案 0 :(得分:0)

您缺少依赖项。你需要执行

apt-get -f install

正如输出告诉你的那样。