Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: sources.list error

  1. #1
    Join Date
    Nov 2012
    Beans
    13

    Exclamation sources.list error

    I can't sudo apt-get update or install anymore because of this error:

    Code:
    E: Malformed line 51 in source list /etc/apt/sources.list (dist parse)
    E: The list of sources could not be read.
    Help would be much appreciated on how to fix, thank you.

  2. #2
    Join Date
    Sep 2012
    Location
    Gnome12o4/LXQt14o4
    Beans
    Hidden!

    Re: sources.list error

    Hi pokemondawg2, welcome to the forum

    Open a terminal and enter:

    cat -n /etc/apt/sources.list

    and please post

  3. #3
    Join Date
    Nov 2012
    Beans
    13

    Post Re: sources.list error

    Got this:

    Code:
     1
         2  # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
         3  # newer versions of the distribution.
         4  deb http://us.archive.ubuntu.com/ubuntu/ quantal main restricted
         5  deb-src http://us.archive.ubuntu.com/ubuntu/ quantal restricted main multiverse universe #Added by software-properties
         6
         7  ## Major bug fix updates produced after the final release of the
         8  ## distribution.
         9  deb http://us.archive.ubuntu.com/ubuntu/ quantal-updates main restricted
        10  deb-src http://us.archive.ubuntu.com/ubuntu/ quantal-updates restricted main multiverse universe #Added by software-properties
        11
        12  ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
        13  ## team. Also, please note that software in universe WILL NOT receive any
        14  ## review or updates from the Ubuntu security team.
        15  deb http://us.archive.ubuntu.com/ubuntu/ quantal universe
        16  deb http://us.archive.ubuntu.com/ubuntu/ quantal-updates universe
        17
        18  ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
        19  ## team, and may not be under a free licence. Please satisfy yourself as to 
        20  ## your rights to use the software. Also, please note that software in 
        21  ## multiverse WILL NOT receive any review or updates from the Ubuntu
        22  ## security team.
        23  deb http://us.archive.ubuntu.com/ubuntu/ quantal multiverse
        24  deb http://us.archive.ubuntu.com/ubuntu/ quantal-updates multiverse
        25
        26  ## N.B. software from this repository may not have been tested as
        27  ## extensively as that contained in the main release, although it includes
        28  ## newer versions of some applications which may provide useful features.
        29  ## Also, please note that software in backports WILL NOT receive any review
        30  ## or updates from the Ubuntu security team.
        31  deb http://us.archive.ubuntu.com/ubuntu/ quantal-backports main restricted universe multiverse
        32  deb-src http://us.archive.ubuntu.com/ubuntu/ quantal-backports main restricted universe multiverse #Added by software-properties
        33
        34  deb http://security.ubuntu.com/ubuntu quantal-security main restricted
        35  deb-src http://security.ubuntu.com/ubuntu quantal-security restricted main multiverse universe #Added by software-properties
        36  deb http://security.ubuntu.com/ubuntu quantal-security universe
        37  deb http://security.ubuntu.com/ubuntu quantal-security multiverse
        38
        39  ## Uncomment the following two lines to add software from Canonical's
        40  ## 'partner' repository.
        41  ## This software is not part of Ubuntu, but is offered by Canonical and the
        42  ## respective vendors as a service to Ubuntu users.
        43  deb http://archive.canonical.com/ubuntu quantal partner
        44  deb-src http://archive.canonical.com/ubuntu quantal partner
        45
        46  ## This software is not part of Ubuntu, but is offered by third-party
        47  ## developers who want to ship their latest software.
        48  deb http://extras.ubuntu.com/ubuntu quantal main
        49  deb http://us.archive.ubuntu.com/ubuntu/ quantal-proposed restricted main multiverse universe
        50  deb-src http://us.archive.ubuntu.com/ubuntu/ quantal-proposed restricted main multiverse universe #Added by software-properties
        51  deb http://launchpad.net pithos
        52  deb-src http://launchpad.net pithos
        53  deb-src http://extras.ubuntu.com/ubuntu quantal main

  4. #4
    Join Date
    Nov 2012
    Beans
    13

    Unhappy Re: sources.list error

    I know I need to delete 51-52 but I'm not sure how...

  5. #5
    Join Date
    Oct 2012
    Beans
    874

    Re: sources.list error

    Quote Originally Posted by pokemondawg2 View Post
    I know I need to delete 51-52 but I'm not sure how...
    In the terminal type
    Code:
    gksudo gedit /etc/apt/sources.list
    Delete the offending lines and save, close the editor.

    Then in the terminal again

    Code:
    sudo apt-get update
    Edited: Opps, you are using kubuntu so the editor is not gedit, I think it is kate but not sure, so replace gedit with kate in the above and see if it works.
    Last edited by monkeybrain2012; November 25th, 2012 at 08:59 PM.

  6. #6
    Join Date
    Nov 2012
    Beans
    13

    Red face Re: sources.list error

    Error:

    Code:
    Failed to run gedit '/etc/apt/sources.list' as user root.
    
    Unable to copy the user's Xauthorization file.

  7. #7
    Join Date
    Sep 2012
    Location
    Gnome12o4/LXQt14o4
    Beans
    Hidden!

    Re: sources.list error

    If your not using that PPA, yes then delete or just comment (#) out.

    If you are using that ppa then change those lines to read

    deb http://ppa.launchpad.net/kevin-mehal...s-daily/ubuntu quantal main
    deb-src http://ppa.launchpad.net/kevin-mehal...s-daily/ubuntu quantal main

    https://launchpad.net/~kevin-mehall/...e/pithos-daily

  8. #8
    Join Date
    Nov 2010
    Location
    Spain
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: sources.list error

    Hi. Pandora player?, I found this page in which it is correctly written the ppa:

    https://launchpad.net/~kevin-mehall/...e/pithos-daily

    click on technical details about this ppa, and correct the lines, (if this is what you were looking for).

    Good luck!!
    One vision, one purpose.

  9. #9
    Join Date
    May 2009
    Location
    Indiana
    Beans
    1,784
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: sources.list error

    Follow monkeybrain's advice.

    As an aside, it looks like you tried to add a PPA for pithos. You can add the developer's PPA as follows:

    Code:
    sudo add-apt-repository ppa:kevin-mehall/pithos-daily
    Edit: sorry, didn't mean to duplicate.
    Jane, stop this crazy thing!

  10. #10
    Join Date
    Nov 2010
    Location
    Spain
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: sources.list error

    I would use nano to edit sources.list. It is very simple and it should not return any errors.
    In the console type:

    sudo nano /etc/apt/sources.list
    One vision, one purpose.

Page 1 of 3 123 LastLast

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
  •