Moh*_*ani 6 package-management apt dependencies software-installation
的用法是什么apt-get -f install
。当我运行sudo apt-get update
时,最后出现了一些错误它说 try apt-get -f install
。这是什么命令?我的错误的最后一部分是:
Run Code Online (Sandbox Code Playgroud). . . going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
请参阅联机帮助页:
-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.
Run Code Online (Sandbox Code Playgroud)
这是尝试解决 umet 依赖项时的第一个解决方案。(请参阅此问题:添加 PPA 后如何解决未满足的依赖项?)
归档时间: |
|
查看次数: |
13019 次 |
最近记录: |