You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Ubuntu版本升级后,除.dpkg-dist和.ucf-dist外需手动更新/合并的维护者版本文件咨询

Ubuntu版本升级后,除.dpkg-dist和.ucf-dist外需手动更新/合并的维护者版本文件咨询

前阵子我给Ubuntu Server 20.04 LTS做了版本升级,升到了22.04 LTS。

升级安装过程中,系统多次弹出关于配置文件的询问,比如下面这样:

Configuration file '/etc/foo/bar.list'
==> 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.
*** defaults.list (Y/I/N/O/D/Z) [default=N] ?

为了确保系统兼容性,我每次都选择了N,也就是保留自己修改过的当前版本文件。

不过我注意到,在选择N保留原有文件之后,Ubuntu的升级程序还会把维护者提供的新版本文件以不同的扩展名存放在同一个目录下……

备注:内容来源于stack exchange,提问作者DanRan

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.15 14:03:08