|
发表于 2002-11-25 21:47:13
|
显示全部楼层
somebody said hold was a status flag to tell apt not to automatically upgrade a package. apt will place packages on hold if they require packages that are not currently installable; you can 'apt-get install pkgname' to explicitly install the package. To put a package on hold, 'echo pkgname hold | dpkg --set-selections' or use the '=' key on the package in dselect, or 'echo pkgname install | dpkg --set-selections' to remove the hold
我们说 hold ,其实是一个状态标志,目的是告诉 apt 停止自动升级某个包裹。
apt 将让一些包裹处于 hold 状态,如果他们请求的包裹现在不可安装;
你能够使用 ‘apt-get install pkgname' 来安装包裹。
为了让包裹置于 hold. 'echo pkgname hold | dpkg --set-selections ' 或在 dselect 中使用 '=' 键于对应的包裹。
移除 hold 用
'echo pkgname install | dpkg --set-selections' |
|