Ryc*_*chu 5 configuration apt diff tools default-programs
我不确定它是apt
设置shell
还是设置,但是每当配置文件发生冲突时,apt upgrade
我都会看到以下选项:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences betweeen the versions
Z : start a shell to examine the situation
Run Code Online (Sandbox Code Playgroud)
是否可以更改D
选项以使用其他内容(例如,mcdiff
)?
使用Z
选项sudo mcdiff $DPKG_CONFFILE_OLD $DPKG_CONFFILE_NEW
然后然后exit
有点烦人。
归档时间: |
|
查看次数: |
236 次 |
最近记录: |