Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I ran command from Noobslabs.com

deb-src http://ppa.launchpad.net/noobslab/themes/ubuntu precise main

but mistyped to

deb-src http://ppa.launchpad.net/noobslab/themes/ubuntu 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

1 Answer 1

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.