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 fix this “E:Type ‘*’ is not known on line * in source list …” update error?

I tried to remove webapps and after that I restarted the computer. Now I can't launch Software Center or get any type of updates. This error appears:

E:Type 'ain' is not known on line 3 in source list /etc/apt/sources.list.d/webapps-preview-precise.list

What should I do?

share|improve this question

marked as duplicate by jokerdino, Uri Herrera, stephenmyall, ajmitch, Mik Nov 1 '12 at 15:54

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

Open the terminal (Ctrl + Alt + T) and enter this command: sudo rm -rf /var/lib/apt/lists && sudo mkdir /var/lib/apt/lists && sudo mkdir /var/lib/apt/lists/partial You should enter your User Password to get it work. – Lucio Nov 1 '12 at 0:17

softwarecenter.enums is a module the program tries to load.

check which file softwarecentre refers to

readlink -f softwarecentre

See if the module's file exists

ls -l /usr/share/software-center/softwarecenter/

if it does then obviously it isn't finding it.

See if softwarecentre will run from it's own directory

cd /usr/share/software-center/ ./software-center

share|improve this answer

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