![无法修复未满足的依赖项 ubuntu 服务器](https://linux22.com/image/1132781/%E6%97%A0%E6%B3%95%E4%BF%AE%E5%A4%8D%E6%9C%AA%E6%BB%A1%E8%B6%B3%E7%9A%84%E4%BE%9D%E8%B5%96%E9%A1%B9%20ubuntu%20%E6%9C%8D%E5%8A%A1%E5%99%A8.png)
我无法安装某些软件包,出现此错误,我已经尝试使用 apt-get 的所有 clean 和 -f 选项。还尝试了这个无法修复未满足的依赖关系但它对我不起作用。运行最新的 ubuntu 服务器版本。只有 SSH 可以访问它。请帮忙 :) 刚接触 Ubuntu。
The following packages have unmet dependencies:
build-essential : Depends: libc6-dev but it is not going to be installed or
libc-dev
Depends: g++ (>= 4:4.4.3) but it is not going to be installed
libpcap-dev : Depends: libpcap0.8-dev but it is not going to be installed
libpq-dev : Depends: krb5-multidev but it is not going to be installed
Depends: comerr-dev but it is not going to be installed
libsqlite3-dev : Depends: libc6-dev but it is not going to be installed
postgresql : Depends: postgresql-9.3 but it is not going to be installed
zlib1g-dev : Depends: libc6-dev but it is not going to be installed or
libc-dev
E: Unable to correct problems, you have held broken packages.
-- 给定的输出:
build-essential:
Installed: (none)
Candidate: 11.6ubuntu6
Version table:
11.6ubuntu6 0
500 http://nl.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
libc6-dev:
Installed: (none)
Candidate: 2.19-0ubuntu6.6
Version table:
2.19-0ubuntu6.6 0
500 http://nl.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packa ges
500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packag es
2.19-0ubuntu6 0
500 http://nl.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
libc-dev:
Installed: (none)
Candidate: (none)
Version table:
g++:
Installed: (none)
Candidate: 4:4.8.2-1ubuntu6
Version table:
4:4.8.2-1ubuntu6 0
500 http://nl.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
libpcap-dev:
Installed: (none)
Candidate: 1.5.3-2
Version table:
1.5.3-2 0
500 http://nl.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
libpcap0.8-dev:
Installed: (none)
Candidate: 1.5.3-2
Version table:
1.5.3-2 0
500 http://nl.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
libpq-dev:
Installed: (none)
Candidate: 9.3.10-0ubuntu0.14.04
Version table:
9.3.10-0ubuntu0.14.04 0
500 http://nl.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packa ges
500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packag es
9.3.4-1 0
500 http://nl.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
krb5-multidev:
Installed: (none)
Candidate: 1.12+dfsg-2ubuntu5.2
Version table:
1.12+dfsg-2ubuntu5.2 0
500 http://nl.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packa ges
500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packag es
1.12+dfsg-2ubuntu4 0
500 http://nl.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
comerr-dev:
Installed: (none)
Candidate: 2.1-1.42.9-3ubuntu1.3
Version table:
2.1-1.42.9-3ubuntu1.3 0
500 http://nl.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packa ges
2.1-1.42.9-3ubuntu1.2 0
500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packag es
2.1-1.42.9-3ubuntu1 0
500 http://nl.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
libsqlite3-dev:
Installed: (none)
Candidate: 3.8.2-1ubuntu2.1
Version table:
3.8.2-1ubuntu2.1 0
500 http://nl.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packa ges
500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packag es
3.8.2-1ubuntu2 0
500 http://nl.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
postgresql:
Installed: (none)
Candidate: 9.3+154ubuntu1
Version table:
9.3+154ubuntu1 0
500 http://nl.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packa ges
9.3+154 0
500 http://nl.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
postgresql-9.3:
Installed: (none)
Candidate: 9.3.10-0ubuntu0.14.04
Version table:
9.3.10-0ubuntu0.14.04 0
500 http://nl.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packa ges
500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packag es
9.3.4-1 0
500 http://nl.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
zlib1g-dev:
Installed: (none)
Candidate: 1:1.2.8.dfsg-1ubuntu1
Version table:
1:1.2.8.dfsg-1ubuntu1 0
500 http://nl.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages