While debugging some errors, I accidentally deleted sources.list.d and sources.list at "/etc/apt". Now, I cannot install or do anything just because those files do not exist.
How can I get those files back? Is there any way to recover them?
I have a copy of the context of the sources.list.
I would greatly appreciate your help.
/etc/apt/sources.list.d/
directory is empty, so restoration of that to default will be an empty directory. Only you can know what you added, and so its contents need to come from your backups. – guiverc May 07 '21 at 08:00