apt update gives me this error:

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

What should I do?


Actually this is only a warning about a file that has been renamed:

  • you should either delete (move, backup) if you do not want its contents to be interpreted by apt or
  • rename it (without .ucf-dist in the filename) so that its contents is interpreted by apt.
  • there was also a file called 20auto-upgrades at the same location, so that I have deleted 20auto-upgrades.ucf-dist, and the warning ceased to appear.
    – user170
    Feb 2 '17 at 16:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy