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
spadge@Jupiter:/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:
These are my own setting preferences, use at your own risk!.
AN IMPORTANT NOTE FOR LINUX BEGINNERS. WHEN YOU ARE IN RECOVERY MODE, THE KEYBOARD DEFAULTS TO US ENGLISH, IF YOU HAVE ANY OTHER LANGUAGE KEYBOARD OTHER THAN US ENGLISH, WHEN YOU TYPE "Y" (FOR "YES"), IT MIGHT SHOW UP AS A DIFFERENT LETTER, ON MY KEYBOARD I MUST PRESS THE "Z" KEY WHICH EQUATES TO "Y" AS I HAVE A GERMAN KEYBOARD, JUST PRESS "BACKSPACE" AND HIT A DIFFERENT KEY UNTIL YOU SEE THE "Y" SHOW UP!.
Click on "Subscribe…
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.
Did it help you solve your Problem?.
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.
I did some googling and found that the ucf-dist backup can be created against a range of core system updates that replace configs.