[关闭]
@why-math 2015-07-10T19:50:40.000000Z 字数 414 阅读 5592

apt-mark 命令

效率 ubuntu apt


apt-mark 用来标记安装软件包的状态. 有时一个软件的仓库出了问题, 用 apt-get 安装后无法使用, 这时就可以利用 apt-mark hold package 标记该软件包不被自动更新.

Commands:
auto - Mark the given packages as automatically installed
manual - Mark the given packages as manually installed
hold - Mark a package as held back
unhold - Unset a package set as held back
showauto - Print the list of automatically installed packages
showmanual - Print the list of manually installed packages
showhold - Print the list of package on hold

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注