A while ago, I did a release upgrade from Ubuntu Server 20.04 LTS, to Ubuntu Server 22.04 LTS.
During the installation, when the upgrade prompted me with the following questions:
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] ?
I ALWAYS selected "N" to keep my current version of the modified file, to ensure compatibility.
It seems, that after keeping my current version with "N", the Ubunut upgrade also adds the package maintainers version with a different file extension in the same folder as the original (my version) file.
It seems like the NEW Ubuntu Package maintainers version of files are name with the file extensions .dpkg-dist
and .ucf-dist
.
Now, I would like to merge all of my old files into the new package maintainers version of files, so that I can once again do a distribution upgrade to Ubuntu 24.04 LTS without any compatibility issues.
To do this, I need three questions answered:
Are there any files I need to merge/upgrade/update that the Package maintainer saved on my server during upgrade other than "
.dpkg-dist
" and ".ucf-dist
" files?What exactly are
.ucf-dist
files, and what old configuration files to they correspond to? For example I know that/etc/systemd/resolved.conf.dpkg-dist
is the system maintainers version of/etc/systemd/resolved.conf
. But what does a.ucf-dist
file correspond to?Do you have any other tips or suggestions I should be aware of when merging old versions of my configuration files with the package maintainers versions? Any suggestions or tips for completing my release upgrade would be much appreciated!
Thanks