Skip to content

How to fix “unattended-upgrades has an invalid filename extension”

When you update your distribution or simply update packages, you may get a warning like this:

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

If you are sure you don’t need it anymore, you can remove with this command:

sudo rm /etc/apt/apt.conf.d/50unattended-upgrades.ucf-dist



  1. Gaston Gaston

    I was very pleased to discover this web site.

    I wanted to thank you for ones time for this
    fantastic read!! I definitely savored every bit of it and i also have you
    book-marked to check out new stuff in your blog.

  2. John Darer John Darer

    I dο not know whether it’s just me or if perhaps everybody else encountering issues with your website.
    It appears as if some of the text on your content are running off the screen. Cаn someone else please provide feedback and let me
    know if this is happening to them аs well?

    Tһis could be a issue with my internet browser because I’ve had this happen before.

    • Hi, I think it’s an issue with your browser because I can’t reproduce the errors you mentioned.

  3. dalepocock dalepocock

    I think the admin of this website is truly working hard for his site, as here every data is quality based stuff.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.