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.

    • Filnor Filnor

      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.

  4. Russel Russel

    This is the perfect web site for everyone who wants to
    find out about this topic. You realize so much its almost tough to argue with you
    (not that I actually would want to…HaHa).

    You definitely put a brand new spin on a topic which has been discussed for a long time.

    Great stuff, just excellent!

Comments are closed, but trackbacks and pingbacks are open.