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

I keep getting this error for sudo apt-get install and sudo apt-get clean.

  • That's only a Notice, not an Error. Are you having an actual issue updating or installing software? – steeldriver Apr 7 '17 at 19:56
  • Yep! I have lots of trouble updating – Akhil Kathi Apr 7 '17 at 19:59
  • Please edit your question to include the specifics – steeldriver Apr 7 '17 at 20:00
  • Like ? What do you want me to include?I did tell on what commands I get the error – Akhil Kathi Apr 7 '17 at 20:07
  • 1
    You have been told that what you have provided is not an error (that said, if you want to get rid of it, just delete the offending file). Do you have any actual problem like a package not installing correctly? – fkraiem Apr 7 '17 at 20:19

That is not an error. To resolve this issue, simply open up a terminal window and enter the following command:

rm /etc/apt/apt.conf.d/20auto-upgrades.ucf-old

| improve this answer | |
  • I tried that but it isn't working – Akhil Kathi Apr 7 '17 at 20:49
  • What does it say when you try that? Try this: cd /etc/apt/apt.conf.d/ then this: sudo rm 20auto-upgrades.ucf-old – Ken Apr 7 '17 at 22:05
  • rm: cannot remove '/etc/apt/apt.conf.d/20auto-upgrades.ucf-old': No such file or directory – Akhil Kathi Apr 11 '17 at 16:34
  • that's the error I get – Akhil Kathi Apr 11 '17 at 16:35
  • Run the command /etc/apt/apt.conf.d/ in terminal and show me the output. – Ken Apr 11 '17 at 17:56

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.