E:Malformed line 59 in source list /etc/apt/sources.list (dist parse)
Issue - Update manager not functioning,does not read the complete packages,gets error -
Could not initialize the package information
An unresolvable problem occurred while initializing the package information.
Please report this bug against the 'update-manager' package and include the following error message:
'E:Malformed line 59 in source list /etc/apt/
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu apt Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Girish Cholayill
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
You need to dress the row 59 of /etc/apt/
To do it from terminal type:
gksudo gedit /etc/apt/
if you are in trouble doing it please copy and paste the entire file content here
Revision history for this message
|
#2 |
Unable to dress row 59,Please advice.Thanks
# deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted
# See http://
# newer versions of the distribution.
deb http://
deb-src http://
## Major bug fix updates produced after the final release of the
## distribution.
deb http://
deb-src http://
## 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://
deb-src http://
deb http://
deb-src http://
## 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://
deb-src http://
deb http://
deb-src http://
## Uncomment the following two lines to add software from the 'backports'
## repository.
## 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://
# deb-src http://
## 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://
# deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
Revision history for this message
|
#3 |
There are errors in lines at the end of your sources.list
open a terminal (ctrl-alt-t) and issue the command
gksudo gedit /etc/apt/
you will be asked for your password (please enter it when asked so) and will then open an editor with your soucres listed loaded.
Youe have to replace the lines that currently read
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
by these lines:
deb http://
deb-src http://
Then save the file and close the editor, and retry with update-manager
Revision history for this message
|
#4 |
Tried your suggestion,still no go.any other ideas,i could try ??? Thanks
Revision history for this message
|
#5 |
What is the result of the following:
open a terminal (ctrl-alt-t) and issue the command
sudo apt-get update
you will be asked for your password (please enter it, and note that you will not get any feedback, no echo, not even '*' placeholders).
When the command has finished please select all output (edit - select all), copy it (edit - copy) and paste it into a new message of this question thread.
Revision history for this message
|
#6 |
E: Malformed line 59 in source list /etc/apt/
E: The list of sources could not be read.
Revision history for this message
|
#7 |
Please open a Terminal window (Ctrl+Alt+T) and run this command:
lsb_release -a; echo; cd /etc/apt; ls -l sources.list.d; echo; cat sources.list
To do that, select the command (if it's split into two lines in your email, select it at https:/
That will, among other things, provide information revealing whether or not there were any problems in your editing of the configuration file.
Then select all the text in the Terminal (Edit > Select All), copy it to the clipboard (Edit > Copy), and paste it here.
Revision history for this message
|
#8 |
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.04
Release: 11.04
Codename: natty
total 36
-rw-r--r-- 1 root root 180 2011-07-28 13:50 google-
-rw-r--r-- 1 root root 180 2011-07-28 13:50 google-
-rw-r--r-- 1 root root 179 2011-07-28 13:50 maverick-
-rw-r--r-- 1 root root 179 2011-07-28 13:50 maverick-
-rw-r--r-- 1 root root 128 2011-07-28 13:50 tiheum-
-rw-r--r-- 1 root root 128 2011-07-28 13:50 tiheum-
-rw-r--r-- 1 root root 102 2011-07-28 13:50 ubuntu-
-rw-r--r-- 1 root root 102 2011-07-03 22:56 ubuntu-
-rw-r--r-- 1 root root 102 2011-07-28 13:50 ubuntu-
Revision history for this message
|
#9 |
The output does not contain all information as requested, please issue the command
cat /etc/apt/
Revision history for this message
|
#10 |
That is very unusual output for the command I gave you, though it is expected output if you left something off the end of the command I gave you. Unfortunately, since you did not provide *all* the text from the Terminal (as I had requested), I cannot know for sure what went wrong. Did you perhaps also neglect to my advice about copying it from https:/
Revision history for this message
|
#11 |
... and copy/paste the output into a new message
Revision history for this message
|
#12 |
# deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted
# See http://
# newer versions of the distribution.
deb http://
deb-src http://
## Major bug fix updates produced after the final release of the
## distribution.
deb http://
deb-src http://
## 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://
deb-src http://
deb http://
deb-src http://
## 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://
deb-src http://
deb http://
deb-src http://
## Uncomment the following two lines to add software from the 'backports'
## repository.
## 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://
# deb-src http://
## 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://
# deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
Revision history for this message
|
#13 |
It looks like you never edited /etc/apt/
Revision history for this message
|
#14 |
Yes I have already tried the same,,but issue still remains,can you provide me with any alternatives i could try ???
Revision history for this message
|
#15 |
Can you follow the instructions as given above, or is there a problem when trying so?
Do you see error messages?
Revision history for this message
|
#16 |
I have tried all the steps as stated above & no it does not give any error messages,i get the error message only when i try to use the update manger or the software sources or try to Open the Synaptic Packet manager,could you tell me what exactly is the problem with my system ???
Revision history for this message
|
#17 |
Ok, then try again:
open a terminal (ctrl-alt-t) and issue the command
gksudo gedit /etc/apt/
you will be asked for your password (please enter it when asked so) and will then open an editor with your soucres listed loaded.
In the editor window scroll down to the end and delete the last lines that read as follows:
deb http://
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
when you have deleted these lines save the file and close the editor window.
Then try the command
sudo apt-get update
again, and copy/paste all output that you receive to a new message in this question document as done before
Revision history for this message
|
#18 |
Ign http://
Ign http://
Ign http://
Get:1 http://
Get:2 http://
Ign http://
Ign http://
Ign http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Ign http://
Ign http://
Get:17 http://
Get:18 http://
Get:19 http://
Ign http://
Get:20 http://
Get:21 http://
Get:22 http://
Get:23 http://
Get:24 http://
Get:25 http://
Get:26 http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Get:27 http://
Get:28 http://
Get:29 http://
Get:30 http://
Get:31 http://
Get:32 http://
Get:33 http://
Get:34 http://
Get:35 http://
Ign http://
Get:36 http://
Ign http://
Ign http://
Ign http://
Ign http://
Get:37 http://
Get:38 http://
Get:39 http://
Get:40 http://
Get:41 http://
Get:42 http://
Get:43 http://
Get:44 http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Fetched 14.1 MB in 1min 35s (148 kB/s)
Reading package lists... Done
Hey it worked,The Update manager & the Synaptic manager are working now !!!
What did we do ???
Revision history for this message
|
#19 |
> What did we do ???
We helped you repair the error in the configuration file containing the addresses of the software package servers. The error most probably was created by an attempt to update the link to the synce private package archive.
As the above commands have removed the linkj to the synce ppa, there is one action that you might still want to do to re-add it:
Open a terminal and issue the following command:
sudo add-apt-repository ppa:synce/ubuntu