永远等待安装 - Ubuntu软件 - 16.04

当我尝试使用“Ubuntu软件”安装.deb文件时,它会永远显示“等待安装”。

5这是一个优先级较高的错误,将很快修复。在此期间,您可以使用dpkg通过终端安装.deb文件。 - Mohit Rajan
2可能是16.04无法从Ubuntu软件中心安装任何东西的重复问题。 - chaskes
6为什么他们把它发布为Ubuntu的新版本,如果它还不能正常工作呢?无法使用软件包管理器来管理软件包……我不会完全称之为“错误”。 - Ben
同意...这是一个问题。但它也是一个机会...可以阅读你的邮件,拥抱你的妻子或孩子,或遛狗。这个应用程序仍然能够完成工作。 - Brad Horn
3这个问题一年后怎么还存在? - Andy Ray
2017年10月-普通用户仍然无法在Ubuntu上安装Google Chrome。 - latj
5个回答

在终端中安装.deb软件包:
$ sudo dpkg -i <path/to/deb.deb>
$ sudo apt-get install -f

apt-get install -f 的原因在于 man 页面中所述:
 -f, --fix-broken
           Fix; attempt to correct a system with broken dependencies in place. This option, when used with install/remove, can
           omit any packages to permit APT to deduce a likely solution. If packages are specified, these have to completely
           correct the problem. The option is sometimes necessary when running APT for the first time; APT itself does not allow
           broken package dependencies to exist on a system. It is possible that a system's dependency structure can be so
           corrupt as to require manual intervention (which usually means using dpkg --remove to eliminate some of the offending
           packages). Use of this option together with -m may produce an error in some situations. Configuration Item:
           APT::Get::Fix-Broken.

来源:Mohit Rajan的评论


所有这些做的只是打开软件中心,然后继续不工作。 - Antony D'Andrea
1@AntonyD'Andrea,您能解释一下为什么需要使用“sudo apt-get install -f”来安装软件包,如果“dpkg”已经可以完成安装了吗? - vstepaniuk
1使用sudo apt-get install ./file.deb或者sudo apt-get install /path/to/file.deb更简单。 - Chai T. Rex

1 - 在新的“Ubuntu软件”中下载旧版的“Ubuntu软件中心”。
2 - unity --reset-icons 或重新启动您的计算机(以删除“等待安装”)。
3 - 使用刚安装的“Ubuntu软件中心”打开.deb文件。
4 - 安装它。

在1)中,它始终显示为“等待安装”。2)之后,旧的“Ubuntu软件中心”未安装。 - shallowThought
1小心使用unity --reset-icons命令:它会关闭所有程序并将Unity启动器重置为初始状态(在Ubuntu安装中)! - Juh_

只是一个建议,不确定是否有帮助,如果您经常从.deb文件安装软件包,建议使用可靠的软件包管理器,如Gdebi
然而,如果您喜欢浏览应用程序并从同一位置安装它们,您应该坚持使用Ubuntu软件中心。要删除Gnome-Software并安装经典且值得信赖的Ubuntu软件中心,请参考this guide