Results 1 to 5 of 5

Thread: After adding a repository I see this problem

  1. #1
    Join Date
    Jul 2011
    Location
    now Iran
    Beans
    98
    Distro
    Ubuntu 12.10 Quantal Quetzal

    After adding a repository I see this problem

    I want to upgrade to gnome 3.6 so I add a repository and try it but when I want to use
    Code:
    sudo apt-get update
    I receive this error

    Code:
    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 ?

  2. #2
    Join Date
    Dec 2007
    Location
    California
    Beans
    4,899
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: After adding a repository I see this problem

    sounds like the line is malformed, what does it say?

    Code:
    cat /etc/apt/sources.list.d/gnome3-team-gnome3-precise.list
    "You can't expect to hold supreme executive power just because some watery tart lobbed a sword at you"

    "Don't let your mind wander -- it's too little to be let out alone."

  3. #3
    Join Date
    Jul 2011
    Location
    now Iran
    Beans
    98
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: After adding a repository I see this problem

    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.list
    and then run

    sudo apt-get update
    thank you jerome1232. Is it possible to explain what "cat" do ?
    Last edited by sinaphysics; December 15th, 2012 at 11:03 AM.

  4. #4
    Join Date
    Sep 2012
    Location
    Gnome12o4/LXDE14o4
    Beans
    Hidden!

    Re: After adding a repository I see this problem


  5. #5
    Join Date
    Dec 2007
    Location
    California
    Beans
    4,899
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: After adding a repository I see this problem

    Quote Originally Posted by sinaphysics View Post
    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. 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.
    "You can't expect to hold supreme executive power just because some watery tart lobbed a sword at you"

    "Don't let your mind wander -- it's too little to be let out alone."

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •