求1个命令的意思

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
linux_que
帖子: 2
注册时间: 2014-02-20 15:49
系统: ubuntu

求1个命令的意思

#1

帖子 linux_que » 2014-02-20 16:04

apt-get install -f 的意思 网上找了好久, 后面-f 意思。。
头像
tailsgao
帖子: 209
注册时间: 2010-07-09 7:37

Re: 求1个命令的意思

#2

帖子 tailsgao » 2014-02-20 16:19

force強制安裝,不管依賴和錯誤,所以有可能安裝了也不能使用! :em11
头像
月下叹逍遥
论坛版主
帖子: 33994
注册时间: 2010-10-07 14:23
系统: Archdows10
来自: 某系某星某洲某国某省某市
联系:

Re: 求1个命令的意思

#3

帖子 月下叹逍遥 » 2014-02-20 16:20

-f = force
浮生七十今三十,从此凄惶未可知
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 求1个命令的意思

#4

帖子 poloshiao » 2014-02-20 17:00

apt-get install -f
http://manpages.ubuntu.com/manpages/pre ... get.8.html
-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.
头像
adam8157
帖子: 2794
注册时间: 2009-03-05 16:31
联系:

Re: 求1个命令的意思

#5

帖子 adam8157 » 2014-02-20 18:16

-f, --fix-broken
回复