apt-get使用问题
# apt-get
使用问题
# 使用 apt-get
安装软件时提示 The following packages have unmet dependencies!
解决方案
- 使用
aptitude
sudo apt-get install aptitude
sudo aptitude install <package-name>
1
2
2
- 使用示例
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) libyaml-dev [Not Installed]
Accept this solution? [Y/n/q/? (n)
The following actions will resolve these dependencies:
Downgrade the following packages:
1) libyaml-0-2 [0.1.4-3ubuntu3.1 (now) -> 0.1.4-3ubuntu3 (trusty)]
Accept this solution? [Y/n/q/?] (Y)
1
2
3
4
5
6
7
8
9
10
11
12
13
2
3
4
5
6
7
8
9
10
11
12
13
the-following-packages-have-unmet-dependencies (opens new window)
编辑 (opens new window)
上次更新: 2022/02/19, 13:02:00