从手册页:
-m, --ignore-missing, --fix-missing
Ignore missing packages; if packages cannot be retrieved or fail the integrity
check after retrieval (corrupted package files), hold back those packages and
handle the result.
Use of this option together with -f may produce an error in some situations. If a
package is selected for installation (particularly if it is mentioned on the
command line) and it could not be downloaded then it will be silently held back.
Configuration Item: APT::Get::Fix-Missing.
这令人困惑:
- 'ignore missing'和'fix missing'是同一个选项的同义词吗?
- 在这种情况下,“压制”是什么意思?
- “处理结果”是什么意思?
在什么情况下仍然有用?当您尝试安装不在apt索引中的软件包时,会出现以下消息:
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
这两个建议(apt-get update
,apt-get install --fix-missing...
)是否完全相等?
--fix-missing
是的同义词-f
。但是,其行为应与Synaptic相同:尝试仅更新下载的软件包。