Extraneous files left in apt config directories

Bug #1644244 reported by KimbroVargas
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

N: Ignoring file '20auto-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
N: Ignoring file 'getdeb.list.bck' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: The package secondlife needs to be reinstalled, but I can't find an archive for it.
multiverse restricted main' #Added by software-properties
kimbro-vargas@kimbro-vargas-HP-Pavilion-dv5-Notebook-PC:~$ sudo dpkg --audit
The following packages are in a mess due to serious problems during
installation. They must be reinstalled for them (and any packages
that depend on them) to function properly:
 secondlife SecondLife client

how do I fix it

Tags: yakkety
Revision history for this message
KimbroVargas (wolfieredmoon) wrote :

need help

Changed in apt (Ubuntu):
status: New → Incomplete
status: Incomplete → In Progress
assignee: nobody → KimbroVargas (wolfieredmoon)
Revision history for this message
Paul White (paulw2u) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

Why did you not even tell us which version of Ubuntu you are using?

Please execute the following command only once, as it will automatically gather debugging information, in a terminal:

apport-collect 1644244

Please then change the bug status from "Incomplete" to "New" if that is not changed for you automatically.

When reporting bugs please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Also please don't assign bugs to yourself unless you are able to fix the issue that you are experiencing.

Changed in apt (Ubuntu):
assignee: KimbroVargas (wolfieredmoon) → nobody
status: In Progress → Incomplete
Revision history for this message
vvhk (vvhk-deactivatedaccount-deactivatedaccount) wrote :

Got this too whenever I use apt, on fresh new 16.10 installation:

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

This file seems to have been left over from I don't know which package ("dist" suggests a distribution template for the actual installed file):

/etc/apt/apt.conf.d/20auto-upgrades.ucf-dist

They're different tho':

$ cat 20auto-upgrades.ucf-dist
APT::Periodic::Update-Package-Lists "0";
APT::Periodic::Unattended-Upgrade "0";

$ cat 20auto-upgrades
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Download-Upgradeable-Packages "0";
APT::Periodic::AutocleanInterval "0";
APT::Periodic::Unattended-Upgrade "0";

Removing the -dist file stopped apt-get from complaining.

Changed in apt (Ubuntu):
status: Incomplete → Confirmed
Paul White (paulw2u)
tags: added: yakkety
summary: - error
+ Extraneous files left in apt config directories
Revision history for this message
Julian Andres Klode (juliank) wrote :

We now ignore .ucf-dist files. The ".bck" is your problem, that's not supported, and never will be (use .bak, .save, .orig instead).

apt-pkg/init.cc: Cnf.Set("Dir::Ignore-Files-Silently::", "~$");
apt-pkg/init.cc: Cnf.Set("Dir::Ignore-Files-Silently::", "\\.disabled$");
apt-pkg/init.cc: Cnf.Set("Dir::Ignore-Files-Silently::", "\\.bak$");
apt-pkg/init.cc: Cnf.Set("Dir::Ignore-Files-Silently::", "\\.dpkg-[a-z]+$");
apt-pkg/init.cc: Cnf.Set("Dir::Ignore-Files-Silently::", "\\.ucf-[a-z]+$");
apt-pkg/init.cc: Cnf.Set("Dir::Ignore-Files-Silently::", "\\.save$");
apt-pkg/init.cc: Cnf.Set("Dir::Ignore-Files-Silently::", "\\.orig$");
apt-pkg/init.cc: Cnf.Set("Dir::Ignore-Files-Silently::", "\\.distUpgrade$");

Changed in apt (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.