什么原因导致“/etc/lsb-release”被修改?以及如何重现它

什么原因导致“/etc/lsb-release”被修改?以及如何重现它

有一天,当我的脚本运行“dpkg --configure -a”时,我观察到了下面的提示

 Configuration file '/etc/lsb-release'
  ==> 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
 The default action is to keep your current version.

我做了一些更改来处理脚本中的此提示,并想测试一下。但是,在我手动解决此错误后,此错误不再出现。

无论如何我可以重现这个以便测试我的脚本?

相关内容