'E:Malformed line 5 in source list /etc/apt/sources.list (URI parse), E:The list of sources could not be read.'
Binary package hint: update-manager
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 5 in source list /etc/apt/
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
This question was originally filed as bug #617232.
Related FAQ:
None Link to a FAQ
Revision history for this message
![]() |
#1 |
Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We appreciate the difficulties you are facing, but it would make more sense to raise problems you are having in the support tracker at https:/
Revision history for this message
![]() |
#2 |
Could you please paste the content of the file /etc/apt/
Revision history for this message
![]() |
#3 |
--- On Fri, 8/13/10, Jean-Baptiste Lallement <email address hidden> wrote:
From: Jean-Baptiste Lallement <email address hidden>
Subject: Re: [Question #120944]: 'E:Malformed line 5 in source list /etc/apt/
To: <email address hidden>
Date: Friday, August 13, 2010, 7:06 AM
# deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted
# See ht tp://help.
# newer versions of the distribution.
deb http ://tz.archive.
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
Revision history for this message
![]() |
#4 |
--- On Fri, 8/13/10, Jean-Baptiste Lallement <email address hidden> wrote:
From: Jean-Baptiste Lallement <email address hidden>
Subject: Re: [Question #120944]: 'E:Malformed line 5 in source list /etc/apt/
To: <email address hidden>
Date: Friday, August 13, 2010, 7:06 AM
# deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted
# See ht tp://help.
# newer versions of the distribution.
deb http ://tz.archive.
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
Revision history for this message
![]() |
#5 |
Please open a Terminal from the menu Applications → Accessories → Terminal and type or copy and paste, one row a time then press enter:
gedit /etc/apt/
select all file content copy and paste here...
Note: please always use the browser to manage your question do not reply to Launchpad mail messages.
Revision history for this message
![]() |
#6 |
The following lines are wrong:
deb http ://tz.archive.
deb-src http://
and should be
deb http://
deb-src http://
Revision history for this message
![]() |
#7 |
So to dress that line...
please open a Terminal from the menu Applications → Accessories → Terminal and type or copy and paste, the row below and press enter:
gksudo gedit /etc/apt/
the content of the /etc/apt/
Note: please always use the browser to manage your question do not reply to Launchpad mail messages.
Revision history for this message
![]() |
#8 |
You cannot add spaces because the fancy takes you. Run:
gksudo gedit /etc/apt/
and change:
deb http ://tz.archive.
deb-src http://
to:
deb http://
deb-src http://
Save the file and run:
sudo apt-get update
Revision history for this message
![]() |
#9 |
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 5 in source list /etc/apt/
stoiloff@
E: Malformed line 5 in source list /etc/apt/
E: The list of sources could not be read.
stoiloff@
please help me :( - <email address hidden>
Revision history for this message
![]() |
#10 |
source list
deb cdrom:[Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1)]/ natty 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://
deb http://
deb-src http://
deb http://
deb-src http://
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://
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://
deb-src http://
deb http://
deb http://
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
Revision history for this message
![]() |
#11 |
Can you give the output of:
head -n 5 /etc/apt/
Thanks
Revision history for this message
![]() |
#12 |
i started terminal
paste head -n 5 /etc/apt/
- result down
stoiloff@
# newer versions of the distribution.
stoiloff@
best regards
Revision history for this message
![]() |
#13 |
Well that's a comment, if you run:
sudo apt-get update
Does it still moan about line 5?
Revision history for this message
![]() |
#14 |
stoiloff@
[sudo] password for stoiloff:
E: Malformed line 6 in source list /etc/apt/
E: The list of sources could not be read.
stoiloff@
Revision history for this message
![]() |
#15 |
stoiloff@
[sudo] password for stoiloff:
E: Malformed line 6 in source list /etc/apt/
E: The list of sources could not be read.
stoiloff@
Revision history for this message
![]() |
#16 |
ok what is the output of:
head -n 6 /etc/apt/
Thanks
Revision history for this message
![]() |
#17 |
update manager report:
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 6 in source list /etc/apt/
Can it be reinstalled update manager or synaptic package manager
Ubuntu software center stop working :(
pls help
Revision history for this message
![]() |
#18 |
Can you give the output of the command I gave please...
Revision history for this message
![]() |
#19 |
Revision history for this message
![]() |
#20 |
ok then run;
gksudo gedit /etc/apt/
Find:
deb http://
Change it to:
deb http://
Save the new file, close gedit and run:
sudo apt-get update
Is it smooth?
Revision history for this message
![]() |
#21 |
stoiloff@
(gedit:7001): Gtk-WARNING **: Attempting to set the permissions of `/root/
(gedit:7001): Gtk-WARNING **: Attempting to store changes into `/root/
(gedit:7001): Gtk-WARNING **: Attempting to set the permissions of `/root/
(gedit:7001): Gtk-WARNING **: Attempting to store changes into `/root/
(gedit:7001): Gtk-WARNING **: Attempting to set the permissions of `/root/
stoiloff@
E: Malformed line 7 in source list /etc/apt/
E: The list of sources could not be read.
stoiloff@
Revision history for this message
![]() |
#22 |
head -n 7 /etc/apt/
What is output?
Thanks
Can you help with this problem?
Provide an answer of your own, or ask erickmchaki for more information if necessary.