未满足的依赖项。尝试'apt-get -f install',在ubuntu 16.04中没有包(或指定解决方案)显示错误

时间:2017-03-30 05:25:00

标签: ubuntu-16.04

我使用ubuntu 16.04并尝试使用以下命令安装atom编辑器: -

sudo add-apt-repository ppa:webupd8team/atom
sudo apt-get update; sudo apt-get install atom

但是不能显示错误: -

Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 https://deb.nodesource.com/node_7.x xenial InRelease                                                                   
Hit:3 http://dl.google.com/linux/chrome/deb stable Release                                                                                    
Hit:4 http://in.archive.ubuntu.com/ubuntu xenial InRelease                                                                                    
Hit:6 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease                                                                            
Hit:7 http://security.ubuntu.com/ubuntu xenial-security InRelease                             
Hit:8 http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu xenial InRelease
Hit:9 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease     
Hit:10 http://ppa.launchpad.net/webupd8team/atom/ubuntu xenial InRelease 
Hit:11 http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu xenial InRelease
Reading package lists... Done 
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:
 atom : Depends: git
 google-chrome-stable : Depends: libappindicator1 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

请告诉我们如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

您是否尝试过运行建议的解决方案?

apt-get -f install

如果这不起作用,here列出了此问题的其他可能解决方案。