Announcement

Collapse
No announcement yet.

E: Malformed line 57 in source list /etc/apt/sources.list [absolute dist] E: The list

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    E: Malformed line 57 in source list /etc/apt/sources.list [absolute dist] E: The list

    E: Malformed line 57 in source list /etc/apt/sources.list (absolute dist)
    E: The list of sources could not be read.

    First Google started to work poorly, very slow to move from link to link. Next, Netflix just stopped working.

    When I enter: sudo apt-get update, I get the above error entry.

    I am very confused about what is going on and need help, but I really do not know what question to ask. Can anyone help me from what I have written in this post?

    Has Google search become very slow for everyone? Thanks!

    #2
    Originally posted by Shabakthanai View Post
    E: Malformed line 57 in source list /etc/apt/sources.list (absolute dist)
    E: The list of sources could not be read.
    This error means that you have a malformed repository line (line number 57 doesn't follow syntax correctly) in your sources.list file.

    Post the output of:
    Code:
    sed -n 57p /etc/apt/sources.list
    So we can get a look of what line 57 looks like

    Comment


      #3
      steven@steven-Yeshuah:~$ sed -n 57p /etc/apt/sources.list
      deb http://www.bunkus.org/debian/wheezy/ ./ http://www.bunkus.org/debian/wheezy/ deb-src ./
      steven@steven-Yeshuah:~$



      Originally posted by kubicle View Post
      This error means that you have a malformed repository line (line number 57 doesn't follow syntax correctly) in your sources.list file.

      Post the output of:
      Code:
      sed -n 57p /etc/apt/sources.list
      So we can get a look of what line 57 looks like

      Comment


        #4
        Look like you're missing a carriage return there and some stuff is out of place. I think it should look like:

        Code:
        [COLOR=#333333]deb [/COLOR][URL]http://www.bunkus.org/debian/wheezy/[/URL][COLOR=#333333] ./ 
        [/COLOR]deb-src [URL]http://www.bunkus.org/debian/wheezy/[/URL][COLOR=#333333] ./[/COLOR]

        Please Read Me

        Comment


          #5
          When I look at line #57, in the center of the line, the code reads “ ./ ./ deb-src.....” That doesn't look right. At the end of the same line, the line ends “ without './' which appears in other similar written lines.

          Are these malformations that are talked about?

          Here is the area in question in kate: (I added the line numbers to help out, hopefully.)

          57 deb http://www.bunkus.org/debian/wheezy/ ./ ,/ deb-src http://www.bunkus.org/debian /wheezy/
          58 deb-src http://www.bunkus.org/debian/wheezy/ ./ deb-src http://www.bunkus.org/debian/wheezy/ ./
          59 # deb-src http://www.bunkus.org/debian/wheezy/ ./
          60 # deb-src http://www.bunkus.org/debian/wheezy/ ./

          The following occured when I attempted to open a package manager:

          An error occurred

          The following details are provided:

          E: Malformed line 57 in source list /etc/apt/sources.list (absolute dist)
          E: The list of sources could not be read.
          Go to the repository dialog to correct the problem.
          E: _cache->open() failed, please report.

          Is this helpful?
          Last edited by Shabakthanai; Jan 29, 2015, 03:40 PM. Reason: additional necessary data to include

          Comment


            #6
            Make lines 57 and 58 look like this:
            Code:
            deb [URL]http://www.bunkus.org/debian/wheezy/[/URL] ./
            deb-src [URL]http://www.bunkus.org/debian/wheezy/[/URL] ./
            as oshunluvr stated.
            Using Kubuntu Linux since March 23, 2007
            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

            Comment


              #7
              Thanks, I can use my package manager again.

              Originally posted by Snowhog View Post
              Make lines 57 and 58 look like this:
              Code:
              deb [URL]http://www.bunkus.org/debian/wheezy/[/URL] ./
              deb-src [URL]http://www.bunkus.org/debian/wheezy/[/URL] ./
              as oshunluvr stated.

              Comment

              Working...
              X