ubuntu software manager not opening
hi all
I can open software manager or synaptic
I get this error
E: Type '<!DOCTYPE' is not known on line 1 in source list /etc/apt/
E: The list of sources could not be read.
Go to the repository dialogue to correct the problem.
E: _cache->open() failed, please report.
running 15.10
any help much appreciated
Neil
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Mark Rijckenberg
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Please send us the full Terminal output of this command:
find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;
Revision history for this message
|
#2 |
/etc/apt/
1 deb http://
/etc/apt/
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://
2 <html xmlns="http://
3 <head><script type="text/
4 <meta http-equiv=
5 <meta name="viewport" content=
6 <style type="text/css">
7 *{margin:0; padding:0}
8 a{text-
9 a:hover{
10 .clearfix:
11 * html .clearfix{zoom:1}
12 *:first-child+html .clearfix{zoom:1}
13
14 body{font-
15 /*.arrows{
16 #main-wrap{
17
18 .container{
19 .header{
20 /*commented for new design */
21 /*.leftblk{
22 .leftblk img{float: left; margin-top: 23px; padding-right: 15px;}*/
23 /*.domain_
24 .searchbox{
25
26 .content{
27
28 /**RESPOSIVE CHANGES MADE HERE**/
29 .domain_
30 .leftblk {float: left;width: 39%;word-wrap: break-word;
31 .frt_arr{
32 .lst_arr{
33 .kwd_bloack{
34 /**RESPOSIVE CHANGES END HERE**/
35
36 .bottom_
37 .bottom_
38 #bot_rs{
39 .separator{
40
41 .footer-nav{width: 100%; height:74px; text-align:center; color:#c0c0c0;}
42 .footer-nav a{font-size:12px; line-height:74px; color:#c0c0c0; padding: 0 5px; text-decoration
43 .footer-nav a:hover{
44
45 .inquire {text-align:right; padding-top:10px; color:#fff}
46 .inquire a {font-size:12px; font-weight:normal; color:#fff}
47
48 .sale-msg {background:#fff; color:#4b4b4b; text-align:center; font-size:14px; width:100%; top:0; left:0}
49 .sale-msg a {text-decoration: none; color:#079ce9; font-size:14px; }
50 .sale-msg a:hover, .bottom_rs ul li a:hover, .mid_rs ul li a:hover, .inquire a:hover{
51
52 @media not all and (min-width: 970px){
53 .container{width: 95%}
54 .bottom_bg{display: none}
55 .footer-nav a{line-height: 45px}
56 }
57 @media not all and (min-width: 840px){
58 .frt_arr{display: none}
59 .lst_arr{display: none}
60 .kwd_bloack {float: none; width: 95%; margin: 0 auto; padding-top: 10px}
61 .leftblk {float: none; height: 50px; background-size: 35px; padding-left: 50px;width: auto}
62 .domain_name {line-height: normal; font-size: 20px; margin-top: 0;padding-top: 15px}
63 .searchbox {float: none; margin-top: 10px;padding-top: 0; width: auto;}
64 }
65 </style>
66 <script type="text/
67 <body onload="" onunload="" onBeforeUnload="">
68 <noscript><meta http-equiv=
69 function __gpup(url, height, width, name) { sw=window.
70 </script>
71 <script text="text/
72
73 var design = {
74 'pageOptions':{
75 'pubId' : '',
76 'resultsPageBas
77 'fontFamily' : 'arial',
78 'hl' : 'en',
79 'maxTermLength' : 29,
80 'adtest' : 'on',
81 'clicktrackUrl' : '',
82 'fontFamilyAttr
83 'type' : 'pageoptions',
84 'pageLoadedCall
85 document.
86 if (!requestAccepted) {
87 }
88 }
89 },
90 'searchboxBlock':{
91 'container' : 'searchbox',
92 'type' : 'searchbox',
93 'fontSizeSearch
94 'fontSizeSearch
95 'widthSearchInput' : 215,
96 'colorSearchButton' : '#e2e2e2',
97 'hideSearchInpu
98 'hideSearchButt
99 },
100
101 'mainrs':{
102 'container' : 'main_rs',
103 'type' : 'relatedsearch',
104 'colorBackground' : 'transparent',
105 'number' : 6,
106 'fontSizeTitle' : 19,
107 'titleBold': true,
108 'colorTitleLink' : '#079ce9',
109 'noTitleUnderline' : false,
110 'lineHeightTitle' : 30,
111 'fontFamily': 'arial',
112 'horizontalAlig
113 'fontSizeAttrib
114 'colorAttribution' : '#ababab',
115 'attributionBold' : true,
116 'attributionUpp
117 'attributionSpa
118 'rolloverLinkUn
119 'rolloverLinkColor' : '#00c800',
120 'colorAdSeparat
121 }
122
123
124
125 };
126 </script>
127 <div id="main-wrap" class="clearfix">
128 <div class="container clearfix">
129 <div class="header clearfix">
130 <div class="leftblk">
131 <!-- <img src="http://
132 <h3 class="
133 </div>
134 <div class="searchbox clearfix" id="searchbox"
135 </div>
136 <div class="content clearfix">
137 <div class="arrows frt_arr"></div>
138 <div class="kwd_bloack clearfix" id="main_rs"></div>
139 <div class="arrows lst_arr"></div>
140 </div>
141 </div>
142 <div class="bottom_bg clearfix">
143 <div class="bottom_rs clearfix">
144 <!--<span class="
145
146 </div>
147 </div>
148 <div class="footer-nav">
149 <a href="#" onclick="return __gpup('http://
150 </div>
151 <script type="text/
152 window.
153 var _cflp = true;
154 var pgld = true;
155 var totRS = -1;
156 var cntRS = 0;
157 var _cfstc = false;
158 var _cfblocker = true;
159 var _cfrg =true;
160 var _cfHelp = _cfHelp || {};
161 _cfHelp.design = design || {};
162 _cfHelp.servVars= {"webadfl"
163 _cfHelp.newOpts = {
164 "pageoptions": {"kw":"
165 "relatedsearch" :{ "adLoadedCallback": function (cnm, ld) {if(pgld && !ld && _cfrg && !_cfstc && _cflp){
166 "textads" : {"adLoadedCallb
167 "imagead" : {"adLoadedCallb
168 "ads" : { "adLoadedCallback": function (cnm, ld) {}}
169 };
170
171 _cfHelp.
172 </script>
173 <script type="text/
174 </html>
/etc/apt/
1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
2 # You may comment out this entry, but any other modifications may be lost.
3 deb http://
/etc/apt/
1 # deb cdrom:[Ubuntu 15.10 _Wily Werewolf_ - Release amd64 (20151021)]/ wily main restricted
2
3 # See http://
4 # newer versions of the distribution.
5 deb http://
6 deb-src http://
7
8 ## Major bug fix updates produced after the final release of the
9 ## distribution.
10 deb http://
11 deb-src http://
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://
17 deb-src http://
18 deb http://
19 deb-src http://
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://
27 deb-src http://
28 deb http://
29 deb-src http://
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://
37 deb-src http://
38
39 deb http://
40 deb-src http://
41 deb http://
42 deb-src http://
43 deb http://
44 deb-src http://
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://
51 # deb-src http://
52 deb http://
53 # deb-src http://
Revision history for this message
|
#3 |
It is clear from your Terminal output that you have a completely invalid medibuntu.list file.
Please run this Terminal command to delete it:
sudo rm /etc/apt/
If you compare the medibuntu.list file to the other sources.list files above, you will see that the medibuntu file does not contain the same structure.
Revision history for this message
|
#4 |
thank you working well now.
glad you understood all of that lol
Neil
Revision history for this message
|
#5 |
Thanks Mark Rijckenberg, that solved my question.
Revision history for this message
|
#6 |
Sorry opening an old thread.
I am using Lubuntu and getting same error after i tried to add medibunut.
i tried the solution above but I couldn't remove the medibuntu as it tells me no such file or directory
This is my output of the command above.
/etc/apt/
1 # deb cdrom:[Lubuntu 16.04 LTS _Xenial Xerus_ - Release i386 (20160420.1)]/ xenial main multiverse restricted universe
2
3 # See http://
4 # newer versions of the distribution.
5 deb http://
6 # deb-src http://
7
8 ## Major bug fix updates produced after the final release of the
9 ## distribution.
10 deb http://
11 # deb-src http://
12
13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
14 ## team, and may not be under a free licence. Please satisfy yourself as to
15 ## your rights to use the software. Also, please note that software in
16 ## universe WILL NOT receive any review or updates from the Ubuntu security
17 ## team.
18 deb http://
19 # deb-src http://
20 deb http://
21 # deb-src http://
22
23 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
24 ## team, and may not be under a free licence. Please satisfy yourself as to
25 ## your rights to use the software. Also, please note that software in
26 ## multiverse WILL NOT receive any review or updates from the Ubuntu
27 ## security team.
28 deb http://
29 # deb-src http://
30 deb http://
31 # deb-src http://
32
33 ## N.B. software from this repository may not have been tested as
34 ## extensively as that contained in the main release, although it includes
35 ## newer versions of some applications which may provide useful features.
36 ## Also, please note that software in backports WILL NOT receive any review
37 ## or updates from the Ubuntu security team.
38 deb http://
39 # deb-src http://
40
41 ## Uncomment the following two lines to add software from Canonical's
42 ## 'partner' repository.
43 ## This software is not part of Ubuntu, but is offered by Canonical and the
44 ## respective vendors as a service to Ubuntu users.
45 deb http://
46 deb-src http://
47
48 deb http://
49 # deb-src http://
50 deb http://
51 # deb-src http://
52 deb http://
53 # deb-src http://
/etc/apt/
1 deb http://
2 # deb-src http://
3 # deb-src http://
ANy help would be appreciated.
Thanks
Revision history for this message
|
#7 |
@bhuvan (docbhuvan) : why are you trying to "open" an old thread? This thread is solved, closed and buried....
Please open your own question here:
Revision history for this message
|
#8 |
@ Mark Rijckenberg.
Thanks for your prompt reply.
the reason to open this thread is because i have the same error and issue as the above problem.
I tried the solution which was given above but it didnt solve my problem.
Hence thought i would post in the same thread and hopefully some kind soul like yourself might be able to help.
Please if you do not mind then this might be easier than creating a new thread again and again.
Thanking you
Regards