Synaptic error on opening
Ubuntu 16.04
After trying to chance the web sites in Repositories Software & Updates I did something
wrong and Synaptic opens but shows this error on opening clicking on Close and goes away.
E: Malformed entry 55 in list file /etc/apt/
E: The list of sources could not be read.
Go to the repository dialog to correct the problem.
E: _cache->open() failed, please report.
Can someone please help to correct this
Thank you
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Manfred Hampl
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
What is the output of:
cat -n /etc/apt/
Thanks
Revision history for this message
|
#2 |
Searching on the web fount this “sudo -H gedit /etc/apt/
Now I can get into Synaptic but Repositories Software & Updates are in a mess, just had a Software Update when running gave errors I stop to first fix Software & Updates.
Terminal output:
luis@luis-
5 # deb http://
15 ## your rights to use the software. Also, please note that software in
25 ## your rights to use the software. Also, please note that software in
35 ## newer versions of some applications which may provide useful features.
45 deb-src http://
50 # deb-src http://
51 deb http://
52 # deb-src http://
53 deb http://
54 deb-src http://
55 deb http://
luis@luis-
Revision history for this message
|
#3 |
For diagnostic purposes please open a terminal window and execute the commands
uname -a
lsb_release -crid
sudo apt-get update
and then copy/paste all output into this question document that we can check the results.
Revision history for this message
|
#4 |
Have notification of new Software Update.
luis@luis-
Linux luis-Ubuntu-16 4.4.0-130-generic #156-Ubuntu SMP Thu Jun 14 08:51:45 UTC 2018 i686 i686 i686 GNU/Linux
luis@luis-
Distributor ID: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial
luis@luis-
[sudo] password for luis:
Hit:1 http://
Get:2 http://
Hit:3 http://
Get:4 http://
Hit:5 http://
Hit:6 http://
Get:7 http://
Get:8 http://
Fetched 1,595 kB in 9s (174 kB/s)
Reading package lists... Done
luis@luis-
Revision history for this message
|
#5 |
Looks OK. Is synaptic happy now?
Revision history for this message
|
#6 |
Synaptic is working but still problems.
Repositories Software & Updates Other Software some of entries are missing don’t know if
is going to cause problems.
Please advise
Thank your
Revision history for this message
|
#7 |
"Synaptic is working but still problems"
Please provide details about the problems that you see in synaptic.
Revision history for this message
|
#8 |
One problem is in Repositories Software & Updates Other Software there are only two entries
http://
http://
I am sure there was about 6 entries before.
The other problems are about my question 672550 that is for later.
Revision history for this message
|
#9 |
What is the full output of the commands
cat -n /etc/apt/
grep deb /etc/apt/
Revision history for this message
|
#10 |
luis@luis-
1 # deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release i386 (20160420.1)]/ xenial 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, 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-src http://
39
40 ## Uncomment the following two lines to add software from Canonical's
41 ## 'partner' repository.
42 ## This software is not part of Ubuntu, but is offered by Canonical and the
43 ## respective vendors as a service to Ubuntu users.
44 deb http://
45 deb-src http://
46
47 deb http://
48 # deb-src http://
49 deb http://
50 # deb-src http://
51 deb http://
52 # deb-src http://
53 deb http://
54 deb-src http://
55 deb http://
56 deb http://
57 deb http://
luis@luis-
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
luis@luis-
Revision history for this message
|
#11 |
There is a weird mixture of different repository servers in your package management configuration.
http://
http://
http://
http://
You should make up your mind which repository server you want to use:
* archive.ubuntu.com (the central server, not recommended to avoid overload)
* za.archive.
* mirror.wiru.co.za (local server in South Africa, seems a good choice if you are near, see https:/
* ubuntu.saix.net (I cannot judge, because information is missing on https:/
You should rework your sources.list configuration file and select ONE repository server for all main references.
Note, that for xenial-security it is ok to use http://
and for xenial partner it has to be http://
Revision history for this message
|
#12 |
Thanks Manfred Hampl, that solved my question.