[Solved] Can't Update - Terminal/Synaptic Says This:

E: Malformed line 53 in source list /etc/apt/sources.list (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.

Please spell out what I need to do?

So lets have a look at your sources

In terminal:

cat -n /etc/apt/sources.list

and please post.

@v3xx: Thanks for getting right back! Here we go:

rtlewis1@rtlewis1-OptiPlex-780:~$ cat -n /etc/apt/sources.list
1 # deb cdrom:[Ubuntu-MATE 15.10 Wily Werewolf - Release amd64 (20151021)]/ wily main multiverse restricted universe
2
3 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
4 # newer versions of the distribution.
5 deb http://us.archive.ubuntu.com/ubuntu/ wily main restricted
6 deb-src http://us.archive.ubuntu.com/ubuntu/ wily main restricted
7
8 ## Major bug fix updates produced after the final release of the
9 ## distribution.
10 deb http://us.archive.ubuntu.com/ubuntu/ wily-updates main restricted
11 deb-src http://us.archive.ubuntu.com/ubuntu/ wily-updates main restricted
12
13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
14 ## team. Also, please note that software in universe WILL NOT receive any
15 ## review or updates from the Ubuntu security team.
16 deb http://us.archive.ubuntu.com/ubuntu/ wily universe
17 deb-src http://us.archive.ubuntu.com/ubuntu/ wily universe
18 deb http://us.archive.ubuntu.com/ubuntu/ wily-updates universe
19 deb-src http://us.archive.ubuntu.com/ubuntu/ wily-updates universe
20
21 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
22 ## team, and may not be under a free licence. Please satisfy yourself as to
23 ## your rights to use the software. Also, please note that software in
24 ## multiverse WILL NOT receive any review or updates from the Ubuntu
25 ## security team.
26 deb http://us.archive.ubuntu.com/ubuntu/ wily multiverse
27 deb-src http://us.archive.ubuntu.com/ubuntu/ wily multiverse
28 deb http://us.archive.ubuntu.com/ubuntu/ wily-updates multiverse
29 deb-src http://us.archive.ubuntu.com/ubuntu/ wily-updates multiverse
30
31 ## N.B. software from this repository may not have been tested as
32 ## extensively as that contained in the main release, although it includes
33 ## newer versions of some applications which may provide useful features.
34 ## Also, please note that software in backports WILL NOT receive any review
35 ## or updates from the Ubuntu security team.
36 deb http://us.archive.ubuntu.com/ubuntu/ wily-backports main restricted universe multiverse
37 deb-src http://us.archive.ubuntu.com/ubuntu/ wily-backports main restricted universe multiverse
38
39 deb http://security.ubuntu.com/ubuntu wily-security main restricted
40 deb-src http://security.ubuntu.com/ubuntu wily-security main restricted
41 deb http://security.ubuntu.com/ubuntu wily-security universe
42 deb-src http://security.ubuntu.com/ubuntu wily-security universe
43 deb http://security.ubuntu.com/ubuntu wily-security multiverse
44 deb-src http://security.ubuntu.com/ubuntu wily-security multiverse
45
46 ## Uncomment the following two lines to add software from Canonical’s
47 ## ‘partner’ repository.
48 ## This software is not part of Ubuntu, but is offered by Canonical and the
49 ## respective vendors as a service to Ubuntu users.
50 deb http://archive.canonical.com/ubuntu wily partner
51 deb-src http://archive.canonical.com/ubuntu wily partner
52
53 deb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt
54 all main
55
56 deb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt
57 all main
58
59 deb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt
60 all main
rtlewis1@rtlewis1-OptiPlex-780:~$

remove lines 53 thru 60 and replace with:

deb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main

all on one line

1 Like

Ok, should be a easy fix. You need to comment out # lines 53 thru 57 to read:

52
53 #deb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt
54 #all main
55
56 #deb http://downloads.sourceforge.net/project/u buntuzilla/mozilla/apt
57 #all main
58

This will kill your error and also stop a duplicate sources error.

But first create a backup file.

sudo cp /etc/apt/sources.list /etc/apt/soruces.list.old

Now open it up with your editor.

gksudo pluma /etc/apt/sources.list

Then save and close and update

sudo apt-get update
1 Like

Yes, you got it right :slight_smile:

1 Like

@anon42388993 & @quonsar: Thanks for everything! As is usual with my MATE heroes, your guidance worked perfectly!