安装应用程序查询

安装应用程序查询

每当我从软件中心安装应用程序时,它都不会安装,但我想要安装的应用程序的快捷方式会出现在栏上,但未安装且处于待处理状态。

因此我尝试通过终端安装东西。

例如,我想安装,Gdebi所以我输入

sudo apt install gdebi 

我得到了:

sudo: unable to resolve host vision
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:
 cpp-5 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.5) but 5.4.0-6ubuntu1~16.04.6 is to be installed
 g++-5 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.5) but 5.4.0-6ubuntu1~16.04.6 is to be installed
 gcc-5 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.5) but 5.4.0-6ubuntu1~16.04.6 is to be installed
 gdebi : Depends: gdebi-core (= 0.9.5.7ubuntu1) but it is not going to be installed
         Depends: gksu but it is not going to be installed
         Depends: gnome-icon-theme but it is not going to be installed
 libasan2 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.5) but 5.4.0-6ubuntu1~16.04.6 is to be installed
 libatomic1 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.5) but 5.4.0-6ubuntu1~16.04.6 is to be installed
 libcc1-0 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.5) but 5.4.0-6ubuntu1~16.04.6 is to be installed
 libcilkrts5 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.5) but 5.4.0-6ubuntu1~16.04.6 is to be installed
 libgcc-5-dev : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.5) but 5.4.0-6ubuntu1~16.04.6 is to be installed
 libgomp1 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.5) but 5.4.0-6ubuntu1~16.04.6 is to be installed
 libitm1 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.5) but 5.4.0-6ubuntu1~16.04.6 is to be installed
 liblsan0 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.5) but 5.4.0-6ubuntu1~16.04.6 is to be installed
 libmpx0 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.5) but 5.4.0-6ubuntu1~16.04.6 is to be installed
 libquadmath0 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.5) but 5.4.0-6ubuntu1~16.04.6 is to be installed
 libstdc++-5-dev : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.5) but 5.4.0-6ubuntu1~16.04.6 is to be installed
 libtsan0 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.5) but 5.4.0-6ubuntu1~16.04.6 is to be installed
 libubsan0 : Depends: gcc-5-base (= 5.4.0-6ubuntu1~16.04.5) but 5.4.0-6ubuntu1~16.04.6 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

每次我安装某些东西时都会发生这种情况,即使对于 vlc 我也遇到同样的情况。请帮忙。

解析主机后,当我尝试安装 vlc 时,我得到了这个

[sudo] nishanthr 的密码:正在读取软件包列表……完成构建依赖关系树
正在读取状态信息...完成您可能需要运行“apt-get -f install”来更正这些问题:以下软件包具有未满足的依赖项:browser-plugin-vlc:依赖:libvlc5(> = 2.0.0)但不会安装 cpp-5:依赖:gcc-5-base(= 5.4.0-6ubuntu1~16.04.5)但需要安装 5.4.0-6ubuntu1~16.04.6 g++-5:依赖:gcc-5-base(= 5.4.0-6ubuntu1~16.04.5)但需要安装 5.4.0-6ubuntu1~16.04.6 gcc-5:依赖:gcc-5-base(= 5.4.0-6ubuntu1~16.04.5)但需要安装 5.4.0-6ubuntu1~16.04.6需要安装 libasan2 :依赖:gcc-5-base (= 5.4.0-6ubuntu1~16.04.5) 但是需要安装 5.4.0-6ubuntu1~16.04.6 libatomic1 :依赖:gcc-5-base (= 5.4.0-6ubuntu1~16.04.5) 但是需要安装 5.4.0-6ubuntu1~16.04.6 libcc1-0 :依赖:gcc-5-base (= 5.4.0-6ubuntu1~16.04.5) 但是需要安装 5.4.0-6ubuntu1~16.04.6 libcilkrts5 :依赖:gcc-5-base (= 5.4.0-6ubuntu1~16.04.5) 但是需要安装 5.4.0-6ubuntu1~16.04.6 libgcc-5-dev :依赖:gcc-5-base(= 5.4.0-6ubuntu1~16.04.5)但需要安装 5.4.0-6ubuntu1~16.04.6 libgomp1 :依赖:gcc-5-base(= 5.4.0-6ubuntu1~16.04.5)但需要安装 5.4.0-6ubuntu1~16.04.6 libitm1 :依赖:gcc-5-base(= 5.4.0-6ubuntu1~16.04.5)但需要安装 5.4.0-6ubuntu1~16.04.6 liblsan0 :依赖:gcc-5-base(= 5.4.0-6ubuntu1~16.04.5) 但需要安装 5.4.0-6ubuntu1~16.04.6 libmpx0 :依赖:gcc-5-base (= 5.4.0-6ubuntu1~16.04.5) 但需要安装 5.4.0-6ubuntu1~16.04.6 libquadmath0 :依赖:gcc-5-base (= 5.4.0-6ubuntu1~16.04.5) 但需要安装 5.4.0-6ubuntu1~16.04.6 libstdc++-5-dev :依赖:gcc-5-base (= 5.4.0-6ubuntu1~16.04.5) 但需要安装 5.4.0-6ubuntu1~16.04.6 libtsan0 :依赖: gcc-5-base(= 5.4.0-6ubuntu1~16.04.5)但需要安装 5.4.0-6ubuntu1~16.04.6 libubsan0:依赖:gcc-5-base(= 5.4.0-6ubuntu1~16.04.5)但需要安装 5.4.0-6ubuntu1~16.04.6 vlc:依赖:vlc-nox(= 2.2.2-5ubuntu0.16.04.4)但不会安装 依赖:libgles2-mesa(>= 7.8.1)但不会安装或 libgles2 依赖:libqt5x11extras5(>= 5.1.0)但不会安装 依赖:libsdl-image1.2(>= 1.2.10)但会不会安装 依赖:libsdl1.2debian(>= 1.2.11)但不会安装 依赖:libva-drm1(>= 1.1.0)但不会安装 依赖:libva-x11-1(>= 1.0.3)但不会安装 依赖:libvlccore8(>= 2.2.0)但不会安装 依赖:libxcb-composite0但不会安装 依赖:libxcb-xv0(>= 1.2)但不会安装 推荐:vlc-plugin-notify(= 2.2.2-5ubuntu0.16.04.4)但不会安装 推荐:vlc-plugin-samba(= 2.2.2-5ubuntu0.16.04.4)但不会安装 E:未满足的依赖关系。尝试不使用任何包的“apt-get -f install”(或指定解决方案)。

相关内容