Cannot "sudo apt-get update" due to "Type 'ain' is not known.."

Asked by Chris Aslanoglou

Hello,

I've followed the steps mentioned here http://www.webupd8.org/2011/12/light-themes-evolved-ambiance-and.html to install Light Themes Evolved .

After "sudo add-apt-repository ppa:victored/light-themes-evolved", I did this "sudo apt-get update" and got this:
"E: Type 'ain' is not known on line 3 in source list /etc/apt/sources.list.d/victored-light-themes-evolved-oneiric.list
E: The list of sources could not be read."

What is wrong?
What should I do?

Thank you!

Question information

Language:
English Edit question
Status:
Answered
For:
Light Themes Evolved Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Chris Aslanoglou (chrisasl92) said :
#1

I edited the file and removed the "ain" line. Continued with the other two commands. Logged out and logged in and when choosing Ambiance as theme nothing really changes and also the two icons(controls of windows, "x" and "-" do not appear unless I hover the mouse pointer on them).

What went wrong?

Revision history for this message
Victor Martinez (victored) said :
#2

Hi Chris,

This is not a problem of the themes, but a bug in the application which adds the sources (APT).

Please run the following on a terminal:

gksudo gedit /etc/apt/sources.list.d/victored-light-themes-evolved-oneiric.list

... Now remove all the text from that file and paste this:

deb http://ppa.launchpad.net/victored/light-themes-evolved/ubuntu oneiric main
deb-src http://ppa.launchpad.net/victored/light-themes-evolved/ubuntu oneiric main

... Save the file and run:

sudo apt-get update
sudo apt-get dist-upgrade

(or, optionally, open the update manager, check for updates and install them)

You should notice that there's just a misspelled word: "ain" instead of "main". That's what's causing the problem.

Can you help with this problem?

Provide an answer of your own, or ask Chris Aslanoglou for more information if necessary.

To post a message you must log in.