Answers:
从终端安装.deb软件包:
$ sudo dpkg -i <path/to/deb.deb>
$ sudo apt-get install -f
手册页中apt-get install -f背后的原因:
-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的评论
sudo apt-get install -f
安装软件包dpkg
吗?
sudo apt-get install ./file.deb
或sudo apt-get install /path/to/file.deb
更简单。
似乎我们所有人都受到https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1573206的影响。
不幸的是,除了使用其他软件包管理器来安装这些软件包之外,没有其他解决方案。
dpkg
通过终端安装.deb文件