E:Malformed line 61 in source list /etc/apt/sources.list (dist parse)

Bug #879221 reported by amit ate

This bug report was converted into a question: question #185541: E:Malformed line 61 in source list /etc/apt/sources.list (dist parse).

12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Tweak
Invalid
Undecided
Unassigned

Bug Description

update manager does not work

Distribution: Ubuntu 11.04 natty
Application: Ubuntu Tweak 0.5.14
Desktop: Traceback (most recent call last):
   File "/usr/lib/python2.7/dist-packages/ubuntutweak/mainwindow.py", line 502, in setup_notebook
     page = module()
   File "/usr/lib/python2.7/dist-packages/ubuntutweak/modules/updatemanager.py", line 44, in __init__
     self.update_list()
   File "/usr/lib/python2.7/dist-packages/ubuntutweak/modules/updatemanager.py", line 59, in update_list
     PACKAGE_WORKER.update_apt_cache(init=True)
   File "/usr/lib/python2.7/dist-packages/ubuntutweak/common/package.py", line 226, in update_apt_cache
     self.cache = apt.Cache()
   File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 89, in __init__
     self.open(progress)
   File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 131, in open
     self._list.read_main_list()
 SystemError: E:Malformed line 61 in source list /etc/apt/sources.list (dist parse)

Revision history for this message
amit ate (amitate007) wrote :

how to remove this bug

Revision history for this message
Ding Zhou (tualatrix) wrote :

You can't remove this bug, if this can't be reproduced, just set the "status" to invalid.

Revision history for this message
J. Austin Rodriguez (jeanaustinr) wrote :

Hi amit ate, could you provide the contents of your sources.list. Kindly post them here line by line. To do that, just do 'sudo gedit /etc/apt/sources.list' on a Terminal.

Thanks

description: updated
Changed in ubuntu-tweak:
status: New → Incomplete
summary: - Distribution: Ubuntu 11.04 natty Application: Ubuntu Tweak 0.5.14
- Desktop: Traceback (most recent call last): File
- "/usr/lib/python2.7/dist-packages/ubuntutweak/mainwindow.py", line 502,
- in setup_notebook page = module() File "/usr/lib/python2.7/dist-
- packages/ubuntutweak/modules/updatemanager.py", line 44, in __init__
- self.update_list() File "/usr/lib/python2.7/dist-
- packages/ubuntutweak/modules/updatemanager.py", line 59, in update_list
- PACKAGE_WORKER.update_apt_cache(init=True) File
- "/usr/lib/python2.7/dist-packages/ubuntutweak/common/package.py", line
- 226, in update_apt_cache self.cache = apt.Cache() File
- "/usr/lib/python2.7/dist-packages/apt/cache.py", line 89, in __init__
- self.open(progress) File "/usr/lib/python2.7/dist-
- packages/apt/cache.py", line 131, in open
- self._list.read_main_list() SystemError: E:Malformed line 61 in source
- list /etc/apt/sources.list (dist parse)
+ E:Malformed line 61 in source list /etc/apt/sources.list (dist parse)
Revision history for this message
J. Austin Rodriguez (jeanaustinr) wrote :

The problem could not be reproduced. The reporter, amit ate, was requested to provide the information of his sources.list in order to correct the problem. We believe this is not a bug but an issue that needs only technical support therefore we are converting this to a question.

Distribution: Ubuntu 11.04 natty
Application: Ubuntu Tweak 0.5.14
Desktop: Traceback (most recent call last):
   File "/usr/lib/python2.7/dist-packages/ubuntutweak/mainwindow.py", line 502, in setup_notebook
     page = module()
   File "/usr/lib/python2.7/dist-packages/ubuntutweak/modules/updatemanager.py", line 44, in __init__
     self.update_list()
   File "/usr/lib/python2.7/dist-packages/ubuntutweak/modules/updatemanager.py", line 59, in update_list
     PACKAGE_WORKER.update_apt_cache(init=True)
   File "/usr/lib/python2.7/dist-packages/ubuntutweak/common/package.py", line 226, in update_apt_cache
     self.cache = apt.Cache()
   File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 89, in __init__
     self.open(progress)
   File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 131, in open
     self._list.read_main_list()
 SystemError: E:Malformed line 61 in source list /etc/apt/sources.list (dist parse)

Changed in ubuntu-tweak:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.