SystemError: E:Malformed line 56 in source list /etc/apt/sources.list (absolute dist)

Bug #753253 reported by vishnu
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Tweak
Incomplete
Undecided
Unassigned

Bug Description

Distribution: Ubuntu 10.10 maverick
Application: Ubuntu Tweak 0.5.10
Desktop: gnome

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/ubuntutweak/mainwindow.py", line 502, in setup_notebook
    page = module()
  File "/usr/lib/python2.6/dist-packages/ubuntutweak/modules/updatemanager.py", line 44, in __init__
    self.update_list()
  File "/usr/lib/python2.6/dist-packages/ubuntutweak/modules/updatemanager.py", line 59, in update_list
    PACKAGE_WORKER.update_apt_cache(init=True)
  File "/usr/lib/python2.6/dist-packages/ubuntutweak/common/package.py", line 216, in update_apt_cache
    self.cache = apt.Cache()
  File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 88, in __init__
    self.open(progress)
  File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 130, in open
    self._list.read_main_list()
SystemError: E:Malformed line 56 in source list /etc/apt/sources.list (absolute dist)

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

Hi vishnu, thank you for reporting this bug. Could you check the line #56 in your sources.list by opening the file in Gedit through Terminal: 'gedit /etc/apt/sources.list'

Check line 56 and post the last lines here. Thank you.

Changed in ubuntu-tweak:
status: New → Incomplete
Revision history for this message
vishnu (vishnuprasath-g) wrote :
Revision history for this message
J. Austin Rodriguez (jeanaustinr) wrote :

It appears that the repositories your computer is accessing cannot be found. Please change it through Software Sources and change the server from where you download updates. That should correct your problem.

Please do update us once you have done this. Thank you!

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.