How to correct Invalid File Extension

Asked by Navin Talati

Friends,
While I am updating and upgrading my system, in the end of the Terminal window, message comes like as under:-----

N: Ignoring file 'getdeb.list.bck' in directory '/etc/apt/sources.list.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

N: Ignoring file 'getdeb.list.bck' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension

I referred the directory and found as under:-----

 There exist a file name: “getdeb.list.bck”
_____________________________
Now my question is :
 “What should be the actual filename extension?”
and
 “How to make/acquire it?”

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
mycae
Solved:
Last query:
Last reply:
Revision history for this message
Best mycae (mycae) said :
#1

It sounds like a backup file. you can probably safely delete it, or move it somewhere else, so you don't get this error message.

The following terminal command should move this into your home directory, and will prevent the warnings from occuring

sudo mv /etc/apt/sources.list.d/getdeb.list.bck ~/getdeb.list.bck

Revision history for this message
Navin Talati (n-m-talati) said :
#2

Sir,
As per your guidance and command implementation I moved the file in /home. It seems just now that the warning is not appearing.
It seems the problem is solved.
Thanks.

Revision history for this message
Navin Talati (n-m-talati) said :
#3

Thanks mycae, that solved my question.