Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
How do I remove a malformed line from my sources.list?

I recently updated to xubuntu 12.10 from an older suite. I followed instructions I found in other postings.

cat -n /etc/apt/sources.list | grep 62
62  deb main

Then edited the file:

sudo gedit /etc/apt/source.list

The source list opened and the document was blank. I'm wondering how I got here and if there is anything to do besides load a new source list. Any help is appreciated. Please keep in mind that I'm very new to Ubuntu.

share|improve this question

marked as duplicate by fossfreedom Jan 20 '13 at 21:47

This question was marked as an exact duplicate of an existing question.

$ cat -n /etc/apt/sources.list

$ sudo gedit /etc/apt/source.list

These are two different files. You probably meant to edit /etc/apt/sources.list in the second line.

If you managed to open that file, then you should fix that offending line for this PPA, as it's missing a distribution channel, e.g. quantal and xubuntu doesn't exist there:

deb quantal main

That should fix it!

share|improve this answer

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