![“apt-get”与“aptitude keep-all”等价的是什么?](https://linux22.com/image/59072/%E2%80%9Capt-get%E2%80%9D%E4%B8%8E%E2%80%9Captitude%20keep-all%E2%80%9D%E7%AD%89%E4%BB%B7%E7%9A%84%E6%98%AF%E4%BB%80%E4%B9%88%EF%BC%9F.png)
来自aptitude
手册页。
keep-all
Cancels all scheduled actions on all packages; any packages whose
sticky state indicates an installation, removal, or upgrade will
have this sticky state cleared.
如何使用同样的方法apt-get
?
答案1
没有,因为 apt-get 不存储“计划的操作”。apt-get
是明确的,它不会做你不告诉它做的事情。它不记得您想要执行什么操作前,就像能力一样。