小编Adr*_*n B的帖子

如何为 dpkg --configure -a 设置默认选项?

如何发送如下命令,但使用默认参数(无需用户输入)。我想在 shell 脚本中使用它。

 dpkg --configure -a ...

 ==> Modified (by you or by a script) since installation.  ==> Package  
distributor has shipped an updated version.    What would you like to   
do about it ?  Your options are:  
Y or I  : install the package maintainer's version  
N or O  : keep your currently-installed version  
D     : show the differences between the versions  
Z     : start a shell to examine the situation  The default action is to keep your current version. …
Run Code Online (Sandbox Code Playgroud)

apt dpkg bash

7
推荐指数
1
解决办法
1万
查看次数

标签 统计

apt ×1

bash ×1

dpkg ×1