PDA

View Full Version : After adding a repository I see this problem



sinaphysics
December 15th, 2012, 10:54 AM
I want to upgrade to gnome 3.6 so I add a repository and try it but when I want to use
sudo apt-get update

I receive this error


E: Type 'ain' is not known on line 1 in source list /etc/apt/sources.list.d/gnome3-team-gnome3-precise.list
E: The list of sources could not be read.


How can I fix this problem ?

jerome1232
December 15th, 2012, 10:56 AM
sounds like the line is malformed, what does it say?


cat /etc/apt/sources.list.d/gnome3-team-gnome3-precise.list

sinaphysics
December 15th, 2012, 10:59 AM
I fix it myself. I'm using for 2 year Ubuntu but always I feel amateur in ubuntu but I fix it. Maybe it's too easy.

Sudo rm /etc/apt/sources.list.d/gnome3-team-gnome3-precise.listand then run


sudo apt-get update

thank you jerome1232 (http://ubuntuforums.org/member.php?u=453029). Is it possible to explain what "cat" do ?

ibjsb4
December 15th, 2012, 02:05 PM
Kittie command

http://www.googlubuntu.com/results/?cx=006238239194895611142%3Au-ocqbntw_o&cof=FORID%3A9&ie=UTF-8&q=cat&as_qdr=all&sa=Google+Search&lang=en

jerome1232
December 15th, 2012, 09:11 PM
I fix it myself. I'm using for 2 year Ubuntu but always I feel amateur in ubuntu but I fix it. Maybe it's too easy.
and then run



thank you jerome1232 (http://ubuntuforums.org/member.php?u=453029). Is it possible to explain what "cat" do ?

it's a command used to concatenate files, meaning join them together, however it's also frequently used to simply read a files contents to standard output (your terminal).

That's all my command was doing, was reading the contents of the troublesome repository file and displaying them in your terminal.