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

I ran command from

deb-src precise main

but mistyped to

deb-src precise main ain

now this wrong command is preventing other apps to work properly and any app i use crashes after sometime.

Problem shown is:

An unresolvable problem occurred while initializing the package information.

Please report this bug against the 'update-manager' package and 
include the following error message:
    'E:Type 'ain' is not known on line 3 in source list

How do I fix this?

share|improve this question
up vote 2 down vote accepted

This should fix it:

sudo sed -i 's/ ain//' /etc/apt/sources.list.d/noobslab-themes-precise.list

Otherwise, run sudoedit /etc/apt/sources.list.d/noobslab-themes-precise.list and fix the line manually.

share|improve this answer
1st command is not working I also tried 2nd command but I don't know how to save command after editing command line.? – Manik Rastogi Nov 15 '12 at 1:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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