Apt update error message

Hi

I’ve noticed I’m now getting an error/notice message when I run apt update:

N: Ignoring file ‘20auto-upgrades.ucf-dist’ in directory ‘/etc/apt/apt.conf.d/’ as it has an invalid filename extension

[email protected]:/etc/apt/apt.conf.d$ diff 20auto-upgrades.ucf-dist 20auto-upgrades
1c1,3
< APT::Periodic::Update-Package-Lists "0";
---
> APT::Periodic::Update-Package-Lists "1";
> APT::Periodic::Download-Upgradeable-Packages "1";
> APT::Periodic::AutocleanInterval "0";

Can I assume it’s safe to remove the .ucf-dist versions of config files as they are all leftover backups from a system update?

Thanks

Hi,

take a look at the update guide and get back to us if you still have problems:

Not a bad guide, that.

Might I recommend an additional section on APT system upgrades that cause a backup config file to be created with a .ucf-dist extension that may be left behind after the upgrade?

See https://github.com/jnv/ansible-role-unattended-upgrades/issues/10 for more info.

1 Like

Hi @SFromley,

I will work on it for you. :thumbsup:

Did it help you solve your Problem?. :smiley:

Sorry, no. Not really. But then I’m used to a package manager that makes you pass manual edits to a makefile before compiling from source. :wink:

I did some googling and found that the ucf-dist backup can be created against a range of core system updates that replace configs.