SystemError: E:Malformed line 1 in source list /etc/apt/sources.list.d/apticons.list (dist parse)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Tweak |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Update manager does not get repository list
Distribution: Ubuntu 11.04 natty
Application: Ubuntu Tweak 0.5.13
Desktop: gnome
Traceback (most recent call last):
File "/usr/lib/
line 502, in setup_notebook page = module()
File "/usr/lib/
line 44, in __init__ self.update_list()
File "/usr/lib/
line 59, in update_list PACKAGE_
File "/usr/lib/
line 226, in update_apt_cache self.cache = apt.Cache()
File "/usr/lib/
line 89, in __init__ self.open(progress)
File "/usr/lib/
line 131, in open self._list.
SystemError:
E:Malformed line 1 in source list /etc/apt/
description: | updated |
Changed in ubuntu-tweak: | |
status: | New → Incomplete |
summary: |
- Distribution: Ubuntu 11.04 natty Application: Ubuntu Tweak 0.5.13 - Desktop: gnome 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 1 in source - list /etc/apt/sources.list.d/apticons.list (dist parse) + SystemError: E:Malformed line 1 in source list + /etc/apt/sources.list.d/apticons.list (dist parse) |
Hello, Please edit your sources.list to make it correctly.
If you don't know how to edit, please do by following step:
1. Open your terminal
2. run this command:
sudo gedit /etc/apt/ sources. list
3. Check the line 1 and correct it.