我以前见过它。我只是想知道它到底是做什么的?
man apt-get
中: -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 dselect(1) or 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.
apt-get -f install
sudo apt-get -f install
单独使用可能无法完全修复损坏的软件包。请参考这个答案。 - Eliah Kaganpackage
改变主意,只需执行sudo apt-get remove package
来消除未满足依赖错误,不安装修复问题的包。 - user373531