Results 1 to 9 of 9

Thread: E:Malformed line 64 in source list /etc/apt/sources.list (dist parse)

  1. #1
    Join Date
    Oct 2011
    Beans
    12

    E:Malformed line 64 in source list /etc/apt/sources.list (dist parse)

    Hi there!

    Just came back to Linux (long story why I left) and I am running into some issues. I don't have much of a grasp on the terminal, or much of anything with what seems to be advanced computing, but I can follow specific directions fairly well.

    Using Gnome 3 desktop on Ubuntu 12.04

    Not sure exactly when my issue came about, but I think it may have been when I was trying to install Adobe Acrobat (for school stuff related to the long story as to why I was relegated to Win 7). I know for sure that I didn't get it installed and that I now cannot update or open Software center. I, of course, searched out information and saw that other users had the same issue with different lines in their source lists. But I couldn't get a handle on how to identify, fix, or remove the problem. I'm not a dolt, but I really do need simple directions with these things. Thank you in advance for any assistance.

    Here is the source list:

    Code:
    # deb cdrom:[Xubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120817.3)]/ dists/precise/main/binary-i386/
    
    # deb cdrom:[Xubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120817.3)]/ dists/precise/multiverse/binary-i386/
    # deb cdrom:[Xubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120817.3)]/ dists/precise/restricted/binary-i386/
    # deb cdrom:[Xubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120817.3)]/ dists/precise/universe/binary-i386/
    # deb cdrom:[Xubuntu 12.04.1 LTS _Precise Pangolin_ - Release amd64 (20120817.3)]/ precise main multiverse restricted universe
    
    # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    # newer versions of the distribution.
    deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted
    deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted
    
    ## Major bug fix updates produced after the final release of the
    ## distribution.
    deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted
    deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted
    
    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team. Also, please note that software in universe WILL NOT receive any
    ## review or updates from the Ubuntu security team.
    deb http://us.archive.ubuntu.com/ubuntu/ precise universe
    deb-src http://us.archive.ubuntu.com/ubuntu/ precise universe
    deb http://us.archive.ubuntu.com/ubuntu/ precise-updates universe
    deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates universe
    
    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
    ## team, and may not be under a free licence. Please satisfy yourself as to 
    ## your rights to use the software. Also, please note that software in 
    ## multiverse WILL NOT receive any review or updates from the Ubuntu
    ## security team.
    deb http://us.archive.ubuntu.com/ubuntu/ precise multiverse
    deb-src http://us.archive.ubuntu.com/ubuntu/ precise multiverse
    deb http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse
    deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse
    
    ## N.B. software from this repository may not have been tested as
    ## extensively as that contained in the main release, although it includes
    ## newer versions of some applications which may provide useful features.
    ## Also, please note that software in backports WILL NOT receive any review
    ## or updates from the Ubuntu security team.
    deb http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
    deb-src http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
    
    deb http://security.ubuntu.com/ubuntu precise-security main restricted
    deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
    deb http://security.ubuntu.com/ubuntu precise-security universe
    deb-src http://security.ubuntu.com/ubuntu precise-security universe
    deb http://security.ubuntu.com/ubuntu precise-security multiverse
    deb-src http://security.ubuntu.com/ubuntu precise-security multiverse
    
    ## Uncomment the following two lines to add software from Canonical's
    ## 'partner' repository.
    ## This software is not part of Ubuntu, but is offered by Canonical and the
    ## respective vendors as a service to Ubuntu users.
    # deb http://archive.canonical.com/ubuntu precise partner
    # deb-src http://archive.canonical.com/ubuntu precise partner
    
    ## This software is not part of Ubuntu, but is offered by third-party
    ## developers who want to ship their latest software.
    deb http://extras.ubuntu.com/ubuntu precise main
    deb-src http://extras.ubuntu.com/ubuntu precise main
    deb http://archive.canonical.com/ precise partner
    deb-src http://archive.canonical.com/ precise partner
    deb http://archive.canonical.com/precise partner
    deb-src http://archive.canonical.com/precise partner
    Last edited by QIII; March 19th, 2013 at 12:30 AM. Reason: Added code tags

  2. #2
    ibjsb4 is offline Ubuntu addict and loving it
    Join Date
    Sep 2012
    Beans
    4,987

    Re: E:Malformed line 64 in source list /etc/apt/sources.list (dist parse)

    edit
    Last edited by ibjsb4; March 19th, 2013 at 12:56 AM.

  3. #3
    Join Date
    Feb 2013
    Beans
    Hidden!

    Re: E:Malformed line 64 in source list /etc/apt/sources.list (dist parse)

    Quote Originally Posted by ibjsb4 View Post
    The last two lines
    deb http://archive.canonical.com/precise partner
    deb-src http://archive.canonical.com/precise partner

    Should read
    Code:
    deb http://archive.canonical.com/ precise partner 
    deb-src http://archive.canonical.com/ precise partner
    Note the space between the URL and precise.
    Last edited by schragge; March 19th, 2013 at 01:03 AM.

  4. #4
    Join Date
    Oct 2011
    Beans
    12

    Re: E:Malformed line 64 in source list /etc/apt/sources.list (dist parse)

    Perfect. You have magical powers. Now I will figure out how to make this read as "solved" which I am sure is easy to do.

    Thank you for your help. It is very much appreciated.

  5. #5
    Join Date
    Mar 2010
    Location
    India
    Beans
    8,116

    Re: E:Malformed line 64 in source list /etc/apt/sources.list (dist parse)

    Thread marked as [Solved] on OP's request.

    @ poignantprick,
    The regular 'Mark thread Solved' function is broken since forum upgrade. We hope to bring it back as soon as possible.
    Meanwhile, there is a workaround to do the same. Please follow the 'see how' link in my signature to see that.

    Thanks for your interest in marking threads Solved.
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags

  6. #6
    ibjsb4 is offline Ubuntu addict and loving it
    Join Date
    Sep 2012
    Beans
    4,987

    Re: E:Malformed line 64 in source list /etc/apt/sources.list (dist parse)


  7. #7
    Join Date
    Oct 2011
    Beans
    12

    Re: E:Malformed line 64 in source list /etc/apt/sources.list (dist parse)

    Yeah, made it through this problem to find another one lying in wait. Is there anything I can learn from those issues? Known causes? As I said, I was copy & pasting commands from a third party site trying to get Adobe Acrobat Reader for Firefox, that didn't work, then i went into trying to get themes. I hit a wall somewhere between not getting Adobe, screwing with themes, and posting this.

  8. #8
    ibjsb4 is offline Ubuntu addict and loving it
    Join Date
    Sep 2012
    Beans
    4,987

    Re: E:Malformed line 64 in source list /etc/apt/sources.list (dist parse)

    What caused it...Unk, a glitch in the system.

    Could it happen again...yes, but unlikely.

    Third party sites can cause you grief. Check to be sure what your downloading is up to date. When offered, go for .deb packages just cause that a ubuntu (debian) package. If you can, see what others have to say about the package.

    A good way to search the forums for info:

    http://www.googlubuntu.com/

  9. #9
    Join Date
    Mar 2010
    Location
    India
    Beans
    8,116

    Re: E:Malformed line 64 in source list /etc/apt/sources.list (dist parse)

    Quote Originally Posted by poignantprick View Post
    Is there anything I can learn from those issues? Known causes?
    Study the /etc/apt/sources.list file and files in /etc/sources.list.d/ directory. Note their format and syntax.

    Initially, that is all there is to learn.

    Known causes are almost always either a dead ppa, dead (too old) official repository, error in syntax/spelling while manually adding a ppa, or a temporary server issue.

    Before and while studying them, read and use as reference these guides :
    https://help.ubuntu.com/community/Repositories/Ubuntu
    https://help.ubuntu.com/community/Pa...otingProcedure

    Except in rare cases when an installation/upgrade is interrupted midway, the issues are minor and troubleshooting is very easy if you are familiar with the basic concept of repositories.

    Hope that helps, and glad to see you are interested in learning.
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags

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
  •