|
楼主 |
发表于 2011-4-10 09:53:26
|
显示全部楼层
Post by savagejin;2134255
man yum然后搜索exclude,这个也许能满足要求
嗯,这个已经可以了
谢谢
man yum.conf
有:
exclude List of packages to exclude from updates or installs.
This should be a space separated list. Shell globs using wild‐
cards (eg. * and ?) are allowed.
includepkgs Inverse of exclude. This is a list of packages you
want to use from a repository. If this option lists only one
package then that is all yum will ever see from the repository.
Defaults to an empty list. Substitution variables, described
below, are honored here. |
|