@why-math
2015-07-10T11:50:40.000000Z
字数 414
阅读 5791
效率 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
