[问题]怎么用命令“锁定”和“解锁”某软件包的版本?
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 1485
- 注册时间: 2007-02-13 15:24
- 来自: 地球
- zhan
- 帖子: 1880
- 注册时间: 2005-08-15 0:04
- 来自: 南7技校
man aptitude
下面是相应的段落
下面是相应的段落
代码: 全选
remove, purge, hold, unhold, keep, reinstall
These commands are the same as “install”, but apply the named action to all packages
given on the command line for which it is not overridden. The difference between hold and
keep is that hold will cause a package to be ignored by future upgrade commands, while
keep merely cancels any scheduled actions on the package. unhold will cause a package to
be upgraded by future upgrade commands, without otherwise altering its state.
For instance, “aptitude remove ’~ndeity’” will remove all packages whose name contains
“deity”.
飞得高,飞得低,学习再学习,多少大秘密!
http://zhan.blog.ubuntu.org.cn
http://zhan.blog.ubuntu.org.cn