How to retrieve the missing file sources.list in Ubuntu 14.04?

I am getting error message as specified below in Ubuntu 14.04:

WARNING:root:could not open file '/etc/apt/sources.list'

I am not sure whether i deleted it or it got damaged because of installations.

When i try to list out the directory /etc/apt

I can still see sources.list.d and sources.list.save except sources.list which is missing.

So is it possible to retrieve sources.list from the available 2 files in the directory?


Source: ubuntu

Leave a Reply

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